News:

Support the VirtueMart project and become a member

Main Menu

Showing Units

Started by Anik, March 05, 2012, 11:32:56 AM

Previous topic - Next topic

Anik

hello,

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

thanks.
www.downloadhutz.com - Free Softwares | www.gangoos.com/seo - Free SEO Info

SamF

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 ?>

Anik

need to to add them one products details page or template files?
www.downloadhutz.com - Free Softwares | www.gangoos.com/seo - Free SEO Info

SamF

Template, if it overrides the default view. Otherwise, in the product detail view itself.

Anik

Thanks, i will configure and update here the result.
www.downloadhutz.com - Free Softwares | www.gangoos.com/seo - Free SEO Info

Chinas

#5
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?