Hi there,
I am just wondering if it’s possible to get rid of the decimal points in the Blue or Pink Circle but remains those in the shopping cart and invoices for billing purposes.
Now with the decimal points, the prices doesn’t look very nice in the circle with too many 0s. So If we can make the decimal points like 00 at the end smaller and with a underscore could be even better, It will look nicer personally.
I’m happy with either way.
Best regards,
Sam
|
|
Hello Sam,
You can remove the decimal point from Admin -> System -> Localization -> Currencies -> Edit Currency -> Decimal Places.
However, this is a global setting and if you change it to 0 (no decimal values), you will have whole number prices everywhere (cart, invoices, listings etc.)
Best regards,
ThemeBurn team
|
|
Thanks for your reply.
I understand the global setting like you said. What I want to do was that the price can have 0 decimal point at the product/home page, and only have 2 decimal point in cart and elsewhere.
Is this possible through some code mods?
Cheers,
Sam
|
|
Unfortunately, you can’t just modify the price only at one place.
It may be possible with some code mods, but I won’t be a one line modification for sure.
We think the official OpenCart forums will provide more help here.
Best regards,
ThemeBurn team
|
|
any ideea how to make the decimals smaller? just the decimals.
|
|
@Adyyda
Unfortunately there is no way to style only the decimals. The price in OpenCart is not very flexible for modification.
Best,
ThemeBurn team
|
|
thanks for the response. will stop looking
|
|
Mind sharing how did you do it?
|
|