Author Topic: Show cart quantity for each product currently in cart on category view?  (Read 200 times)

mailblade

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
Hello

Is there a way I can show the cart quantity for each product in the category view?

I'd like to add a small note in the category layout for each product which says: "Currently in cart - 5" (or whatever the value of the product in the cart is)

How would I go about that?

So the category layout must only show the cart total for each product.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26428
  • Always on vacation
    • Jenkin Hill Internet
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 VM3.2.8 on Joomla 3.8.3 PHP 7.0.25

Testing VM3.2.8.9695 on J3.8.3