- Posts: 6
- Thank you received: 0
Remove GBP currency code from all areas
- Ariadna
- Offline
- New Member
-
Less
More
10 years 3 months ago #56820
by Ariadna
Replied by Ariadna on topic Remove GBP currency code from all areas
Hi Laurie,
In my case it happen the same, is not the same code, test with ,$configClass; (is a coma, not a dot) and replace with the ;
It's like delete all that config data from the php files...
it work fine for me, hope you can do it too.
Regards!
In my case it happen the same, is not the same code, test with ,$configClass; (is a coma, not a dot) and replace with the ;
It's like delete all that config data from the php files...
it work fine for me, hope you can do it too.
Regards!
Please Log in or Create an account to join the conversation.
- Laurie Roberts
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
10 years 3 months ago #56822
by Laurie Roberts
Replied by Laurie Roberts on topic Remove GBP currency code from all areas
Thanks for your response.
There are many instances of that code in those files. No real refence to the currency code.
Just to try it I changed all instances, which broke the code. Have put all the code back to original.
Dam can you help with exact lines to change please. You have a login for my site, and I have installed xtplorer if you want to look at the code on my site.
Regards
Laurie
There are many instances of that code in those files. No real refence to the currency code.
Just to try it I changed all instances, which broke the code. Have put all the code back to original.
Dam can you help with exact lines to change please. You have a login for my site, and I have installed xtplorer if you want to look at the code on my site.
Regards
Laurie
Please Log in or Create an account to join the conversation.
- Ariadna
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
10 years 3 months ago #56823
by Ariadna
Replied by Ariadna on topic Remove GBP currency code from all areas
Here is an example 
In the code of the default.php there are a lot of lines that contain the $configClass, this is one:
global $mainframe,$configClass;
Then i changed (comment) the code to:
global $mainframe;//,$configClass; what is the same to delete it and have this code:
global $mainframe;
So is global $mainframe,$configClass; with no ,$configClass = global $mainframe;
hope it help you.
PD: in dreamweaver , make a replace like Find
,$configClass;
and replace with
;//,$configClass;
OR
,$configClass;
replace to:
;
(because global $mainframe; have to be closed with that symbol to avoid a broken code)
Good luck!

In the code of the default.php there are a lot of lines that contain the $configClass, this is one:
global $mainframe,$configClass;
Then i changed (comment) the code to:
global $mainframe;//,$configClass; what is the same to delete it and have this code:
global $mainframe;
So is global $mainframe,$configClass; with no ,$configClass = global $mainframe;

PD: in dreamweaver , make a replace like Find
,$configClass;
and replace with
;//,$configClass;
OR
,$configClass;
replace to:
;
(because global $mainframe; have to be closed with that symbol to avoid a broken code)
Good luck!
Please Log in or Create an account to join the conversation.
- Laurie Roberts
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
10 years 3 months ago #56825
by Laurie Roberts
Replied by Laurie Roberts on topic Remove GBP currency code from all areas
Did what you said in default.php. Yes it removes GBP from the add on options are, but not from items added to the cart.
If I do the same for default.html.php it breaks the code and the cart does not display.
Just to add to the problem, it would be nice to have the £ sign in front of the price on optional add-ons drop downs,
as once the GBP is removed it just shows the price as a plain number.
If I do the same for default.html.php it breaks the code and the cart does not display.
Just to add to the problem, it would be nice to have the £ sign in front of the price on optional add-ons drop downs,
as once the GBP is removed it just shows the price as a plain number.
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.