Hi,
there is a field called "Units in box" inside product creation menu. I tried to find the product page field in order to use it in my custom productdetailspage but I could not find it. I tried
<?php echo $this->product->product_units_in_box ?>
but it didnt work
Any ideas?
<?php echo $this->product->product_unit ?>
It is in a sticky at the top of this page! http://forum.virtuemart.net/index.php?topic=92756.0
thank you for the reply but this is something else. I have read the sticky. You are reffering to product unit eg Kilogramm, milligram, pounds etc. I want to show the "units in box" that is, how many units are inside the box. Example, product is a box of medical examination gloves, which contains 100 gloves in the packaging. So units in the box = 100.
ANy other ideas?
Quote from: jenkinhill on May 02, 2014, 20:44:51 PM
<?php echo $this->product->product_unit ?>
It is in a sticky at the top of this page! http://forum.virtuemart.net/index.php?topic=92756.0
does <?php echo $this->product->product_packaging ?> show it?
Quote from: GJC Web Design on May 02, 2014, 21:59:54 PM
does <?php echo $this->product->product_packaging ?> show it?
unfortunately this shows something else. It is for liquid units or weight units. For example how many litres is the product. It's not how many units are in the box...
I always understood that the units in a box value is to be used with shipping plugins that use the parameter in calculating shipping cost.
Found it
$this->product->product_box
Quote from: GJC Web Design on May 02, 2014, 23:52:07 PM
Found it
$this->product->product_box
I tried various compinations but not this one! Thank you very much!