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

#   Cacher bouton "ajouter au panier"

##

- **[hbesri](/forum/user/12661-hbesri "View hbesri's Profile")**
- [![hbesri's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-07-23-2.jpg)](/forum/user/12661-hbesri "View hbesri's Profile") Topic Author
- [ Offline](/forum/user/12661-hbesri)

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 5 months ago [\#104365](#104365) by [hbesri](/forum/user/12661-hbesri "View hbesri's Profile")  *[Cacher bouton "ajouter au panier"](/forum/5-support-en-francais-french-support-/81984-cacher-bouton-ajouter-au-panier#104365 "Bonjour,  Voilà, j'ai une catégorie qui doit visible par tout le monde mais uniquement les utilisateurs enregistrés peuvent commander les produits appartenant à cette catégorie. Quand j'utilise les ACL sur les prix, ceux-ci sont bien cachés pour les utilisateurs public mais n'importe qui peut ajouter ces produits dans le panier.  Comment faire pour cacher le bouton &quot;ajouter au panier&quot; pour les produits appartenant à une catégorie particulière.  Merci d'avance pour toute aide apporté  Hicham")* was created by *[hbesri](/forum/user/12661-hbesri "View hbesri's Profile")*

Bonjour,

Voilà, j'ai une catégorie qui doit visible par tout le monde mais uniquement les utilisateurs enregistrés peuvent commander les produits appartenant à cette catégorie.
Quand j'utilise les ACL sur les prix, ceux-ci sont bien cachés pour les utilisateurs public mais n'importe qui peut ajouter ces produits dans le panier.

Comment faire pour cacher le bouton "ajouter au panier" pour les produits appartenant à une catégorie particulière.

Merci d'avance pour toute aide apporté

Hicham

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODE5ODQtY2FjaGVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86323
- Thank you received: 14282
-
-

13 years 5 months ago [\#104367](#104367) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cacher bouton "ajouter au panier"](/forum/5-support-en-francais-french-support-/81984-cacher-bouton-ajouter-au-panier#104367 "Bonjour,  Voilà, j'ai une catégorie qui doit visible par tout le monde mais uniquement les utilisateurs enregistrés peuvent commander les produits appartenant à cette catégorie. Quand j'utilise les ACL sur les prix, ceux-ci sont bien cachés pour les utilisateurs public mais n'importe qui peut ajouter ces produits dans le panier.  Comment faire pour cacher le bouton &quot;ajouter au panier&quot; pour les produits appartenant à une catégorie particulière.  Merci d'avance pour toute aide apporté  Hicham")*

Bonjour,

A partir du moment ou vous voulez cacher le bouton ajouter au panier pour les produits sans prix, il suffit de désactiver l'option "Display 'add to cart' button for free products" de la configuration.

The following user(s) said Thank You: [hbesri](/forum/user/12661-hbesri "View hbesri's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODE5ODQtY2FjaGVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[hbesri](/forum/user/12661-hbesri "View hbesri's Profile")**
- [![hbesri's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-07-23-2.jpg)](/forum/user/12661-hbesri "View hbesri's Profile") Topic Author
- [ Offline](/forum/user/12661-hbesri)

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 5 months ago [\#104387](#104387) by [hbesri](/forum/user/12661-hbesri "View hbesri's Profile")  Replied by *[hbesri](/forum/user/12661-hbesri "View hbesri's Profile")* on topic *[Cacher bouton "ajouter au panier"](/forum/5-support-en-francais-french-support-/81984-cacher-bouton-ajouter-au-panier#104387 "Bonjour,  Voilà, j'ai une catégorie qui doit visible par tout le monde mais uniquement les utilisateurs enregistrés peuvent commander les produits appartenant à cette catégorie. Quand j'utilise les ACL sur les prix, ceux-ci sont bien cachés pour les utilisateurs public mais n'importe qui peut ajouter ces produits dans le panier.  Comment faire pour cacher le bouton &quot;ajouter au panier&quot; pour les produits appartenant à une catégorie particulière.  Merci d'avance pour toute aide apporté  Hicham")*

Bonjour Nicolas,

En fait, les produits ont bien un prix. C'est juste qu'ils ne peuvent être achetés que par des utilisateurs enregistrés. Ce que je veux obtenir, c'est d'empêcher un visiteur public d'acheter ce produit (le produit est néanmoins affiché à tout le monde)
Hicham

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODE5ODQtY2FjaGVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 5 months ago [\#104404](#104404) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Cacher bouton "ajouter au panier"](/forum/5-support-en-francais-french-support-/81984-cacher-bouton-ajouter-au-panier#104404 "Bonjour,  Voilà, j'ai une catégorie qui doit visible par tout le monde mais uniquement les utilisateurs enregistrés peuvent commander les produits appartenant à cette catégorie. Quand j'utilise les ACL sur les prix, ceux-ci sont bien cachés pour les utilisateurs public mais n'importe qui peut ajouter ces produits dans le panier.  Comment faire pour cacher le bouton &quot;ajouter au panier&quot; pour les produits appartenant à une catégorie particulière.  Merci d'avance pour toute aide apporté  Hicham")*

Bonsoir,

Vous pouvez utiliser le "msrp" afin de continuer d'afficher le prix du produit mais de laisser le prix réel du produit uniquement accessible pour les utilisateur enregistrés (avec les ACL).
Mais comme l'a indiqué Nicolas, la base est de ne pas proposer de prix (donc prix à 0) pour les utilisateurs non enregistrés et bloquer l'achat de produit gratuits.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [hbesri](/forum/user/12661-hbesri "View hbesri's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODE5ODQtY2FjaGVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[hbesri](/forum/user/12661-hbesri "View hbesri's Profile")**
- [![hbesri's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-07-23-2.jpg)](/forum/user/12661-hbesri "View hbesri's Profile") Topic Author
- [ Offline](/forum/user/12661-hbesri)

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 5 months ago [\#104837](#104837) by [hbesri](/forum/user/12661-hbesri "View hbesri's Profile")  Replied by *[hbesri](/forum/user/12661-hbesri "View hbesri's Profile")* on topic *[Cacher bouton "ajouter au panier"](/forum/5-support-en-francais-french-support-/81984-cacher-bouton-ajouter-au-panier#104837 "Bonjour,  Voilà, j'ai une catégorie qui doit visible par tout le monde mais uniquement les utilisateurs enregistrés peuvent commander les produits appartenant à cette catégorie. Quand j'utilise les ACL sur les prix, ceux-ci sont bien cachés pour les utilisateurs public mais n'importe qui peut ajouter ces produits dans le panier.  Comment faire pour cacher le bouton &quot;ajouter au panier&quot; pour les produits appartenant à une catégorie particulière.  Merci d'avance pour toute aide apporté  Hicham")*

Merci à vous deux. ça marche impec.

Bon week-end
Hicham

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODE5ODQtY2FjaGVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 249
- Thank you received: 17
-
-

9 years 10 months ago [\#257068](#257068) by [theomartin](/forum/user/31635-theomartin "View theomartin's Profile")  Replied by *[theomartin](/forum/user/31635-theomartin "View theomartin's Profile")* on topic *[Cacher bouton "ajouter au panier"](/forum/5-support-en-francais-french-support-/81984-cacher-bouton-ajouter-au-panier#257068 "Bonjour,  Voilà, j'ai une catégorie qui doit visible par tout le monde mais uniquement les utilisateurs enregistrés peuvent commander les produits appartenant à cette catégorie. Quand j'utilise les ACL sur les prix, ceux-ci sont bien cachés pour les utilisateurs public mais n'importe qui peut ajouter ces produits dans le panier.  Comment faire pour cacher le bouton &quot;ajouter au panier&quot; pour les produits appartenant à une catégorie particulière.  Merci d'avance pour toute aide apporté  Hicham")*

Bonjour,

J'ai exactement le même projet que ci-dessus, c'est à dire que les prix soient affichés pour le public mais que le bouton "ajouter au panier" ne soit visible que pour les enregistrés connectés.

La solution proposée est :

> Jerome wrote: Bonsoir,
>
> Vous pouvez utiliser le "msrp" afin de continuer d'afficher le prix du produit mais de laisser le prix réel du produit uniquement accessible pour les utilisateur enregistrés (avec les ACL).

Mais voilà, je ne comprends pas la signification de "msrp"....

Quelqu'un pourrait-il préciser ce que signifie "msrp" ou la manipulation a effectuer ?

D'avance, merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODE5ODQtY2FjaGVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86323
- Thank you received: 14282
-
-

9 years 10 months ago [\#257079](#257079) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cacher bouton "ajouter au panier"](/forum/5-support-en-francais-french-support-/81984-cacher-bouton-ajouter-au-panier#257079 "Bonjour,  Voilà, j'ai une catégorie qui doit visible par tout le monde mais uniquement les utilisateurs enregistrés peuvent commander les produits appartenant à cette catégorie. Quand j'utilise les ACL sur les prix, ceux-ci sont bien cachés pour les utilisateurs public mais n'importe qui peut ajouter ces produits dans le panier.  Comment faire pour cacher le bouton &quot;ajouter au panier&quot; pour les produits appartenant à une catégorie particulière.  Merci d'avance pour toute aide apporté  Hicham")*

Bonjour,

MSRP veut dire "manufacturer's suggested retail price". Le terme équivalent en Français est "Prix constaté".
C'est une option de vos produits lorsque vous les éditez dans le backend.

The following user(s) said Thank You: [theomartin](/forum/user/31635-theomartin "View theomartin's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODE5ODQtY2FjaGVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 249
- Thank you received: 17
-
-

9 years 10 months ago [\#257093](#257093) by [theomartin](/forum/user/31635-theomartin "View theomartin's Profile")  Replied by *[theomartin](/forum/user/31635-theomartin "View theomartin's Profile")* on topic *[Cacher bouton "ajouter au panier"](/forum/5-support-en-francais-french-support-/81984-cacher-bouton-ajouter-au-panier#257093 "Bonjour,  Voilà, j'ai une catégorie qui doit visible par tout le monde mais uniquement les utilisateurs enregistrés peuvent commander les produits appartenant à cette catégorie. Quand j'utilise les ACL sur les prix, ceux-ci sont bien cachés pour les utilisateurs public mais n'importe qui peut ajouter ces produits dans le panier.  Comment faire pour cacher le bouton &quot;ajouter au panier&quot; pour les produits appartenant à une catégorie particulière.  Merci d'avance pour toute aide apporté  Hicham")*

Merci de votre réponse, c'est beaucoup plus clair !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODE5ODQtY2FjaGVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.088 seconds

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