Support the VirtueMart project and become a member

Main Menu

Show Product Packaging on Details

Started by LeandroM, August 10, 2021, 22:27:17 PM

Previous topic - Next topic


Hi guys!

My system: VirtueMart 3.8.9 10514 + Joomla 3.9.28.

I want to show in product details the Packaging value and unit.

I tried this code below, but it only shows zero.

<?php //Product Packaging
if (!(($item->product_packaging)==0)) 

<span class="product-fields-title" >
<?php echo floor($item->product_packaging?>
<?php ?>

Anyone could help me return the value and the unit?