VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Anik on March 05, 2012, 11:32:56 AM

Title: Showing Units
Post by: Anik on March 05, 2012, 11:32:56 AM
hello,

in vm2 weight and length does not show in description. how to show it?

thanks.
Title: Re: Showing Units
Post by: SamF on March 06, 2012, 07:16:21 AM
Hello,

here is a list of available fields: http://forum.virtuemart.net/index.php?topic=92756.0

QuoteProduct Weight
<?php echo $this->product->product_weight ?>

Product Weight Unit of Measure
<?php echo $this->product->product_weight_uom ?>

Product Length
<?php echo $this->product->product_length ?>

Product Width
<?php echo $this->product->product_width ?>

Product Height
<?php echo $this->product->product_height ?>
Title: Re: Showing Units
Post by: Anik on March 06, 2012, 07:43:52 AM
need to to add them one products details page or template files?
Title: Re: Showing Units
Post by: SamF on March 06, 2012, 07:53:24 AM
Template, if it overrides the default view. Otherwise, in the product detail view itself.
Title: Re: Showing Units
Post by: Anik on March 06, 2012, 07:55:27 AM
Thanks, i will configure and update here the result.
Title: Re: Showing Units
Post by: Chinas on April 19, 2012, 14:41:57 PM
Quote from: SamF on March 06, 2012, 07:16:21 AM
Hello,

here is a list of available fields: http://forum.virtuemart.net/index.php?topic=92756.0

QuoteProduct Weight Unit of Measure
<?php echo $this->product->product_weight_uom ?>
You are invited to write contracted version of the unit. How to display the full name, supporting multilingualism?