Hello everybody!
I need to add two properties of a product (product's unit of measure and an information whether the product is discounted or not) to the main products' grid.
I have found out I need to modify the following file:
/components/com_virtuemart/themes/mytemplate/templates/browse/browse_x.php
So I added these two lines:
<?php echo $product_unit ?>
<?php echo $product_special ?>
If I add something else, like a static text, it is displayed correctly (so I guess it is the right file to modify).
My solution does not work (no information is displayed). Please help me! I guess the problem has to be easy to solve for an experienced VirtueMart user.
OK, the unit works fine if I use "product_weight_uom". What about the special / promoted mark (the little checkbox in the admin panel) Where is it?
"/components/com_virtuemart/themes/mytemplate/templates/browse/browse_x.php" ???
That was for the old VirtueMart 1.1 series. http://forum.virtuemart.net/index.php?topic=106865.0
Which version are you using? This board is for VirtueMart 2.