Skip to main content

Message validation de commande suite à CGV non cochée

More
6 years 1 month ago #323602 by NosyWeb
-- url of the page with the problem -- : nwd2.cloudaccess.host/boutique-jardins-comtois
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.20

Bonjour,

Lors de la validation de la commande, si on oublie de cocher la case CGV, nous constatons le message suivant :
Notice: Undefined offset: 1 in cloudaccess.net/httpdocs/administrator/components/com_hikashop/helpers/checkout.php on line 596

Merci d'avance.

Salutations.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #323611 by nicolas
Bonjour,

Merci du retour.
rajoutez le code:
Code:
if(!isset($msg[1])) hikashop_display($msg[0]); else
avant la ligne:
Code:
hikashop_display($msg[0], $msg[1]);
d'où provient la notice et cela évitera d'afficher cette notice.
Nous allons rajouter la modification de notre coté.
The following user(s) said Thank You: NosyWeb

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #323628 by NosyWeb
Bonsoir,

Merci, on ajoute ce code dans quel fichier, à quel endroit du fichier?
Salutations.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #323630 by nicolas
Comme expliqué, dans le fichier d'où provient le message d'erreur, c'est à dire : cloudaccess.net/httpdocs/administrator/components/com_hikashop/helpers/checkout.php
Et l'endroit, c'est juste avant la ligne
Code:
hikashop_display($msg[0], $msg[1]);
The following user(s) said Thank You: NosyWeb

Please Log in or Create an account to join the conversation.

More
6 years 4 weeks ago #323667 by NosyWeb
C'est noté, merci

Please Log in or Create an account to join the conversation.

Time to create page: 0.198 seconds
Powered by Kunena Forum