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

#   Cannot disble add to cart on products page

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

2 years 10 months ago [\#358288](#358288) by [MalcolmB](/forum/user/55131-malcolmb "View MalcolmB's Profile")  *[Cannot disble add to cart on products page](/forum/26-product-category-display/907596-cannot-disble-add-to-cart-on-products-page#358288 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 5.0.2 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox 121.0.1 -- Error-message(debug-mod must be tuned on) -- : no message. configuration function not working  Configuration &gt; DEFAULT PARAMETERS FOR PRODUCTS &gt; Display ‘ Add to cart’ Button – YES NO Selecting NO does not remove the ‘Add to button’.  I do not want customers to be able to add to cart from the products page, I want them to go to the details page before they can add to cart.  Anything that I try using CSS removes the button from both the products and the details page.  See attached images.")* was created by *[MalcolmB](/forum/user/55131-malcolmb "View MalcolmB's Profile")*

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 5.0.2
-- Joomla version -- : 4.4.0
-- PHP version -- : 8.1.13
-- Browser(s) name and version -- : firefox 121.0.1
-- Error-message(debug-mod must be tuned on) -- : no message. configuration function not working

Configuration &gt; DEFAULT PARAMETERS FOR PRODUCTS &gt; Display ‘ Add to cart’ Button – YES NO
Selecting NO does not remove the ‘Add to button’.

I do not want customers to be able to add to cart from the products page, I want them to go to the details page before they can add to cart.

Anything that I try using CSS removes the button from both the products and the details page.

See attached images.

- [ ![Screenshot2024-01-16at19-33-04ListingofArgentiumsilverbracelets.png](/forum/attachment/58589) ](/forum/attachment/58589 "...rbracelets.png") [ ](/forum/attachment/58589?download=1 "...rbracelets.png")
- [ ![Screenshot2024-01-16at19-31-53mbdesigns-Administration-Configuration.png](/forum/attachment/58590) ](/forum/attachment/58590 "...figuration.png") [ ](/forum/attachment/58590?download=1 "...figuration.png")

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

2 years 10 months ago [\#358291](#358291) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cannot disble add to cart on products page](/forum/26-product-category-display/907596-cannot-disble-add-to-cart-on-products-page#358291 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 5.0.2 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox 121.0.1 -- Error-message(debug-mod must be tuned on) -- : no message. configuration function not working  Configuration &gt; DEFAULT PARAMETERS FOR PRODUCTS &gt; Display ‘ Add to cart’ Button – YES NO Selecting NO does not remove the ‘Add to button’.  I do not want customers to be able to add to cart from the products page, I want them to go to the details page before they can add to cart.  Anything that I try using CSS removes the button from both the products and the details page.  See attached images.")*

Hi,

This setting is the DEFAULT setting for new menu items and modules.
For existing menu items and modules, you need to edit the menu item and module via the Joomla menu / module manager. And under the "Products options" tab ("HikaShop options" tab), you'll find an add to cart button display setting which you can turn off.

Regarding the CSS, that's because you need to specify a parent element class.
Instead of just .hikacart{ display: none; } you need to do something like that: .hikashop_products_listing .hikacart{ display:none; }

The following user(s) said Thank You: [MalcolmB](/forum/user/55131-malcolmb "View MalcolmB's Profile")

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

2 years 10 months ago [\#358320](#358320) by [MalcolmB](/forum/user/55131-malcolmb "View MalcolmB's Profile")  Replied by *[MalcolmB](/forum/user/55131-malcolmb "View MalcolmB's Profile")* on topic *[Cannot disble add to cart on products page](/forum/26-product-category-display/907596-cannot-disble-add-to-cart-on-products-page#358320 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 5.0.2 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox 121.0.1 -- Error-message(debug-mod must be tuned on) -- : no message. configuration function not working  Configuration &gt; DEFAULT PARAMETERS FOR PRODUCTS &gt; Display ‘ Add to cart’ Button – YES NO Selecting NO does not remove the ‘Add to button’.  I do not want customers to be able to add to cart from the products page, I want them to go to the details page before they can add to cart.  Anything that I try using CSS removes the button from both the products and the details page.  See attached images.")*

Thank you Nicolas that workred perfectly.

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

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