Show Posts


Messages - abolabo

Pages: [1] 2 3 ... 119
1
Built-in Features / Re: order total
« on: November 21, 2019, 05:47:16 AM »
teorethically it's possible. You should to create your own "order total" extension, that will have storefront model (you can look into public_html/storefront/model/total/handling.php for example  ).
This model must have method getTotal(). It returns an array that looks like as
Code: [Select]
$total_data[] = array(
                    'id'         => 'handling',
                    'title'      => $language->get('text_handling'),
                    'text'       => $this->currency->format($conf_hndl_fee),
                    'value'      => $conf_hndl_fee,
                    'sort_order' => $this->config->get('handling_sort_order'),
                    'total_type' => $this->config->get('handling_fee_total_type'),
                );
So in your model you can set 'value' key as 0, but 'text' can be any text as you want.
Zero value  does not affect on subtotal and total amount of order.
You can try to change some existing model such as handling.php to check this approach.
If it work - create your own extention with your own custom total model

2
Quote
Out of disk space Error 28 from Operating System.
This is happening on the Database Server because it is out of disk space or because your hosting provider has set a database size limit that your database cannot grow beyond for fair sharing of resources (shared hosting)
Check with your hosting provider to have them sort the issue out.
Alternatively it can happen when the system /tmp folder is full (separate mount point, disk full). Again a hosting provider issue unless you're running a VPS.

3
Built-in Features / Re: invoice link has backslash before url
« on: September 04, 2019, 03:32:55 AM »
Hi,
no, the problem was somewhere else.

With PDO enabled there is a problem with character %,  it was fixed with using amysqli connection.

But language xml is still loaded with \%  instead %, so this was parsed: 

Quote
You can view your order details by going to the <a href="\%s">invoice page</a>

can you open phpMyAdmin and check collation of table language_definitions and it's columns?
It must be utf8_general_ci

Refresh didn't help. I had it manually change in language definitions (English).

4
Support / Re: Stuck after admin login page
« on: August 20, 2019, 07:50:23 AM »
looks like you have disabled output buffering in php.
Just check it via cpanel and phpinfo() (system->settings->system->button on the heading)

5
Please check if mysqli php-extension is enabled. You can find it inside Cpanel. See php-modules.

6
How-to questions / Re: add new required form field
« on: August 08, 2019, 03:40:23 AM »
try to use $_session name in uppercase.
$_SESSION or use our wrapper $this->session->data[]

7
General Support / Re: upgraded php version from native 5.6 to 7.3
« on: August 01, 2019, 11:19:37 AM »
try to uncheck mysqlnd and check nd_mysqli

8
General Support / Re: upgraded php version from native 5.6 to 7.3
« on: August 01, 2019, 08:23:04 AM »
hi.
You should to sign in into CPanel and find section with php-extensions there.
Just enable mysql extension for host or ask hosting provider techsupport.

9
Development Help Needed / Re: send post data to new view
« on: July 26, 2019, 09:20:00 AM »
Hi.
You should to use hooks of controller account/create.

//before controller run (init) you can check is request POST and do something.
see https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/account/create.php#L33

Also you can do something after account creation  https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/account/create.php#L75
with updateData hook

10
Development Help Needed / Re: adding new input
« on: July 16, 2019, 11:03:24 AM »
did you tried to load language block?
i mean $this->load->language('checkout/guest_step_1);

11
Extension Support / Re: Fatal error: Class 'AController' not found
« on: June 10, 2019, 03:22:56 AM »
Hi. You doing something wrong.
Check file public_html/core/init.php
You should find     require_once(DIR_CORE.'engine/controller.php'); there.

check if this file loaded

12
Development Help Needed / Re: sending payment status
« on: May 21, 2019, 04:51:30 AM »
Hi.
You should to change order status if order fail or succeded and redirect to rt=checkout/success.
See file public_html/extensions/default_pp_standart/storefront/controller/responses/extension/default_pp_standart.php as example

13
Customization help / Re: HTML in the Blurb?
« on: May 21, 2019, 04:48:41 AM »
all blurb stored in database as html-entities to prevent injections.
You should to change your tpl (product/product.tpl) and decode entities.
Just find variable $product_info['blurb'] and replace with html_entity_decode($product_info['blurb'], ENT_QUOTES, 'UTF-8');

14
AbanteCart v2.0 / Re: Price with tax
« on: May 20, 2019, 02:54:02 AM »
why do you don't want to enable setting "Display price with tax" ?
What if VAT rate will change? You will change all prices of your shop?)

15
Support / Re: Redirecting? URL Issue?
« on: April 22, 2019, 03:44:27 AM »
Your site under SSL (https) but items urls in plain http protocol.
I see redirects in browser devtools. Probably related to this.. not sure

Pages: [1] 2 3 ... 119

Powered by SMFPacks Social Login Mod