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

#   Bouton "Terminer ma commande" du panier - Style

##

- **[greniers](/forum/user/1695-greniers "View greniers's Profile")**
- [![greniers's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/ball.gif)](/forum/user/1695-greniers "View greniers's Profile") Topic Author
- [ Offline](/forum/user/1695-greniers)

Less More

- Posts: 230
- Thank you received: 6
-
-

15 years 7 months ago -  15 years 7 months ago [\#14865](#14865) by [greniers](/forum/user/1695-greniers "View greniers's Profile")  *[Bouton "Terminer ma commande" du panier - Style](/forum/5-support-en-francais-french-support-/14865-bouton-terminer-ma-commande-du-panier-style#14865 "Dans le module qui affiche le panier, le bouton change de style (devient gris standard) quand on ajoute un article et ceci arrive au moment que l'on est dans la fenêtre pop-up. il faut faire F5 pour rafraîchir et ça revient  Le bouton bleu est le bon, il se transforme en gris.  config du panier:  A quoi sert l'option &quot;Le panier est vide&quot; dans le menu de configuration?")* was created by *[greniers](/forum/user/1695-greniers "View greniers's Profile")*

Dans le module qui affiche le panier, le bouton change de style (devient gris standard) quand on ajoute un article et ceci arrive au moment que l'on est dans la fenêtre pop-up.
il faut faire F5 pour rafraîchir et ça revient

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/bouton_panier.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/bouton_panier.png "&#91;img")

Le bouton bleu est le bon, il se transforme en gris.

config du panier:

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/panier_config.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/panier_config.png "&#91;img")

A quoi sert l'option "Le panier est vide" dans le menu de configuration?

- [ ![bouton&#95;panier.png](/forum/attachment/988) ](/forum/attachment/988 "bouton&#95;panier.png") [ ](/forum/attachment/988?download=1 "bouton&#95;panier.png")
- [ ![panier&#95;config.png](/forum/attachment/989) ](/forum/attachment/989 "panier&#95;config.png") [ ](/forum/attachment/989?download=1 "panier&#95;config.png")

Last edit: 15 years 7 months ago by [greniers](/forum/user/1695-greniers "View greniers's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTQ4NjUtYm91dG9uLXRlcm1pbmVyLW1hLWNvbW1hbmRlLWR1LXBhbmllci1zdHlsZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

15 years 7 months ago [\#14875](#14875) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Bouton "Terminer ma commande" du panier - Style](/forum/5-support-en-francais-french-support-/14865-bouton-terminer-ma-commande-du-panier-style#14875 "Dans le module qui affiche le panier, le bouton change de style (devient gris standard) quand on ajoute un article et ceci arrive au moment que l'on est dans la fenêtre pop-up. il faut faire F5 pour rafraîchir et ça revient  Le bouton bleu est le bon, il se transforme en gris.  config du panier:  A quoi sert l'option &quot;Le panier est vide&quot; dans le menu de configuration?")*

C'est à cause de la façon dont sont personnalisés les boutons dans votre template. Plutot que d'utiliser du CSS normal, votre template utilise du javascript pour modifier le style du bouton.
Quand le panier est rafraîchit, le javascript n'est pas executé et le bouton n'est pas personnalisé.

Une solution sera de changer le code d'ajout au panier pour rafraîchir totalement la page au lieu de rafraîchir seulement le module du panier. Cette modification va dépendre de l'endroit depuis lequel vous ajoutez vos produits au panier. Est-ce la page produit ? Our le listing des produits ?

L'option "Le panier est vide" permet de modifier le message affiché dans le panier lorsqu'il est vide.

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

- **[greniers](/forum/user/1695-greniers "View greniers's Profile")**
- [![greniers's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/ball.gif)](/forum/user/1695-greniers "View greniers's Profile") Topic Author
- [ Offline](/forum/user/1695-greniers)

Less More

- Posts: 230
- Thank you received: 6
-
-

15 years 7 months ago [\#14897](#14897) by [greniers](/forum/user/1695-greniers "View greniers's Profile")  Replied by *[greniers](/forum/user/1695-greniers "View greniers's Profile")* on topic *[Re: Bouton "Terminer ma commande" du panier - Style](/forum/5-support-en-francais-french-support-/14865-bouton-terminer-ma-commande-du-panier-style#14897 "Dans le module qui affiche le panier, le bouton change de style (devient gris standard) quand on ajoute un article et ceci arrive au moment que l'on est dans la fenêtre pop-up. il faut faire F5 pour rafraîchir et ça revient  Le bouton bleu est le bon, il se transforme en gris.  config du panier:  A quoi sert l'option &quot;Le panier est vide&quot; dans le menu de configuration?")*

c'est "products listing"

En passant mon template est généré avec Artisteer 2.6.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTQ4NjUtYm91dG9uLXRlcm1pbmVyLW1hLWNvbW1hbmRlLWR1LXBhbmllci1zdHlsZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

15 years 7 months ago [\#14904](#14904) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Bouton "Terminer ma commande" du panier - Style](/forum/5-support-en-francais-french-support-/14865-bouton-terminer-ma-commande-du-panier-style#14904 "Dans le module qui affiche le panier, le bouton change de style (devient gris standard) quand on ajoute un article et ceci arrive au moment que l'on est dans la fenêtre pop-up. il faut faire F5 pour rafraîchir et ça revient  Le bouton bleu est le bon, il se transforme en gris.  config du panier:  A quoi sert l'option &quot;Le panier est vide&quot; dans le menu de configuration?")*

Il faudrait pour cela remplacer le code : Code:

$this-&gt;ajax='';

en: Code:

$this-&gt;ajax = 'return hikashopModifyQuantity(\''.$this-&gt;row-&gt;product_id.'\',field,1,\'hikashop_product_form_'.$this-&gt;row-&gt;product_id.'_'.$this-&gt;params-&gt;get('main_div_name').'\');';

dans le fichier de la vue product que vous utilisez (un de ceci: listing_img_title, listing_img_desc, listing_img, listing_title, listing_table, listing_list).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMTQ4NjUtYm91dG9uLXRlcm1pbmVyLW1hLWNvbW1hbmRlLWR1LXBhbmllci1zdHlsZT90bXBsPW1hcmtkb3du) 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.052 seconds

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