News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Show Product Packaging on Details

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

Previous topic - Next topic

LeandroM

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 JText::_('COM_VIRTUEMART_PRODUCT_PACKAGING'?>:
</span>
<?php echo floor($item->product_packaging?>
</br>
<?php ?>


Anyone could help me return the value and the unit?