Jump to content

Change variables format


birchoff

Recommended Posts

Hi, 

on PS 1.7.6.0 on frontend I'm showing few dimension variables like: 

{$product.width}
{$product.depth}
{$product.height}

On backend I write them in Shipping tab in format like: "5", "10", "23" etc. But on front they show in format "5.000000", "10.000000" etc. 

How to show them without zeros after . ? I would like to show them in format "5", "10" etc. like on backend... 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...