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

#   Changer "ajouter au panier" par une image

##

- **[ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile")**
- [![ppt-Com's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4084.jpg)](/forum/user/4084-ppt-com "View ppt-Com's Profile") Topic Author
- [ Offline](/forum/user/4084-ppt-com)

Less More

- Posts: 73
- Thank you received: 0
-
-

14 years 10 months ago -  14 years 10 months ago [\#35152](#35152) by [ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile")  *[Changer "ajouter au panier" par une image](/forum/5-support-en-francais-french-support-/35152-changer-ajouter-au-panier-par-une-image#35152 "Bonjour à tous,  ben tout est dans le titre  je souhaiterais changer le bouton ajouter au panier sur la fiche produit par une image (un caddie par exemple).  Je pense qu'il faut que je change une vue (la show de product pour la partie public) mais pouvez vous me le confirmer et à quelle ligne du code cela se situe ?  Vous remerciant d'avance  Cdlt  Patrick")* was created by *[ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile")*

Bonjour à tous,

ben tout est dans le titre

je souhaiterais changer le bouton ajouter au panier sur la fiche produit par une image (un caddie par exemple).

Je pense qu'il faut que je change une vue (la show de product pour la partie public) mais pouvez vous me le confirmer et à quelle ligne du code cela se situe ?

Vous remerciant d'avance

Cdlt

Patrick

Last edit: 14 years 10 months ago by [ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile").

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

- **[ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile")**
- [![ppt-Com's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4084.jpg)](/forum/user/4084-ppt-com "View ppt-Com's Profile") Topic Author
- [ Offline](/forum/user/4084-ppt-com)

Less More

- Posts: 73
- Thank you received: 0
-
-

14 years 10 months ago [\#35232](#35232) by [ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile")  Replied by *[ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile")* on topic *[Re: Changer "ajouter au panier" par une image](/forum/5-support-en-francais-french-support-/35152-changer-ajouter-au-panier-par-une-image#35232 "Bonjour à tous,  ben tout est dans le titre  je souhaiterais changer le bouton ajouter au panier sur la fiche produit par une image (un caddie par exemple).  Je pense qu'il faut que je change une vue (la show de product pour la partie public) mais pouvez vous me le confirmer et à quelle ligne du code cela se situe ?  Vous remerciant d'avance  Cdlt  Patrick")*

J'ai bien le bouton sur chaque fiche produit lien html ajouter au panier, mais il n'est pas modifiable (rien pour enregistrer la modif)

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

14 years 10 months ago [\#35233](#35233) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Changer "ajouter au panier" par une image](/forum/5-support-en-francais-french-support-/35152-changer-ajouter-au-panier-par-une-image#35233 "Bonjour à tous,  ben tout est dans le titre  je souhaiterais changer le bouton ajouter au panier sur la fiche produit par une image (un caddie par exemple).  Je pense qu'il faut que je change une vue (la show de product pour la partie public) mais pouvez vous me le confirmer et à quelle ligne du code cela se situe ?  Vous remerciant d'avance  Cdlt  Patrick")*

Bonjour,

Il n'y a pas de code PHP ou HMTL à changer.
Il suffit d'ajouter du CSS, comme nous l'avons fait sur le site de démo:

.hikashop_product_quantity_main .hikashop_product_stock .button {
color: #167E93;
font-weight: bold;
background-image: url(../images/add_cart.png);
background-repeat: no-repeat;
background-position: right;
height: 32px;
padding-right: 40px;
background-color: transparent;
cursor: pointer;
}

Après, il faut adapter à vos besoins.

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

- **[ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile")**
- [![ppt-Com's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4084.jpg)](/forum/user/4084-ppt-com "View ppt-Com's Profile") Topic Author
- [ Offline](/forum/user/4084-ppt-com)

Less More

- Posts: 73
- Thank you received: 0
-
-

14 years 10 months ago [\#35235](#35235) by [ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile")  Replied by *[ppt-Com](/forum/user/4084-ppt-com "View ppt-Com's Profile")* on topic *[Re: Changer "ajouter au panier" par une image](/forum/5-support-en-francais-french-support-/35152-changer-ajouter-au-panier-par-une-image#35235 "Bonjour à tous,  ben tout est dans le titre  je souhaiterais changer le bouton ajouter au panier sur la fiche produit par une image (un caddie par exemple).  Je pense qu'il faut que je change une vue (la show de product pour la partie public) mais pouvez vous me le confirmer et à quelle ligne du code cela se situe ?  Vous remerciant d'avance  Cdlt  Patrick")*

Mais que ferions nous sans vous

Super merci

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

13 years 11 months ago [\#80098](#80098) by [svillechange](/forum/user/7610-svillechange "View svillechange's Profile")  Replied by *[svillechange](/forum/user/7610-svillechange "View svillechange's Profile")* on topic *[Re: Changer "ajouter au panier" par une image](/forum/5-support-en-francais-french-support-/35152-changer-ajouter-au-panier-par-une-image#80098 "Bonjour à tous,  ben tout est dans le titre  je souhaiterais changer le bouton ajouter au panier sur la fiche produit par une image (un caddie par exemple).  Je pense qu'il faut que je change une vue (la show de product pour la partie public) mais pouvez vous me le confirmer et à quelle ligne du code cela se situe ?  Vous remerciant d'avance  Cdlt  Patrick")*

Bonsoir

Comment est il possible d'avoir des boutons différents pour:
ajouter au panier
mettre en favoris
contact sur l'article

D'avance merci

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#80146](#80146) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Changer "ajouter au panier" par une image](/forum/5-support-en-francais-french-support-/35152-changer-ajouter-au-panier-par-une-image#80146 "Bonjour à tous,  ben tout est dans le titre  je souhaiterais changer le bouton ajouter au panier sur la fiche produit par une image (un caddie par exemple).  Je pense qu'il faut que je change une vue (la show de product pour la partie public) mais pouvez vous me le confirmer et à quelle ligne du code cela se situe ?  Vous remerciant d'avance  Cdlt  Patrick")*

Bonjour,

Il suffit de combiner les classes, par exemple pour ajouter au panier ajouter la propriété css: Code:

.hikashop_product_right_part .hikashop_product_quantity_main .hikashop_cart_input_button{ /* Votre propriété css */ }

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

13 years 11 months ago [\#80155](#80155) by [svillechange](/forum/user/7610-svillechange "View svillechange's Profile")  Replied by *[svillechange](/forum/user/7610-svillechange "View svillechange's Profile")* on topic *[Re: Changer "ajouter au panier" par une image](/forum/5-support-en-francais-french-support-/35152-changer-ajouter-au-panier-par-une-image#80155 "Bonjour à tous,  ben tout est dans le titre  je souhaiterais changer le bouton ajouter au panier sur la fiche produit par une image (un caddie par exemple).  Je pense qu'il faut que je change une vue (la show de product pour la partie public) mais pouvez vous me le confirmer et à quelle ligne du code cela se situe ?  Vous remerciant d'avance  Cdlt  Patrick")*

Merci pour ce début de réponse, mais pourriez vous être plus précis.

Quel fichiers modifiés car malgré cet ajout cela n'a rien changé

Merci d'avance

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#80191](#80191) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Changer "ajouter au panier" par une image](/forum/5-support-en-francais-french-support-/35152-changer-ajouter-au-panier-par-une-image#80191 "Bonjour à tous,  ben tout est dans le titre  je souhaiterais changer le bouton ajouter au panier sur la fiche produit par une image (un caddie par exemple).  Je pense qu'il faut que je change une vue (la show de product pour la partie public) mais pouvez vous me le confirmer et à quelle ligne du code cela se situe ?  Vous remerciant d'avance  Cdlt  Patrick")*

Merci de vous référrez à ce topic:
[ www.hikashop.com/en/forum/2-general-talk...-et-ajout.html#80138](http://www.hikashop.com/en/forum/2-general-talk-about-hikashop/76406-boutons-differents-pour-liste-de-souhaite-et-ajout.html#80138)

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

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