Moderator: madimar
Ciao devo riportare i quantitativi a un decimale, cancellare i tre 0 dopo la virgola. Come devo fare? dal db non riesco....
Attachments
Screenshot_3.png (25.38 KiB) Viewed 2019 times
There are a number of ways to do that and it also will depend on your OC version but search for “number rounding" in google - it will provide php versions but it can also be done in twig.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
per favore suona così bello in italiano
admin/view/template/catalog/product_form.twig
change
to
You may have some other edit to it already so check your modification folders and remember to refresh cache.
admin/view/template/catalog/product_form.twig
change
Code: Select all
value="{{ minimum }}"
Code: Select all
value="{{ minimum|number_format(2) }}"
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Who is online
Users browsing this forum: No registered users and 6 guests