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

#   Display add to cart button on a per product base

##

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

Less More

- Posts: 20
- Thank you received: 3
-
-

10 months 3 weeks ago [\#369909](#369909) by [StefanTwigt](/forum/user/37265-stefantwigt "View StefanTwigt's Profile")  *[Display add to cart button on a per product base](/forum/26-product-category-display/910011-display-add-to-cart-button-on-a-per-product-base#369909 "-- HikaShop version -- : 6.2.0 -- Joomla version -- : 5.4.1 -- PHP version -- : 8.0 -- Browser(s) name and version -- : every -- Error-message(debug-mod must be tuned on) -- : none  First of all, thank you for a great product! Because the world is never easy, I need to change some items in our webshop so customers can no longer just buy them, but they have to contact us directly. I already did add the contact button on a per product base and activated it for the product. However, it still shows the add to cart button, it would be great if I could also disable (hide) this button on a per product base.  Is there a solution for this at the moment? I could also hide the button on a brand-level perhaps?  best regards!")* was created by *[StefanTwigt](/forum/user/37265-stefantwigt "View StefanTwigt's Profile")*

-- HikaShop version -- : 6.2.0
-- Joomla version -- : 5.4.1
-- PHP version -- : 8.0
-- Browser(s) name and version -- : every
-- Error-message(debug-mod must be tuned on) -- : none

First of all, thank you for a great product!
Because the world is never easy, I need to change some items in our webshop so customers can no longer just buy them, but they have to contact us directly. I already did add the contact button on a per product base and activated it for the product.
However, it still shows the add to cart button, it would be great if I could also disable (hide) this button on a per product base.

Is there a solution for this at the moment? I could also hide the button on a brand-level perhaps?

best regards!

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

10 months 3 weeks ago [\#369914](#369914) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display add to cart button on a per product base](/forum/26-product-category-display/910011-display-add-to-cart-button-on-a-per-product-base#369914 "-- HikaShop version -- : 6.2.0 -- Joomla version -- : 5.4.1 -- PHP version -- : 8.0 -- Browser(s) name and version -- : every -- Error-message(debug-mod must be tuned on) -- : none  First of all, thank you for a great product! Because the world is never easy, I need to change some items in our webshop so customers can no longer just buy them, but they have to contact us directly. I already did add the contact button on a per product base and activated it for the product. However, it still shows the add to cart button, it would be great if I could also disable (hide) this button on a per product base.  Is there a solution for this at the moment? I could also hide the button on a brand-level perhaps?  best regards!")*

Hi,

One option is to not have a price for these products and turn off the "display add to cart button for free products" setting of the HikaShop configuration.
Another option is to set the "quantity" (stock) of the product to zero. This will display an "out of stock" message for these products instead of the add to cart button. You can use a translation override of that text in order to change it to adapt it to your situation:
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)

If you want to apply these to a bunch of products at once, you can select them on the products listing, click on the "actions" button, and in the popup, you can use the action "update the values" to modify all the products at once.
For example, you could apply the action on the "product_quantity" column, with the value "0" to make all the selected products out of stock at once.

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

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

Less More

- Posts: 20
- Thank you received: 3
-
-

10 months 3 weeks ago [\#369916](#369916) by [StefanTwigt](/forum/user/37265-stefantwigt "View StefanTwigt's Profile")  Replied by *[StefanTwigt](/forum/user/37265-stefantwigt "View StefanTwigt's Profile")* on topic *[Display add to cart button on a per product base](/forum/26-product-category-display/910011-display-add-to-cart-button-on-a-per-product-base#369916 "-- HikaShop version -- : 6.2.0 -- Joomla version -- : 5.4.1 -- PHP version -- : 8.0 -- Browser(s) name and version -- : every -- Error-message(debug-mod must be tuned on) -- : none  First of all, thank you for a great product! Because the world is never easy, I need to change some items in our webshop so customers can no longer just buy them, but they have to contact us directly. I already did add the contact button on a per product base and activated it for the product. However, it still shows the add to cart button, it would be great if I could also disable (hide) this button on a per product base.  Is there a solution for this at the moment? I could also hide the button on a brand-level perhaps?  best regards!")*

thank you for the very quick reply!
Setting the stock to 0 works fine, together with the translation, however, it also disables the possible options.
(in this case customers can buy a 1 year or 3 year license, but with a stock of 0, no options are displayed, except for the "NO VALUES FOUND" message.

link: [ www.3dstudio.nl/webshop/product/autodesk-3dsmax](https://www.3dstudio.nl/webshop/product/autodesk-3dsmax)

Or did I forget some setting for the options? (product characteristic)

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

10 months 3 weeks ago [\#369917](#369917) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display add to cart button on a per product base](/forum/26-product-category-display/910011-display-add-to-cart-button-on-a-per-product-base#369917 "-- HikaShop version -- : 6.2.0 -- Joomla version -- : 5.4.1 -- PHP version -- : 8.0 -- Browser(s) name and version -- : every -- Error-message(debug-mod must be tuned on) -- : none  First of all, thank you for a great product! Because the world is never easy, I need to change some items in our webshop so customers can no longer just buy them, but they have to contact us directly. I already did add the contact button on a per product base and activated it for the product. However, it still shows the add to cart button, it would be great if I could also disable (hide) this button on a per product base.  Is there a solution for this at the moment? I could also hide the button on a brand-level perhaps?  best regards!")*

Hi,

If the stock of the main product is set to zero, and the variants have a stock set to unlimited, the variants will automatically use the stock of the main product as their own stock and thus, the variants will also be out of stock.
And if the "display out of stock products" setting is deactivated in the HikaShop configuration, the variants without stock will be removed automatically from the product page, which will lead to the "no values found" error because the system sees that you have characteristics for the product, but no variants available for the product. And thus a selector cannot be generated.
I suspect that this is your situation.

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

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

Less More

- Posts: 20
- Thank you received: 3
-
-

10 months 2 weeks ago [\#369922](#369922) by [StefanTwigt](/forum/user/37265-stefantwigt "View StefanTwigt's Profile")  Replied by *[StefanTwigt](/forum/user/37265-stefantwigt "View StefanTwigt's Profile")* on topic *[Display add to cart button on a per product base](/forum/26-product-category-display/910011-display-add-to-cart-button-on-a-per-product-base#369922 "-- HikaShop version -- : 6.2.0 -- Joomla version -- : 5.4.1 -- PHP version -- : 8.0 -- Browser(s) name and version -- : every -- Error-message(debug-mod must be tuned on) -- : none  First of all, thank you for a great product! Because the world is never easy, I need to change some items in our webshop so customers can no longer just buy them, but they have to contact us directly. I already did add the contact button on a per product base and activated it for the product. However, it still shows the add to cart button, it would be great if I could also disable (hide) this button on a per product base.  Is there a solution for this at the moment? I could also hide the button on a brand-level perhaps?  best regards!")*

awesome, exactly what happened! Thank you very much, it now works!
Have a great day!

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

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

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