Post by Marburg » Tue Mar 13, 2012 7:31 am

Hi guys,

First time poster long time lurker.

I have the default currency on my site set as USD & would like to keep it this way as this is the currency my supplier uses. The site currently loads in USD & is viewable in AUD only if you click the A$ under currency. If possible, I would like the site to load in AUD & have the option to be viewed USD.
Does anyone know if this is possible?

I am using 1.5.1.2

Newbie

Posts

Joined
Fri Jan 27, 2012 8:38 pm

Post by Qphoria » Tue Mar 13, 2012 10:50 am

very nice and clean
You can force AUD
1. EDIT: index.php

2. FIND:

Code: Select all

$registry->set('currency', new Currency($registry));
3. AFTER, ADD:

Code: Select all

$currency = $registry->get('currency');
$currency->set('AUD');

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Marburg » Wed Mar 14, 2012 10:02 pm

Worked like a charm, thanks!

Newbie

Posts

Joined
Fri Jan 27, 2012 8:38 pm

Post by anti91 » Thu May 03, 2012 7:20 am

Qphoria Can you help me ? I can't change currency on my web site index. currency has'nt change When I changed it index.
Please help me and Look it: alisverisbook.(c)(o)(m)

New member

Posts

Joined
Tue Aug 30, 2011 8:27 am

Post by am_i » Mon Jan 27, 2014 5:45 pm

I find this solution fixes the currency. If one is using say five currencies for checkout pupose, then by this solution, one cannot change the currency.

Is there a way by which (even though the initial display currency is AUD), one can change the currency to any other as one wishes from the frontend options?

thanks

Newbie

Posts

Joined
Mon Jan 27, 2014 5:40 pm
Who is online

Users browsing this forum: No registered users and 58 guests