Hi,
Does anyone know with virtuemart how to access a variable of the total items in the basket. Or even the quantity for an individual product?
At checkout I would like to write a function so that customers can only checkout with quantities of 12.
The code I can find is:
<?php echo $product['product_price'] ?>
Which returns a quantity box where the customer can change the quantity.
I've tried to follow the code to a quantity variable which is simply a number but have had no luck.
Any help would be much appreciated.
Thanks,
Piers