- Posts: 69
- Thank you received: 5
Reducing price to 0 not works
- politikchronist
-
Topic Author
- Offline
Less
More
4 years 4 months ago - 4 years 4 months ago #342183
by politikchronist
Reducing price to 0 not works was created by politikchronist
-- url of the page with the problem -- :
www.politikchronist.org
-- HikaShop version -- : 4.6.0
-- Joomla version -- : 3.10.9
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$order in /var/www/html/joomla/media/com_hikashop/mail/payment_notification.preload.php on line 230
Notice: Trying to get property 'order_status' of non-object in /var/www/html/joomla/media/com_hikashop/mail/payment_notification.preload.php on line 230
Due to the ongoing Ukraine Crisis we wanted to reduce the price for our Ukraine books in digital form to 0 Euro. But after the order which seemed OK, the following error message appears:
Notice: Undefined property: stdClass::$order in /var/www/html/joomla/media/com_hikashop/mail/payment_notification.preload.php on line 230
Notice: Trying to get property 'order_status' of non-object in /var/www/html/joomla/media/com_hikashop/mail/payment_notification.preload.php on line 230
Thanks for any information.
UPDATE
For the client it seems that the download link appears in the e-mail and that he can download the book without problems. It is just the error message to the admin I think.
-- HikaShop version -- : 4.6.0
-- Joomla version -- : 3.10.9
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$order in /var/www/html/joomla/media/com_hikashop/mail/payment_notification.preload.php on line 230
Notice: Trying to get property 'order_status' of non-object in /var/www/html/joomla/media/com_hikashop/mail/payment_notification.preload.php on line 230
Due to the ongoing Ukraine Crisis we wanted to reduce the price for our Ukraine books in digital form to 0 Euro. But after the order which seemed OK, the following error message appears:
Notice: Undefined property: stdClass::$order in /var/www/html/joomla/media/com_hikashop/mail/payment_notification.preload.php on line 230
Notice: Trying to get property 'order_status' of non-object in /var/www/html/joomla/media/com_hikashop/mail/payment_notification.preload.php on line 230
Thanks for any information.
UPDATE
For the client it seems that the download link appears in the e-mail and that he can download the book without problems. It is just the error message to the admin I think.
Last edit: 4 years 4 months ago by politikchronist.
Please Log in or Create an account to join the conversation.
4 years 4 months ago #342186
by nicolas
Replied by nicolas on topic Reducing price to 0 not works
Hi,
There is a wrong copy/paste there. Instead of:
the line should be:
We'll add that fix on our end too. Thanks !
There is a wrong copy/paste there. Instead of:
Code:
if(!empty($item->files) && in_array($data->order->order_status,$statusDownload)){
Code:
if(!empty($item->files) && in_array($data->cart->order_status,$statusDownload)){
The following user(s) said Thank You: politikchronist
Please Log in or Create an account to join the conversation.
- politikchronist
-
Topic Author
- Offline
Less
More
- Posts: 69
- Thank you received: 5
4 years 4 months ago #342201
by politikchronist
Replied by politikchronist on topic Reducing price to 0 not works
So I mean, I just can wait for the next update, no need for immediate correction from my side because it's nothing serious? I have limited Internet in the moment because of my traveling to Africa, therefore I try to avoid unnecessary internet connection
Please Log in or Create an account to join the conversation.
4 years 4 months ago #342206
by nicolas
Replied by nicolas on topic Reducing price to 0 not works
Hi,
Yes, no worries. That's just for the payment notification and it's just a wrong copy/paste. You can ignore it for now.
Yes, no worries. That's just for the payment notification and it's just a wrong copy/paste. You can ignore it for now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.184 seconds