How to change the mod_virtuemart_cart display from total value to total quantity #2515
I am trying to modify / override the Virtuemart ajax dropdown cart module.
I am working on the file 'default.php' located in /templates/yoo_xxx/html/mod_virtuemart_cart/
I am trying to change the display of the left part of the cart button group from 'billTotal' to 'totalProducts'
the issue we encounter is that when adding a product to cart, the total value of the cart is displayed again (not the total number of items in the cart as we'd wish). Once we refresh the page, the Total number of products is displayed.
could you please point me towards the file I have to modify to ensure that pressing "Add To Cart" results in the total number of products being written to the module's display?