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


  • Jr. Member
  • **
  • Posts: 85
  • A beginner

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.


  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26917
  • Always on vacation
    • Jenkin Hill Internet

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 VM. on Joomla 3.8.10 PHP 7.0.30

Testing VM. on J3.8.10