[Skip to main content](#vessel-content)

#   Message validation de commande suite à CGV non cochée

##

- **[NosyWeb](/forum/user/88-nosyweb "View NosyWeb's Profile")**
- [![NosyWeb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar88.png)](/forum/user/88-nosyweb "View NosyWeb's Profile") Topic Author
- [ Offline](/forum/user/88-nosyweb)

Less More

- Posts: 211
- Thank you received: 9
-
-

6 years 2 months ago [\#323602](#323602) by [NosyWeb](/forum/user/88-nosyweb "View NosyWeb's Profile")  *[Message validation de commande suite à CGV non cochée](/forum/5-support-en-francais-french-support-/900731-message-validation-de-commande-suite-a-cgv-non-cochee#323602 "-- 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&#95;hikashop/helpers/checkout.php on line 596  Merci d'avance.  Salutations.")* was created by *[NosyWeb](/forum/user/88-nosyweb "View NosyWeb's Profile")*

-- url of the page with the problem -- : [ nwd2.cloudaccess.host/boutique-jardins-comtois](https://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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTAwNzMxLW1lc3NhZ2UtdmFsaWRhdGlvbi1kZS1jb21tYW5kZS1zdWl0ZS1hLWNndi1ub24tY29jaGVlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

6 years 2 months ago [\#323611](#323611) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Message validation de commande suite à CGV non cochée](/forum/5-support-en-francais-french-support-/900731-message-validation-de-commande-suite-a-cgv-non-cochee#323611 "-- 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&#95;hikashop/helpers/checkout.php on line 596  Merci d'avance.  Salutations.")*

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](/forum/user/88-nosyweb "View NosyWeb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTAwNzMxLW1lc3NhZ2UtdmFsaWRhdGlvbi1kZS1jb21tYW5kZS1zdWl0ZS1hLWNndi1ub24tY29jaGVlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[NosyWeb](/forum/user/88-nosyweb "View NosyWeb's Profile")**
- [![NosyWeb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar88.png)](/forum/user/88-nosyweb "View NosyWeb's Profile") Topic Author
- [ Offline](/forum/user/88-nosyweb)

Less More

- Posts: 211
- Thank you received: 9
-
-

6 years 2 months ago [\#323628](#323628) by [NosyWeb](/forum/user/88-nosyweb "View NosyWeb's Profile")  Replied by *[NosyWeb](/forum/user/88-nosyweb "View NosyWeb's Profile")* on topic *[Message validation de commande suite à CGV non cochée](/forum/5-support-en-francais-french-support-/900731-message-validation-de-commande-suite-a-cgv-non-cochee#323628 "-- 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&#95;hikashop/helpers/checkout.php on line 596  Merci d'avance.  Salutations.")*

Bonsoir,

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTAwNzMxLW1lc3NhZ2UtdmFsaWRhdGlvbi1kZS1jb21tYW5kZS1zdWl0ZS1hLWNndi1ub24tY29jaGVlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

6 years 2 months ago [\#323630](#323630) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Message validation de commande suite à CGV non cochée](/forum/5-support-en-francais-french-support-/900731-message-validation-de-commande-suite-a-cgv-non-cochee#323630 "-- 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&#95;hikashop/helpers/checkout.php on line 596  Merci d'avance.  Salutations.")*

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](/forum/user/88-nosyweb "View NosyWeb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTAwNzMxLW1lc3NhZ2UtdmFsaWRhdGlvbi1kZS1jb21tYW5kZS1zdWl0ZS1hLWNndi1ub24tY29jaGVlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[NosyWeb](/forum/user/88-nosyweb "View NosyWeb's Profile")**
- [![NosyWeb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar88.png)](/forum/user/88-nosyweb "View NosyWeb's Profile") Topic Author
- [ Offline](/forum/user/88-nosyweb)

Less More

- Posts: 211
- Thank you received: 9
-
-

6 years 2 months ago [\#323667](#323667) by [NosyWeb](/forum/user/88-nosyweb "View NosyWeb's Profile")  Replied by *[NosyWeb](/forum/user/88-nosyweb "View NosyWeb's Profile")* on topic *[Message validation de commande suite à CGV non cochée](/forum/5-support-en-francais-french-support-/900731-message-validation-de-commande-suite-a-cgv-non-cochee#323667 "-- 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&#95;hikashop/helpers/checkout.php on line 596  Merci d'avance.  Salutations.")*

C'est noté, merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTAwNzMxLW1lc3NhZ2UtdmFsaWRhdGlvbi1kZS1jb21tYW5kZS1zdWl0ZS1hLWNndi1ub24tY29jaGVlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.051 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
