VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: varorain on January 15, 2018, 09:00:24 AM

Title: Product not showing in cart after adding to cart
Post by: varorain on January 15, 2018, 09:00:24 AM
Hello,

I am running an online store www.airplantplanet.com and see a weird issue. I was facing the issue since VM 3.2.6 so upgraded to 3.2.12 with a hope that i would not face that. I feel that this is happening with Guest User
I will describe the scenario below:

1. User comes on the site www.airplantplanet.com and clicks on Shop Now which leads the user to the product page.
2. The user selects a product and clicks on add to cart. The popup notification shows that product added to cart. Now click on show cart, and the product is visible there(Sometimes it isn't visible).
3. Click on continue shopping or click on Shop now from the top navigation.
4. Add another product to the cart, and click on show cart. The new product is not shown there.
5. Click on update quantity on any other item in the cart.
6. The page refreshes and the product that was not visible becomes visible.
7. Navigate to some other page and come back to the cart, and the product is not visible. Performing step no. 5, and we can see and check out the product again.

Can someone please help me. I am kind of new to VM so maybe this is a noob question or i missed something
Title: Re: Product not showing in cart after adding to cart
Post by: GJC Web Design on January 15, 2018, 10:56:21 AM
Yes.. can repeat the problem

have you caching set on? try with off

try with SEF urls off
try with the std protostar template
Title: Re: Product not showing in cart after adding to cart
Post by: Jumbo! on January 15, 2018, 19:08:18 PM
It must be a Page Cache issue of your site.

Go to Joomla Global Configuration and check if you have set "System Cache" as "ON - Progressive caching". If yes then you should change that to "ON - Conservative caching".

Next go to Joomla Plugin Manager and disable the plugin called "System - Page Cache", if enabled.

Now check again.
Title: Re: Product not showing in cart after adding to cart
Post by: varorain on January 16, 2018, 05:41:29 AM
Changing the Caching from "On - Progressive" to "On-Conservative" and disabling the Page Cache Plugin resolved the issue.

Thanks for the help guys.. Truly Appreciate it.