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

#   add to cart button missing for product in some tabs

##

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

Less More

- Posts: 42
- Thank you received: 1
-
-

3 years 9 months ago [\#349329](#349329) by [rasheed1011](/forum/user/31602-rasheed1011 "View rasheed1011's Profile")  *[add to cart button missing for product in some tabs](/forum/26-product-category-display/905913-add-to-cart-button-missing-for-product-in-some-tabs#349329 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.0.3 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : add to cart not displayed in second tab   dphfs.com/index.php/pickles  Hi,  add to cart is not displayed in the below page.   dphfs.com/index.php/pickles  whereas add to cart is displayed for same items in different page.   dphfs.com/index.php/food?limitstart=20&amp;limit=20  kindly suggest how &quot;add to cart&quot; button should be made visible for products in other tabs too")* was created by *[rasheed1011](/forum/user/31602-rasheed1011 "View rasheed1011's Profile")*

-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.0.3
-- PHP version -- : 7.4.33
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : add to cart not displayed in second tab
[ dphfs.com/index.php/pickles](http://dphfs.com/index.php/pickles)

Hi,

add to cart is not displayed in the below page.
[ dphfs.com/index.php/pickles](http://dphfs.com/index.php/pickles)

whereas add to cart is displayed for same items in different page.
[ dphfs.com/index.php/food?limitstart=20&amp;limit=20](http://dphfs.com/index.php/food?limitstart=20&limit=20)

kindly suggest how "add to cart" button should be made visible for products in other tabs too

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU5MTMtYWRkLXRvLWNhcnQtYnV0dG9uLW1pc3NpbmctZm9yLXByb2R1Y3QtaW4tc29tZS10YWJzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

3 years 9 months ago -  3 years 9 months ago [\#349331](#349331) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[add to cart button missing for product in some tabs](/forum/26-product-category-display/905913-add-to-cart-button-missing-for-product-in-some-tabs#349331 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.0.3 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : add to cart not displayed in second tab   dphfs.com/index.php/pickles  Hi,  add to cart is not displayed in the below page.   dphfs.com/index.php/pickles  whereas add to cart is displayed for same items in different page.   dphfs.com/index.php/food?limitstart=20&amp;limit=20  kindly suggest how &quot;add to cart&quot; button should be made visible for products in other tabs too")*

Hi,

What you call a "tab" is actually a menu item.
So you need to edit the different menu items in the menu manager of Joomla. There, under the "products options" tab of the menu item settings page, you'll have an option to display the add to cart button.
You can read more about menu item settings here:
[ www.hikashop.com/support/documentation/3...ront-end.html#Imenus](https://www.hikashop.com/support/documentation/308-hikashop-content-display-front-end.html#Imenus)

Last edit: 3 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 42
- Thank you received: 1
-
-

3 years 9 months ago [\#349339](#349339) by [rasheed1011](/forum/user/31602-rasheed1011 "View rasheed1011's Profile")  Replied by *[rasheed1011](/forum/user/31602-rasheed1011 "View rasheed1011's Profile")* on topic *[add to cart button missing for product in some tabs](/forum/26-product-category-display/905913-add-to-cart-button-missing-for-product-in-some-tabs#349339 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.0.3 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : add to cart not displayed in second tab   dphfs.com/index.php/pickles  Hi,  add to cart is not displayed in the below page.   dphfs.com/index.php/pickles  whereas add to cart is displayed for same items in different page.   dphfs.com/index.php/food?limitstart=20&amp;limit=20  kindly suggest how &quot;add to cart&quot; button should be made visible for products in other tabs too")*

I have enabled the add to card in product options in menu item. still it doesn't display the "Add to Cart" button but if I click the place where the button should be the product is getting added to cart.

the issue is button is not getting displayed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU5MTMtYWRkLXRvLWNhcnQtYnV0dG9uLW1pc3NpbmctZm9yLXByb2R1Y3QtaW4tc29tZS10YWJzP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

3 years 9 months ago [\#349341](#349341) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[add to cart button missing for product in some tabs](/forum/26-product-category-display/905913-add-to-cart-button-missing-for-product-in-some-tabs#349341 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.0.3 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : add to cart not displayed in second tab   dphfs.com/index.php/pickles  Hi,  add to cart is not displayed in the below page.   dphfs.com/index.php/pickles  whereas add to cart is displayed for same items in different page.   dphfs.com/index.php/food?limitstart=20&amp;limit=20  kindly suggest how &quot;add to cart&quot; button should be made visible for products in other tabs too")*

Hi,

The issue comes from the code: Code:

.page-item.active .page-link, .slider-item .sppb-btn-success, .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info:hover, .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay, a.hikabtn.hikacart, .contact-top-sub { background-color: var(--background-color) !important; }

in the [ dphfs.com/templates/lt\_restaurant/css/custom.css](http://dphfs.com/templates/lt_restaurant/css/custom.css)
I suppose that's CSS you've added yourself to your template.
If I deactivate that CSS with my browser's inspector tool, I can then see the button:
[ i.imgur.com/gsMyJ6q.png](https://i.imgur.com/gsMyJ6q.png)

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

- **[mariussport](/forum/user/9713-mariussport "View mariussport's Profile")**
- [![mariussport's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/car.gif)](/forum/user/9713-mariussport "View mariussport's Profile")
- [ Offline](/forum/user/9713-mariussport)
- Test fase

Less More

- Posts: 122
- Thank you received: 3
-
-
-
- [](http://bal.mariusklabbers.nl)
-

3 years 7 months ago [\#351175](#351175) by [mariussport](/forum/user/9713-mariussport "View mariussport's Profile")  Replied by *[mariussport](/forum/user/9713-mariussport "View mariussport's Profile")* on topic *[add to cart button missing for product in some tabs](/forum/26-product-category-display/905913-add-to-cart-button-missing-for-product-in-some-tabs#351175 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.0.3 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : add to cart not displayed in second tab   dphfs.com/index.php/pickles  Hi,  add to cart is not displayed in the below page.   dphfs.com/index.php/pickles  whereas add to cart is displayed for same items in different page.   dphfs.com/index.php/food?limitstart=20&amp;limit=20  kindly suggest how &quot;add to cart&quot; button should be made visible for products in other tabs too")*

Hi Nicolas, yes in the template css is the button only visuable with hover.

I have the same with an other LTheme template, Optik.

When i set in the Hikashop configuration, Button Link to Button the button id visuable.

Or do you know how so set the css rule in the template.
:root {
--background-color: currentColor;
--background: currentColor;
--text-color: currentColor;
}
.page-item.active .page-link, .sp-simpleportfolio .sp-simpleportfolio-filter &gt; ul &gt; li.active &gt; a,
.slider-item .sppb-btn-success, .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info:hover,
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay,
.btn, .video-text, .about .video a:before, a.hikabtn.hikacart {
background-color: var(--background-color) !important;
}
regards Marius

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

3 years 7 months ago -  3 years 7 months ago [\#351181](#351181) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[add to cart button missing for product in some tabs](/forum/26-product-category-display/905913-add-to-cart-button-missing-for-product-in-some-tabs#351181 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.0.3 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : add to cart not displayed in second tab   dphfs.com/index.php/pickles  Hi,  add to cart is not displayed in the below page.   dphfs.com/index.php/pickles  whereas add to cart is displayed for same items in different page.   dphfs.com/index.php/food?limitstart=20&amp;limit=20  kindly suggest how &quot;add to cart&quot; button should be made visible for products in other tabs too")*

Hello,

Template files are here, in Your_Template\templates folder.
But I have better to suggest, you can add your custom css command in a better place, this will be easier to maintain and will not be lost when updating your Template or your HikaShop, follow me step by step :
**1.** Have a look on **[ this tutorial](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)**
**2.** Create a **custom Style** file by clicking on the "**+**" button :
[ ![alt](https://i.ibb.co/GvZx5sk/screenshot.png) ](https://i.ibb.co/GvZx5sk/screenshot.png "alt")

**3.** Paste your code in this new **Css file**.

Hope this will fit your needs.
Regards

Last edit: 3 years 7 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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