Jump to content

Override shown decimals in cart/checkout


onklmaps

Recommended Posts

I want to show 2 decimals in cart and checkout, but leave the rest of prices to show what ever configurations says.

 

Example: Blouse cost $19 in product(s)-controller and in all modules.
This value is rounded from $19.34 ≈ $19 according to the PS_CONFIGURATION rounding mode and type + decimals: none;

But when I go to checkout I want to override the number of decimals shown: $19.34
Also I want all totals, shipping etc to not cut away the decimals.

I have been playing around in the Cart-class, but so far no result. 

 

Anyone that has done such a thing and can point me in the right direction?

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...