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

#   Cart shows empty, on return to home page

##

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

Less More

- Posts: 107
- Thank you received: 2
-
-

5 years 2 months ago [\#334827](#334827) by [bw92116](/forum/user/31703-bw92116 "View bw92116's Profile")  *[Cart shows empty, on return to home page](/forum/27-checkout/903034-cart-shows-empty-on-return-to-home-page#334827 "-- url of the page with the problem -- :   fireworksland.com/index.php  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.28 -- PHP version -- : 7.4.21 -- Browser(s) name and version -- : Safari 11.1.2, Firefox 78.12.0esr, Chrome 92.0.4515.115 (Android)  Home page is   fireworksland.com/index.php  and the cart module at the bottom of the page shows &quot;The cart is empty.&quot;  Then, place any item in the cart, for example any shirt. As an example the product page at   www.fireworksland.com/stores/shirts/2013-05-09-03-23-30  Add 1 shirt to cart. The cart shows that shirt.  Then, return to home page,   fireworksland.com/index.php  Now the cart shows empty.  Return to the product page,   www.fireworksland.com/stores/shirts/2013-05-09-03-23-30  Now the shirt is showing in the cart.  Whenever the customer goes back to the home page, the module shows &quot;The cart is empty.&quot; I can't figure out why the cart shows as empty, on the main page of my site, even if there is an item in the cart. Thank you for your help")* was created by *[bw92116](/forum/user/31703-bw92116 "View bw92116's Profile")*

-- url of the page with the problem -- : [ fireworksland.com/index.php](https://fireworksland.com/index.php)
-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.28
-- PHP version -- : 7.4.21
-- Browser(s) name and version -- : Safari 11.1.2, Firefox 78.12.0esr, Chrome 92.0.4515.115 (Android)

Home page is [ fireworksland.com/index.php](https://fireworksland.com/index.php) and the cart module at the bottom of the page shows "The cart is empty."

Then, place any item in the cart, for example any shirt.
As an example the product page at [ www.fireworksland.com/stores/shirts/2013-05-09-03-23-30](https://www.fireworksland.com/stores/shirts/2013-05-09-03-23-30)
Add 1 shirt to cart. The cart shows that shirt.

Then, return to home page, [ fireworksland.com/index.php](https://fireworksland.com/index.php)
Now the cart shows empty.

Return to the product page, [ www.fireworksland.com/stores/shirts/2013-05-09-03-23-30](https://www.fireworksland.com/stores/shirts/2013-05-09-03-23-30)
Now the shirt is showing in the cart.

Whenever the customer goes back to the home page, the module shows "The cart is empty."
I can't figure out why the cart shows as empty, on the main page of my site, even if there is an item in the cart.
Thank you for your help

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMzAzNC1jYXJ0LXNob3dzLWVtcHR5LW9uLXJldHVybi10by1ob21lLXBhZ2U/dG1wbD1tYXJrZG93bg==) 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: 86320
- Thank you received: 14279
-
-

5 years 2 months ago [\#334832](#334832) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart shows empty, on return to home page](/forum/27-checkout/903034-cart-shows-empty-on-return-to-home-page#334832 "-- url of the page with the problem -- :   fireworksland.com/index.php  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.28 -- PHP version -- : 7.4.21 -- Browser(s) name and version -- : Safari 11.1.2, Firefox 78.12.0esr, Chrome 92.0.4515.115 (Android)  Home page is   fireworksland.com/index.php  and the cart module at the bottom of the page shows &quot;The cart is empty.&quot;  Then, place any item in the cart, for example any shirt. As an example the product page at   www.fireworksland.com/stores/shirts/2013-05-09-03-23-30  Add 1 shirt to cart. The cart shows that shirt.  Then, return to home page,   fireworksland.com/index.php  Now the cart shows empty.  Return to the product page,   www.fireworksland.com/stores/shirts/2013-05-09-03-23-30  Now the shirt is showing in the cart.  Whenever the customer goes back to the home page, the module shows &quot;The cart is empty.&quot; I can't figure out why the cart shows as empty, on the main page of my site, even if there is an item in the cart. Thank you for your help")*

Hi,

You have a cache issue on your website.
Follow that procedure, and after you've confirmed that the cart is still empty on the homepage, just add a parameter like ?test=1 in the URL of the page in the address bar of your browser and validate and you'll see that the cart module now has the correct content.
And if you remove again the parameter and display the homepage again, you'll see again the cart module without the added product.
So what that means is that the cart in the database has the correct data, but that when you go to a page you already displayed, the website / server doesn't ask HikaShop to display the cart module because that URL was already generated previously and thus you don't see the new content of the cart.
So the question now becomes : what cache mechanism do you have in place on your website / hosting which could do that ?
You'll likely want to tune that cache mechanism to no cache the cart module or pages where the cart module is displayed if the cache system has such settings, or disable that cache mechanism altogether and replace it with one with more fine-grained control of what to cache.

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

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

Less More

- Posts: 107
- Thank you received: 2
-
-

5 years 2 months ago [\#334860](#334860) by [bw92116](/forum/user/31703-bw92116 "View bw92116's Profile")  Replied by *[bw92116](/forum/user/31703-bw92116 "View bw92116's Profile")* on topic *[Cart shows empty, on return to home page](/forum/27-checkout/903034-cart-shows-empty-on-return-to-home-page#334860 "-- url of the page with the problem -- :   fireworksland.com/index.php  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.28 -- PHP version -- : 7.4.21 -- Browser(s) name and version -- : Safari 11.1.2, Firefox 78.12.0esr, Chrome 92.0.4515.115 (Android)  Home page is   fireworksland.com/index.php  and the cart module at the bottom of the page shows &quot;The cart is empty.&quot;  Then, place any item in the cart, for example any shirt. As an example the product page at   www.fireworksland.com/stores/shirts/2013-05-09-03-23-30  Add 1 shirt to cart. The cart shows that shirt.  Then, return to home page,   fireworksland.com/index.php  Now the cart shows empty.  Return to the product page,   www.fireworksland.com/stores/shirts/2013-05-09-03-23-30  Now the shirt is showing in the cart.  Whenever the customer goes back to the home page, the module shows &quot;The cart is empty.&quot; I can't figure out why the cart shows as empty, on the main page of my site, even if there is an item in the cart. Thank you for your help")*

Thank you for your reply Nicolas.
My Joomla system cache is off completely.
Does this mean I will have to go in and edit the .htaccess file?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMzAzNC1jYXJ0LXNob3dzLWVtcHR5LW9uLXJldHVybi10by1ob21lLXBhZ2U/dG1wbD1tYXJrZG93bg==) 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: 86320
- Thank you received: 14279
-
-

5 years 2 months ago [\#334862](#334862) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cart shows empty, on return to home page](/forum/27-checkout/903034-cart-shows-empty-on-return-to-home-page#334862 "-- url of the page with the problem -- :   fireworksland.com/index.php  -- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.28 -- PHP version -- : 7.4.21 -- Browser(s) name and version -- : Safari 11.1.2, Firefox 78.12.0esr, Chrome 92.0.4515.115 (Android)  Home page is   fireworksland.com/index.php  and the cart module at the bottom of the page shows &quot;The cart is empty.&quot;  Then, place any item in the cart, for example any shirt. As an example the product page at   www.fireworksland.com/stores/shirts/2013-05-09-03-23-30  Add 1 shirt to cart. The cart shows that shirt.  Then, return to home page,   fireworksland.com/index.php  Now the cart shows empty.  Return to the product page,   www.fireworksland.com/stores/shirts/2013-05-09-03-23-30  Now the shirt is showing in the cart.  Whenever the customer goes back to the home page, the module shows &quot;The cart is empty.&quot; I can't figure out why the cart shows as empty, on the main page of my site, even if there is an item in the cart. Thank you for your help")*

Hi,

Why would editing the .htaccess file help remove the cache mechanism you have on your pages ?
I don't think it will help. If you don't know what cache mechanism you have in place, it might be something at the server level. And thus, you might want to contact your hosting support to check with them what can be done.

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

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

[](#top)
