Jump to content
Ladislav Němec

Desetinná místa pouze v košíku

Recommended Posts

Ahoj,
věděl by někdo jak desetinná místa zobrazovat pouze v košíku a to jen u částek bez DPH? Jinak mít zaokrouhleno na celá čísla.

Díky.

Share this post


Link to post
Share on other sites
Posted (edited)

Věděl 🙂

V košíku ?

Co je v košíku ?

Obrázek napoví 😉

Jinak najít v tpl cenu bez dph a upravit podle formátu níže.

{Tools::displayPrice (Tools::ps_round(cena_bez_dph,0))}

Tam kde chceš mít desetiny změníš 0 na 2.

Edited by D. Tengler (see edit history)

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More