Hi all,
I'm using OC v 4.0.2.3
I found some issues with Gift certificates:
1. It's not possible to remove it from shopping cart. Receiving message '' Voucher could not be found!'' or ''error_voucher''
2. I made a backup of the files and DB, removed all and after few days returned back.
Now I can't terminate the purchase . I'm receiving message in error log:'' PHP Warning: Trying to access array offset on value of type null in /home/xxxxxxx/public_html/catalog/controller/mail/order.php on line 151
3. Moreover, It's not some bug, but from the other point of view:
There's no possibilities to check credit (rest) balance so the receiver can monitor it to plan future purchase. Big miss !!!
Thank you.
Nino
1. I reported this bug and it will be fixed in the next OpenCart release. You can find my fixes here:
https://github.com/opencart/opencart/issues/13090
2. This has also been reported and fixed. I can't find the Github link but here's the fix:
------------------------------------------------------------------------------
IN:
/catalog/controller/mail/order.php
REPLACE:
$data['shipping_method'] = $order_info['shipping_method']['name'];
WITH:
$data['shipping_method'] = (!empty($order_info['shipping_method']['name'])) ? $order_info['shipping_method']['name'] : '';
------------------------------------------------------------------------------
3. I agree this should be added. There may be an extension in the opencart.com marketplace (https://www.opencart.com/index.php?rout ... /extension) that fixes this, otherwise you can report it on Github:
https://github.com/opencart/opencart/issues
https://github.com/opencart/opencart/issues/13090
2. This has also been reported and fixed. I can't find the Github link but here's the fix:
------------------------------------------------------------------------------
IN:
/catalog/controller/mail/order.php
REPLACE:
$data['shipping_method'] = $order_info['shipping_method']['name'];
WITH:
$data['shipping_method'] = (!empty($order_info['shipping_method']['name'])) ? $order_info['shipping_method']['name'] : '';
------------------------------------------------------------------------------
3. I agree this should be added. There may be an extension in the opencart.com marketplace (https://www.opencart.com/index.php?rout ... /extension) that fixes this, otherwise you can report it on Github:
https://github.com/opencart/opencart/issues
Who is online
Users browsing this forum: No registered users and 2 guests