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

#   Show cart module only when it has something in

##

- **[erik\_jung](/forum/user/11736-erik-jung "View erik&#95;jung's Profile")**
- [![erik&#95;jung's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11736-erik-jung "View erik&#95;jung's Profile")
- [ Offline](/forum/user/11736-erik-jung)

Less More

- Posts: 16
- Thank you received: 1
-
-

13 years 7 months ago [\#97324](#97324) by [erik\_jung](/forum/user/11736-erik-jung "View erik&#95;jung's Profile")  Replied by *[erik\_jung](/forum/user/11736-erik-jung "View erik&#95;jung's Profile")* on topic *[Show cart module only when it has something in](/forum/4-how-to/6189-show-cart-module-only-when-it-has-something-in?start=40#97324 "How do you configure the cart module to display only when a product has been added?  Also can the cart be hidden during the checkout sequence.  Also the content of the checkout extends beyond the width of the centre colum on my template - most fits but the addresses seem too wide.  The semi developed site can be seen on the temporary server at:   tiger.directrouter.co.uk/~clinitas/  By the way I think you have done a great job with this - I don't really need the extra features of the paid for versions but will upgrade anyways when the site is sorted to support the project.")*

I switch "Use AJAX when possible" Yes to No and it now works fine. Thanks for you help.

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

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

Less More

- Posts: 147
- Thank you received: 6
-
-

12 years 3 months ago [\#166851](#166851) by [maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")  Replied by *[maujbigo](/forum/user/32468-maujbigo "View maujbigo's Profile")* on topic *[Show cart module only when it has something in](/forum/4-how-to/6189-show-cart-module-only-when-it-has-something-in?start=40#166851 "How do you configure the cart module to display only when a product has been added?  Also can the cart be hidden during the checkout sequence.  Also the content of the checkout extends beyond the width of the centre colum on my template - most fits but the addresses seem too wide.  The semi developed site can be seen on the temporary server at:   tiger.directrouter.co.uk/~clinitas/  By the way I think you have done a great job with this - I don't really need the extra features of the paid for versions but will upgrade anyways when the site is sorted to support the project.")*

Hi,
Has the option to hide the empty cart if there is no product?

I noticed that in this post was said it would be added on the next version and that was a couple of years ago.
So it might have happened already but I cant figure out.

Thanks

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

12 years 3 months ago [\#166864](#166864) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show cart module only when it has something in](/forum/4-how-to/6189-show-cart-module-only-when-it-has-something-in?start=40#166864 "How do you configure the cart module to display only when a product has been added?  Also can the cart be hidden during the checkout sequence.  Also the content of the checkout extends beyond the width of the centre colum on my template - most fits but the addresses seem too wide.  The semi developed site can be seen on the temporary server at:   tiger.directrouter.co.uk/~clinitas/  By the way I think you have done a great job with this - I don't really need the extra features of the paid for versions but will upgrade anyways when the site is sorted to support the project.")*

Hi,

Yes. You can use a translation override in order to remove the default text in the cart when it is empty:
[ hikashop.com/download/languages.html#modify](https://hikashop.com/download/languages.html#modify)
Then, Joomla should not display the module if its content is empty.

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

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

10 years 2 weeks ago [\#253637](#253637) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Show cart module only when it has something in](/forum/4-how-to/6189-show-cart-module-only-when-it-has-something-in?start=40#253637 "How do you configure the cart module to display only when a product has been added?  Also can the cart be hidden during the checkout sequence.  Also the content of the checkout extends beyond the width of the centre colum on my template - most fits but the addresses seem too wide.  The semi developed site can be seen on the temporary server at:   tiger.directrouter.co.uk/~clinitas/  By the way I think you have done a great job with this - I don't really need the extra features of the paid for versions but will upgrade anyways when the site is sorted to support the project.")*

Old post but I m curious!
Have you managed to hide the cart if the cart is empty? I did erase translation from language file and in the module but the module is there. Only the text I erased is missing. What I m missing here?

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

10 years 2 weeks ago -  10 years 2 weeks ago [\#253679](#253679) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Show cart module only when it has something in](/forum/4-how-to/6189-show-cart-module-only-when-it-has-something-in?start=40#253679 "How do you configure the cart module to display only when a product has been added?  Also can the cart be hidden during the checkout sequence.  Also the content of the checkout extends beyond the width of the centre colum on my template - most fits but the addresses seem too wide.  The semi developed site can be seen on the temporary server at:   tiger.directrouter.co.uk/~clinitas/  By the way I think you have done a great job with this - I don't really need the extra features of the paid for versions but will upgrade anyways when the site is sorted to support the project.")*

Hello,

You have to configure an new option in your Cart Module **Configuration** :
- Go to **Extensions** =&gt; **Modules**
- Use the **input search** to find required module with "**Cart**"

[ ![ModuleCart.png](/forum/attachment/34258) ](/forum/attachment/34258 "ModuleCart.png")

- Click on "**HikaShop Cart Module**" to edit it.
- Go on **HikaShop options** tab
- Then reproduce this configuration for **Hide if empty** option to **Hide**

[ ![CartEmptyOption.png](/forum/attachment/34259) ](/forum/attachment/34259 "...mptyOption.png")

Regards

- [ ![ModuleCart.png](/forum/attachment/34258) ](/forum/attachment/34258 "ModuleCart.png") [ ](/forum/attachment/34258?download=1 "ModuleCart.png")
- [ ![CartEmptyOption.png](/forum/attachment/34259) ](/forum/attachment/34259 "...mptyOption.png") [ ](/forum/attachment/34259?download=1 "...mptyOption.png")

Last edit: 10 years 2 weeks ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

9 years 2 days ago [\#282366](#282366) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Show cart module only when it has something in](/forum/4-how-to/6189-show-cart-module-only-when-it-has-something-in?start=40#282366 "How do you configure the cart module to display only when a product has been added?  Also can the cart be hidden during the checkout sequence.  Also the content of the checkout extends beyond the width of the centre colum on my template - most fits but the addresses seem too wide.  The semi developed site can be seen on the temporary server at:   tiger.directrouter.co.uk/~clinitas/  By the way I think you have done a great job with this - I don't really need the extra features of the paid for versions but will upgrade anyways when the site is sorted to support the project.")*

It still shows module, even if its empty.
Latest Joomla and Hikashop.

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

9 years 2 days ago [\#282367](#282367) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show cart module only when it has something in](/forum/4-how-to/6189-show-cart-module-only-when-it-has-something-in?start=40#282367 "How do you configure the cart module to display only when a product has been added?  Also can the cart be hidden during the checkout sequence.  Also the content of the checkout extends beyond the width of the centre colum on my template - most fits but the addresses seem too wide.  The semi developed site can be seen on the temporary server at:   tiger.directrouter.co.uk/~clinitas/  By the way I think you have done a great job with this - I don't really need the extra features of the paid for versions but will upgrade anyways when the site is sorted to support the project.")*

Hi,

It's probably a problem with how your template is rendering the modules:
[ www.hikashop.com/forum/content-creation/...if-empty.html#274262](https://www.hikashop.com/forum/content-creation/891190-hide-hikashop-content-module-if-empty.html#274262)

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

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

9 years 1 day ago [\#282396](#282396) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Show cart module only when it has something in](/forum/4-how-to/6189-show-cart-module-only-when-it-has-something-in?start=40#282396 "How do you configure the cart module to display only when a product has been added?  Also can the cart be hidden during the checkout sequence.  Also the content of the checkout extends beyond the width of the centre colum on my template - most fits but the addresses seem too wide.  The semi developed site can be seen on the temporary server at:   tiger.directrouter.co.uk/~clinitas/  By the way I think you have done a great job with this - I don't really need the extra features of the paid for versions but will upgrade anyways when the site is sorted to support the project.")*

Thanks nicolas, yes you are right.
Just for others using Yootheme templates: Go to Joomla backend &gt;&gt; Extensions &gt;&gt; Templates &gt;&gt; Open your template (edit) &gt;&gt; Options &gt;&gt; Modules find your module and set Style to Blank.
More info: [ yootheme.com/support/question/62620](https://yootheme.com/support/question/62620)

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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