2 of 2
2
“Deniro” Currency Converter Plugin
Posted: 02 February 2010 11:09 AM   [ Ignore ]   [ # 19 ]  
Summer Student
Total Posts:  24
Joined  05-18-2009

Hey Stephen,

I’m using Deniro for a fashion e-commerce site. The site will be in UK sterling, but with the option to click through to convert the currency to either Dollars, Euro or Yen. If the user clicks through to a certain currency then any subsequent clicks to other product pages or search pages will maintain the foreign currency conversion.

Is there away to achieve this without duplicating all the templates and effectively having separate sites?

Thanks

Simon

Profile
 
 
Posted: 02 February 2010 11:15 AM   [ Ignore ]   [ # 20 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  510
Joined  03-21-2006

Hi Simon,

My first thought was that you could do something with URL segments. Check for the existence of a “preferred currency” segment and then use that to determine what you’re displaying.

If the preferred currency segment exists, use Deniro to display the base amount, converted to the preferred currency.

If the preferred currency segment does not exist, display the base amount, and use Deniro to display the alternative currencies.

I haven’t tried this out, so I’m not sure if you’ll encounter any parse order issues; you may need to enable PHP on input.

Cheers,
Stephen

 Signature 

Stephen Lewis |  EE Addons  |  Twitter  |  Custom EE Addon Development

Profile
 
 
Posted: 19 May 2010 09:39 AM   [ Ignore ]   [ # 21 ]  
Summer Student
Total Posts:  18
Joined  07-04-2008

Hi Stephen,
First of all: very nice plugin! At least that’s what I think before experiencing it because I can’t get it to work :(

I’m running EE 1.6.9 build 20100430 and the latest version of the plugin (I guess it’s 1.1.0).
I installed correctly but it’ messes up something. When I try to access “Utilities > Plugin Manager” I get a blank screen and when I place the expression on a template I get this error:

Parse errorsyntax errorunexpected T_STRINGexpecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /[my_server_path]/plugins/pi.deniro.php on line 32 

At first I was using EE 1.6.8 so I recently updated it just in case an older version of EE was the problem but unfortunately it wasn’t.
Any thoughts?

Thanks in advance! :D

Profile
 
 
Posted: 19 May 2010 10:34 AM   [ Ignore ]   [ # 22 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  510
Joined  03-21-2006

Sounds like you’re using PHP 4 Fernando. Deniro requires PHP 5.

Cheers,
Stephen

 Signature 

Stephen Lewis |  EE Addons  |  Twitter  |  Custom EE Addon Development

Profile
 
 
Posted: 19 May 2010 10:44 AM   [ Ignore ]   [ # 23 ]  
Summer Student
Total Posts:  18
Joined  07-04-2008

Oops, I missed that one, I changed and it works great now.
Thanks for the quick reply and now I can confirm: awesome plugin! wink

Profile
 
 
Posted: 19 May 2010 10:55 AM   [ Ignore ]   [ # 24 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  510
Joined  03-21-2006

Great, glad you got it sorted Fernando.

Cheers,
Stephen

 Signature 

Stephen Lewis |  EE Addons  |  Twitter  |  Custom EE Addon Development

Profile
 
 
Posted: 19 May 2010 10:59 AM   [ Ignore ]   [ # 25 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  510
Joined  03-21-2006

Hello all,

Deniro support has been moved to the official Experience Internet help forum. I’ll continue to monitor this thread, but any future posts will be met with a polite request to re-post on the Deniro help forum.

Cheers,
Stephen

 Signature 

Stephen Lewis |  EE Addons  |  Twitter  |  Custom EE Addon Development

Profile
 
 
   
2 of 2
2