- Posts: 36
- Thank you received: 2
when coupon added to cart, and go back to product page, getting erroer
9 years 3 months ago - 9 years 3 months ago #275620
by edzz83
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.4
-- PHP version -- : 7.0 latest
-- Browser(s) name and version -- : na
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$discount_flat_amount in /home/public_html/testsite/administrator/components/com_hikashop/classes/shipping.php on line 589
Notice: Undefined property: stdClass::$discount_percent_amount in /home/public_html/testsite/administrator/components/com_hikashop/classes/shipping.php on line 594
add coupon BUY2ANDSAVE to cart,
goto product page.
you will see the cart option has error:
Notice: Undefined property: stdClass::$discount_flat_amount in /home/public_html/testsite/administrator/components/com_hikashop/classes/shipping.php on line 589
Notice: Undefined property: stdClass::$discount_percent_amount in /home/public_html/testsite/administrator/components/com_hikashop/classes/shipping.php on line 594
-- Joomla version -- : 3.7.4
-- PHP version -- : 7.0 latest
-- Browser(s) name and version -- : na
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$discount_flat_amount in /home/public_html/testsite/administrator/components/com_hikashop/classes/shipping.php on line 589
Notice: Undefined property: stdClass::$discount_percent_amount in /home/public_html/testsite/administrator/components/com_hikashop/classes/shipping.php on line 594
add coupon BUY2ANDSAVE to cart,
goto product page.
you will see the cart option has error:
Notice: Undefined property: stdClass::$discount_flat_amount in /home/public_html/testsite/administrator/components/com_hikashop/classes/shipping.php on line 589
Notice: Undefined property: stdClass::$discount_percent_amount in /home/public_html/testsite/administrator/components/com_hikashop/classes/shipping.php on line 594
Last edit: 9 years 3 months ago by edzz83.
Please Log in or Create an account to join the conversation.
9 years 3 months ago #275621
by edzz83
Replied by edzz83 on topic when coupon added to cart, and go back to product page, getting erroer
also, we dont even charge for shipping at all. its free. so i dont know why this is happening. also where the error is popping up (in the cart module) we have price and such all turned off in this module.
Please Log in or Create an account to join the conversation.
9 years 3 months ago #275629
by nicolas
Replied by nicolas on topic when coupon added to cart, and go back to product page, getting erroer
Hi,
Thank you for your feedback. I'm not able to reproduce nor to understand why it would do that.
However, these are just notices so not real errors.
You can easily deactivate them by turning off the "error reporting" setting of the Joomla configuration.
On our end, we'll modify a bit the code there for the next version in order to avoid the notices from showing up.
Thank you for your feedback. I'm not able to reproduce nor to understand why it would do that.
However, these are just notices so not real errors.
You can easily deactivate them by turning off the "error reporting" setting of the Joomla configuration.
On our end, we'll modify a bit the code there for the next version in order to avoid the notices from showing up.
Please Log in or Create an account to join the conversation.
Time to create page: 0.045 seconds