Page 1 of 1

currency problems

Posted: Mon Jun 16, 2025 12:12 am
by Chulain
I am trying to set up a new store on v 4.1.0.3. (my live store is V3.0.3.9)
I have a few problems, lets start with the simple one.
I have 2 problems relating to currency.
A. the currency in the top left never changes from "currency", no matter what currency is selected.
B. the Symbols left/right do not allow addition of a space. the space is always truncated.

Any ideas as to why this different handling between versions?

Re: currency problems

Posted: Mon Jun 16, 2025 4:25 pm
by ADD Creative
A. The symbol should change but the word 'Currency' should not.
B. You could insert a non-breaking space.

Re: currency problems

Posted: Mon Jun 16, 2025 5:48 pm
by paulfeakins
Chulain wrote:
Mon Jun 16, 2025 12:12 am
I am trying to set up a new store on v 4.1.0.3. (my live store is V3.0.3.9)
Most experienced OpenCart developers don't suggest moving to that version yet.

Re: currency problems

Posted: Tue Jun 17, 2025 2:01 am
by Chulain
@ADD creative
many currencies use the same '$' symbol. V3 used to change 'currency' as appropriate. In my case, to 'Canadian'
' ' is displaying as ' ' no html interpretation being applied.

@paul
Agreed. Am just testing at the moment.

Re: currency problems

Posted: Tue Jun 17, 2025 4:54 am
by ADD Creative
I believe you must have had an theme/extension/modification that added a name to the currency. My install of version 3 only has a symbol.

You have to enter the space with a character code (Alt + 0160 in a Windows PC).

Re: currency problems

Posted: Tue Jun 17, 2025 11:47 am
by Chulain
Thanks for your reply and help.
that character trick worked.
as for currency, I do not understand.
I have no themes. I have a few ocmods, but none referring to currency. I will try to go back through the source on v3 and see if I can pin it down further.

Re: currency problems

Posted: Tue Jun 17, 2025 4:15 pm
by ADD Creative
Just did some more testing and both version 3 and 4 work the same way. If the browser's window is wide it will display the symbol and the word 'Currency'. If the browser window is narrow it will just display the symbol.