Page 1 of 1

Currency sign is USD but GBP selected in admin ?

Posted: Mon Mar 20, 2017 7:23 am
by MugMan
Hi
I am in the process of setting up my first opencart.
I have set the local / currency etc to GBP £ but the USD $ symbol is still showing ?
Has Mr Trump insisted on this or have I missed a setting ?
Thanks
Roy

Re: Currency sign is USD but GBP selected in admin ?

Posted: Mon Mar 20, 2017 1:55 pm
by thekrotek
USD symbol is still showing where exactly?

Re: Currency sign is USD but GBP selected in admin ?

Posted: Mon Mar 20, 2017 4:38 pm
by MugMan
Hi it is in the item price and cart total in the header.

Re: Currency sign is USD but GBP selected in admin ?

Posted: Mon Mar 20, 2017 4:42 pm
by MugMan
I am still setting opencart for the first time. You can see the usd $ at
Www.mugsandglasses.co.uk/index.php there is a temp holding page at /index.htm

Re: Currency sign is USD but GBP selected in admin ?

Posted: Mon Mar 20, 2017 7:59 pm
by uksitebuilder
Seems fine to me, everything is in pounds sterling

You do however need to decide on whether you want to use your domain with or without the www subdomain

Presently you have your config.php set to use the domain without www

That is fine, but you should put a redirect in your .htaccess to redirect all www traffic to the non-www domain.

Re: Currency sign is USD but GBP selected in admin ?

Posted: Mon Mar 20, 2017 11:33 pm
by MugMan
Hi Thanks for looking.
Yes it seems to have gone to GBP £.
After I left the post I did go back into OC admin and deactivted the Euro & USD, maybe that did it ? GBP was already activated as default before though.
I have changed my config.php to www.mugsandglasses.co.uk thanks for the ehads up on that. I don't understand about .htaccess .. i will read about that later. Got lots of products to load urgently as I have taken down my old cart.
I will be buying a few of you add ons later - site maps and google market.
Thanks again.
Roy

Re: Currency sign is USD but GBP selected in admin ?

Posted: Tue Mar 21, 2017 12:04 am
by uksitebuilder
No problem.

Here is a snippet of code for the www redirect to add to your .htaccess file

Code: Select all

RewriteCond %{HTTP_HOST} !www
RewriteRule ^(.*)$ http://www.mugsandglasses.co.uk/$1 [R=301,L]
Add it directly after the line that reads RewriteBase /

Also, make sure that your config.php and admin/config.php both have all the URLs set with www.

Re: Currency sign is USD but GBP selected in admin ?

Posted: Tue Mar 21, 2017 1:33 am
by MugMan
Thank you.

I have already edited config.php FROM http://mugsandglasses.co.uk TO http://www.mugsandglasses.co.uk

Is that ok to edit the htaccess as well with what you sent ?

Thanks Roy

Re: Currency sign is USD but GBP selected in admin ?

Posted: Tue Mar 21, 2017 1:54 am
by uksitebuilder
Yes Roy, go ahead

Don't forget the admin/config.php