VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Darko F. on March 28, 2023, 13:30:40 PM

Title: Cart module disappears till one product is added to cart
Post by: Darko F. on March 28, 2023, 13:30:40 PM
After update to

VirtueMart 4.0.14 10805
and Joomla 4.2.9

I notice that  module VM - Shopping cart disappears, till I add one product in cart.

That behaviour even if is expected is not correct, because google and users really hate Cumulative Layout Shift

and second if user is logged in, and get message that previous selected product are loaded in cart, they cannot go to the cart, because cart module is not there for them.

Title: Re: Cart module disappears till one product is added to cart
Post by: jenkinhill on March 28, 2023, 15:02:00 PM
Do you have a menu link to the cart?
Title: Re: Cart module disappears till one product is added to cart
Post by: Roderic on March 28, 2023, 16:15:46 PM
I've noticed the same behaviour on one website. The owner of that shop has called twice because of this problem. But it doesn't happen all the time.

I just tested, it works fine in Chrome, where I'm not logged in. The cart doesn't show up in Firefox, where I am logged in.

(J3.10 / VM 4.0.14)
Title: Re: Cart module disappears till one product is added to cart
Post by: Darko F. on March 28, 2023, 17:40:30 PM
Yes I have menu link to cart, but is hidden.
and I using brave browser
And is happen if I'm loged in or not. Just delete cookies and cart module is gone.
If I visit cart menu, even if empty module show up, also show if I add product in cart.
Title: Re: Cart module disappears till one product is added to cart
Post by: pimo on May 26, 2023, 17:11:00 PM
This happens to me from time to time, it's random. Virteumar 4.0.2 and joomla 4.3.1
Title: Re: Cart module disappears till one product is added to cart
Post by: GJC Web Design on June 02, 2023, 14:26:58 PM
this has been fixed in later versions
Title: Re: Cart module disappears till one product is added to cart
Post by: niosme on June 09, 2023, 11:55:28 AM
Quote from: Darko F. on March 28, 2023, 17:40:30 PM
Yes I have menu link to cart, but is hidden.
and I using brave browser
And is happen if I'm loged in or not. Just delete cookies and cart module is gone.
If I visit cart menu, even if empty module show up, also show if I add product in cart.

I can aggree! In the first visit of a site the cart module is hidden! After the next page load it shows up even if you dont put something in cart!
Still a problem in 4.0.20