VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: tobisagt on February 07, 2012, 11:09:23 AM

Title: Change Dimensions format
Post by: tobisagt on February 07, 2012, 11:09:23 AM
Hi,

this is how my dimensions looks at the moment:

2.3000 13.0000 20.5000

------


What i want is:

2,3   13   20,5


Where i need to change it?
Title: Re: Change Dimensions format
Post by: karuppiah on February 07, 2012, 18:10:18 PM
Please provide the link of your site..
Title: Re: Change Dimensions format
Post by: tobisagt on February 07, 2012, 18:39:10 PM
Thx for you post.

My website isnt't finisehd yet, so i wont publish it here. I send you a PM with the link!

-Tobi
Title: Re: Change Dimensions format
Post by: karuppiah on February 08, 2012, 08:18:35 AM
I had seen your link..dimensions means height or width of the image?
Title: Re: Change Dimensions format
Post by: tobisagt on February 08, 2012, 09:30:18 AM
no, dimensions means the height, width, length of the product (books)
Title: Re: Change Dimensions format
Post by: tobisagt on February 11, 2012, 18:08:00 PM
Please, this is important for me! Someone have an answer??
Title: Re: Change Dimensions format
Post by: PixelZombie on April 24, 2012, 12:36:56 PM
http://php.net/manual/de/function.number-format.php

Do it like this for example:

<?php echo number_format($this->product->product_length2','''?>

this gives you 2,10