Author Topic: Cart module disappears till one product is added to cart  (Read 336 times)

Darko F.

  • Jr. Member
  • **
  • Posts: 125
  • Skype Name: DarkoF
  • VirtueMart Version: VirtueMart 4.0.4 10688
Cart module disappears till one product is added to cart
« 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.

There in no problem if you fall. Problem is if you don't get up

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28598
  • Always on vacation
    • Jenkin Hill Internet
Re: Cart module disappears till one product is added to cart
« Reply #1 on: March 28, 2023, 15:02:00 pm »
Do you have a menu link to the cart?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.0.22 10858  J 3.10.11 PHP 8.0.27

Roderic

  • Jr. Member
  • **
  • Posts: 54
Re: Cart module disappears till one product is added to cart
« Reply #2 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)

Darko F.

  • Jr. Member
  • **
  • Posts: 125
  • Skype Name: DarkoF
  • VirtueMart Version: VirtueMart 4.0.4 10688
Re: Cart module disappears till one product is added to cart
« Reply #3 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.
There in no problem if you fall. Problem is if you don't get up

pimo

  • Beginner
  • *
  • Posts: 19
  • A beginner
Re: Cart module disappears till one product is added to cart
« Reply #4 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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10803
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Cart module disappears till one product is added to cart
« Reply #5 on: June 02, 2023, 14:26:58 pm »
this has been fixed in later versions
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation