Get rid of the decimal points on the front or product page

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeGet rid of the decimal points on the front or product page

This topic has been marked as resolved.

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

October 6, 2011 at 10:08 am #2198

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

October 6, 2011 at 12:15 pm #2202

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

October 6, 2011 at 4:46 pm #2211

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

October 6, 2011 at 5:20 pm #2214

any ideea how to make the decimals smaller? just the decimals.

 Adyyda
October 16, 2011 at 12:17 am #2567

@Adyyda

Unfortunately there is no way to style only the decimals. The price in OpenCart is not very flexible for modification.

Best,
ThemeBurn team

October 17, 2011 at 11:31 am #2620

thanks for the response. will stop looking

 Adyyda
October 17, 2011 at 11:36 am #2622

solved

 Adyyda
November 14, 2011 at 10:11 pm #3528

Mind sharing how did you do it?

March 11, 2013 at 6:24 pm #20074
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.