- Posts: 13
- Thank you received: 0
Article dans panier = Warning
13 years 10 months ago #77542
by DEVident
Article dans panier = Warning was created by DEVident
Bonsoir, j'ai des warnings qui apparaissent lorsque je mets un article dans le panier, voici le message:
Warning: Creating default object from empty value in XXX/plugins/system/custom_quantity_tax/custom_quantity_tax.php on line 67
Merci d'avance pour votre aide.
Warning: Creating default object from empty value in XXX/plugins/system/custom_quantity_tax/custom_quantity_tax.php on line 67
Merci d'avance pour votre aide.
Please Log in or Create an account to join the conversation.
13 years 10 months ago #77606
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Article dans panier = Warning
Bonsoir,
Merci d'éditer le fichier XXX/plugins/system/custom_quantity_tax/custom_quantity_tax.php de de remplacer la ligne 67 :
Par :
Cette modification sera incluse dans la prochaine version d'HikaShop.
Merci d'avoir signalé ce problème.
Cordialement,
Merci d'éditer le fichier XXX/plugins/system/custom_quantity_tax/custom_quantity_tax.php de de remplacer la ligne 67 :
Code:
$price->unit_price->price_currency_id = $price->price_currency_id;
Code:
if(empty($price->unit_price))
$price->unit_price = new stdClass();
$price->unit_price->price_currency_id = $price->price_currency_id;
Cette modification sera incluse dans la prochaine version d'HikaShop.
Merci d'avoir signalé ce problème.
Cordialement,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: DEVident
Please Log in or Create an account to join the conversation.
13 years 10 months ago #77654
by DEVident
Replied by DEVident on topic Article dans panier = Warning
Bonjour, ça fonctionne beaucoup mieux maintenant.
Merci beaucoup Jérôme.
Merci beaucoup Jérôme.
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78229
by DEVident
Replied by DEVident on topic Article dans panier = Warning
Bonsoir, j'ai encore un warning dans le module panier, voici la ligne:
Warning: Creating default object from empty value in XXX/administrator/components/com_hikashop/classes/cart.php on line 213
Warning: Creating default object from empty value in XXX/administrator/components/com_hikashop/classes/cart.php on line 213
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78236
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Article dans panier = Warning
Hi,
Thanks again for the report.
Please add
Just before the line 213
This modification would be include in the next mini-release (the next time we would update the HikaShop package).
Regards,
Thanks again for the report.
Please add
Code:
if(empty($this->cart))
$this->cart = new stdClass();
Code:
$this->cart->cart_id=(int)$this->save($cart);
This modification would be include in the next mini-release (the next time we would update the HikaShop package).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: DEVident
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78237
by DEVident
Replied by DEVident on topic Article dans panier = Warning
Hi, thanks for the fix, it work perfectly.
Please Log in or Create an account to join the conversation.
Time to create page: 0.179 seconds