News:

Looking for documentation? Take a look on our wiki

Main Menu

Product size with too much 0000

Started by Kongzi, March 28, 2022, 19:48:12 PM

Previous topic - Next topic

Kongzi

Hello,
Is there a way to do not display 4 zeros after the product size ? For example, I put 21cm for lenght and that display 21.0000 cm on the product page
Thanks, all the best

pinochico

#1
Why you don't search on google before?

https://stackoverflow.com/questions/14531679/remove-useless-zero-digits-from-decimals-in-php

Go to product detail PHP file and change value for product size self....

better create override file in template for product detail :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products