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

#   \[SOLVED\] Bouton "vider panier"

##

- **[kiweerouge](/forum/user/3764-kiweerouge "View kiweerouge's Profile")**
- [![kiweerouge's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3764-kiweerouge "View kiweerouge's Profile") Topic Author
- [ Offline](/forum/user/3764-kiweerouge)

Less More

- Posts: 101
- Thank you received: 4
-
-

13 years 3 weeks ago -  13 years 3 weeks ago [\#128145](#128145) by [kiweerouge](/forum/user/3764-kiweerouge "View kiweerouge's Profile")  *[\[SOLVED\] Bouton "vider panier"](/forum/25-install-update/862858-solved-bouton-vider-panier#128145 "Bonjour,  Est-il possible d'ajouter un bouton/lien &quot;vider le panier&quot; sur la page de commande ? Qui du coup vide tout le panier d'un seul coup, sans avoir à supprimer les produit un par un.  Merci.")* was created by *[kiweerouge](/forum/user/3764-kiweerouge "View kiweerouge's Profile")*

Bonjour,

Est-il possible d'ajouter un bouton/lien "vider le panier" sur la page de commande ? Qui du coup vide tout le panier d'un seul coup, sans avoir à supprimer les produit un par un.

Merci.

Last edit: 13 years 3 weeks ago by [kiweerouge](/forum/user/3764-kiweerouge "View kiweerouge's Profile").

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 3 weeks ago -  13 years 3 weeks ago [\#128162](#128162) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Bouton "vider panier"](/forum/25-install-update/862858-solved-bouton-vider-panier#128162 "Bonjour,  Est-il possible d'ajouter un bouton/lien &quot;vider le panier&quot; sur la page de commande ? Qui du coup vide tout le panier d'un seul coup, sans avoir à supprimer les produit un par un.  Merci.")*

Bonjour,

Vous trouverez surement la solution via ce [ sujet ](http://www.hikashop.com/forum/4-how-to/14276-empty-cart-button.html): Code:

&lt;a href="&lt;?php echo hikashop::completeLink('product&amp;task=cleancart&amp;return_url='. urlencode(base64_encode(hikashop::currentURL('url')))); ?&gt;"&gt;Empty Cart&lt;/a&gt;

Il vous suffira donc d'utiliser ce code sur le fichier "cart" de votre vue "product" de votre template de front-end, via "*Hikashop-&gt;Affichage-&gt;Vues*"

Last edit: 13 years 3 weeks ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

- **[kiweerouge](/forum/user/3764-kiweerouge "View kiweerouge's Profile")**
- [![kiweerouge's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3764-kiweerouge "View kiweerouge's Profile") Topic Author
- [ Offline](/forum/user/3764-kiweerouge)

Less More

- Posts: 101
- Thank you received: 4
-
-

13 years 3 weeks ago [\#128175](#128175) by [kiweerouge](/forum/user/3764-kiweerouge "View kiweerouge's Profile")  Replied by *[kiweerouge](/forum/user/3764-kiweerouge "View kiweerouge's Profile")* on topic *[Bouton "vider panier"](/forum/25-install-update/862858-solved-bouton-vider-panier#128175 "Bonjour,  Est-il possible d'ajouter un bouton/lien &quot;vider le panier&quot; sur la page de commande ? Qui du coup vide tout le panier d'un seul coup, sans avoir à supprimer les produit un par un.  Merci.")*

Ah zut ce sujet m'avait échappé lors de mes recherches sur le forum. En effet c'est bien ça. Merci !

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

- **[paci8188](/forum/user/13131-paci8188 "View paci8188's Profile")**
- [![paci8188's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar13131.jpg)](/forum/user/13131-paci8188 "View paci8188's Profile")
- [ Offline](/forum/user/13131-paci8188)

Less More

- Posts: 13
- Thank you received: 0
-
-

11 years 2 months ago [\#213826](#213826) by [paci8188](/forum/user/13131-paci8188 "View paci8188's Profile")  Replied by *[paci8188](/forum/user/13131-paci8188 "View paci8188's Profile")* on topic *[Bouton "vider panier"](/forum/25-install-update/862858-solved-bouton-vider-panier#213826 "Bonjour,  Est-il possible d'ajouter un bouton/lien &quot;vider le panier&quot; sur la page de commande ? Qui du coup vide tout le panier d'un seul coup, sans avoir à supprimer les produit un par un.  Merci.")*

Bonjour,

dans le fichier cart, à quel endroit exactement je dois insérer la ligne de code pour avoir la fonction "Vider le panier"?

Merci
Martin

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

- **[paci8188](/forum/user/13131-paci8188 "View paci8188's Profile")**
- [![paci8188's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar13131.jpg)](/forum/user/13131-paci8188 "View paci8188's Profile")
- [ Offline](/forum/user/13131-paci8188)

Less More

- Posts: 13
- Thank you received: 0
-
-

11 years 2 months ago [\#213847](#213847) by [paci8188](/forum/user/13131-paci8188 "View paci8188's Profile")  Replied by *[paci8188](/forum/user/13131-paci8188 "View paci8188's Profile")* on topic *[Bouton "vider panier"](/forum/25-install-update/862858-solved-bouton-vider-panier#213847 "Bonjour,  Est-il possible d'ajouter un bouton/lien &quot;vider le panier&quot; sur la page de commande ? Qui du coup vide tout le panier d'un seul coup, sans avoir à supprimer les produit un par un.  Merci.")*

Bonjour,

dans le fichier cart, à quel endroit exactement je dois insérer la ligne de code pour avoir la fonction "Vider le panier"?

Merci
Martin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2Mjg1OC1zb2x2ZWQtYm91dG9uLXZpZGVyLXBhbmllcj90bXBsPW1hcmtkb3du) 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: 86359
- Thank you received: 14296
-
-

11 years 2 months ago [\#213849](#213849) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bouton "vider panier"](/forum/25-install-update/862858-solved-bouton-vider-panier#213849 "Bonjour,  Est-il possible d'ajouter un bouton/lien &quot;vider le panier&quot; sur la page de commande ? Qui du coup vide tout le panier d'un seul coup, sans avoir à supprimer les produit un par un.  Merci.")*

Bonjour,

Il n'y a pas d'endroit définit.
C'est à vous de décider à quel endroit vous souhaitez placer le bouton dans la vue en fonction du rendu que vous souhaitez.

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

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