News:

Looking for documentation? Take a look on our wiki

Main Menu

Product Dimensions Are not display on Product Details page

Started by niravmistry, January 25, 2017, 10:48:45 AM

Previous topic - Next topic

niravmistry

I used Virtue mart 3.0.18.I have already insert some product in it. Now i want to add product dimension so i go to Product Dimensions and Weight tab. I enter product dimensions and save it. But i ill not display on product details page.

So Please guide me how to solve this issue.

jenkinhill

Edit and override components/com_virtuemart/views/productdetails/tmpl/default.php  (or templates/[your-joomla-template]/html/com_virtuemart/productdetails/tmpl/default.php if already using overrides) to include the code to display the required info. 

See the code examples in http://forum.virtuemart.net/index.php?topic=92756.0

eg something like this to show the weight and units:  <?php echo $this->product->product_weight . $this->product->product_weight_uom ?>

https://docs.virtuemart.net/tutorials/templating-layouts.html
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum