Show Posts

Messages - kavlito

Pages: [1] 2
I've tried this on my custom template, and it doesn't work. Any other suggestions?


Support / Re: Memory Limitation error
« on: May 27, 2020, 06:05:25 AM »
My server shows the PHP memory limit set to 128MB.

Abantecart PHP info shows 32MB?

I am in the process of converting from Zencart, so I am using the latest 1.2.16.

Apache Litespeed

I've been seeing this App Error message, but everything seems to be working OK. Is this something I as an end user need to troubleshoot, or is this a programming issue?

I am converting from Zencart and have migrated all of my data and testing to go live soon. So far everything is testing OK.


Support / Memory Limitation error
« on: May 26, 2020, 05:09:19 PM »
I've had this Memory Limitation error ever since I installed v1.2.15 last month. My PHP memory limit is set at 128MB.

I upgraded to v1.2.16 today and the message re-appeared. However, everything is running smoothly.

Do I need to do anything about this?


Support / 'SEO URLs does not work' error after upgrading to v1.2.16
« on: May 26, 2020, 05:06:01 PM »
I received the 'SEO URLs does not work' error message after upgrading to v1.2.16 today (from v1.2.15). However, it seems that it is still working OK as all of my pages have the appropriate friendly URL's.

My cart is currently in development with a go live this coming weekend. Would like to know if I need to worry about this.


How-to questions / Randomize Featured Products Listing
« on: May 13, 2020, 09:50:51 AM »
I use the Featured Products listing on my homepage. However, the display order is static and I prefer it to be random.

This can be easily accomplished by adding one line to this file: /storefront/view/*mytemplate*/template/blocks/product_list.tpl

Insert: shuffle($products);
between: $icount = 0;
and: foreach ($products as $product) {

See attachment.


(one caveat: this does not work with HTML Cache enabled - Update 5/26/20 - this statement is moot as of v1.2.16 as HTML Cache has been deprecated)

Extensions and Add-Ons / Re: Extension for customised products
« on: May 12, 2020, 09:05:45 AM »
There is a product from a company named Lumise.

They have a PHP version that I will be contacting them about integrating. Maybe they can create into an Extension???!!

A friend of mine uses the WordPress version for his custom t-shirt site and it is pretty impressive. Although, I have yet to see the PHP version.


Extensions and Add-Ons / Extra Tabs Extension Location Modification
« on: May 11, 2020, 09:00:05 PM »
Product descriptions on my site were lengthy due to redundant details for each product. So I purchased the Extra Tabs Extension and problem solved!

The only issue I had was that the extra tabs I created were placed at the end of all the baked in tabs such as Description, Reviews, Tags, etc. I needed my extra tabs to be right next to the Description tab.

To solve this, I made one simple change to /storefront/view/*mytemplate*/template/pages/product/product.tpl.

I moved <?php echo $this->getHookVar('product_features_tab'); ?> up between $tab_description and $review_status - see attachments.

Works perfectly!

Customization help / Re: Convert Invoice to Packing Slip
« on: May 11, 2020, 03:57:37 PM »
Thank you.

I found the file: admin/controller/responses/sale/invoice.php

I made the following changes between lines 141 & 151: commenting out 'price', 'total' & $total_data lines
And with your language change, I now have a Packing Slip with no prices!

Code: [Select]
                    $product_data[] = array(
                        'name'     => $product['name'],
                        'model'    => $product['model'],
                        'option'   => $option_data,
                        'quantity' => $product['quantity'],
                        //'price'    => $this->currency->format($product['price'], $order_info['currency'], $order_info['value']),
                        //'total'    => $this->currency->format_total($product['price'], $product['quantity'], $order_info['currency'], $order_info['value']),

                //$total_data = $this->model_sale_order->getOrderTotals($order_id);

Support / Re: Updated PHP to 7.4 - critical error
« on: May 11, 2020, 03:33:29 PM »
Resolved by my web host:

I found that your application was not loading because it was trying to use a functionality of a module not loaded by default in the PHP 7.4 stack:

[11-May-2020 10:59:03 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /public_html/core/init.php:21

I loaded the module but the application still rendered the same error page but it no longer produced any error logs.

I changed the PHP version to PHP 7.3 and the website started loading. It seems there is a part of your application incompatible with PHP 7.4. It is probably an extension, plugin, or a custom theme you might be using.

At this point I don't recommend changing the PHP version to 7.4, you should keep it at 7.3.

Support / Updated PHP to 7.4 - critical error
« on: May 11, 2020, 12:05:42 PM »

I updated my PHP version to 7.4 and received the attached critical error and no longer have access to my site. What should I do?

Thank you.

I am new to Abantecart, and am a little troubled by what I discovered.

Every Extension that I have installed so far, paid or free, has set all of the folders AND files permissions to 777.

That is very frightening from a security standpoint as the .php & .tpl files are openly writable, is it not?

Customization help / Re: Convert Invoice to Packing Slip
« on: May 09, 2020, 08:36:05 AM »

Thank you.

We don't use invoices, so I just want to modify the Invoice to a Packing Slip (no prices).

Can someone point me to the files involved?

Thanks again.

Pages: [1] 2

Powered by SMFPacks Social Login Mod