Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change currency with image button?

Change currency with image button?

Locked

Views: 1,267

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
1 Nov 2006, 7:15 PM
#1
andyase avatar

andyase

Zen Follower

Join Date:
Oct 2005
Posts:
102
Plugin Contributions:
0

Change currency with image button?

Hi all

I am trying to create an image that will be used as a button, I want to swap between GBPounds and Euro by clicking 2 images.

When I added the code (from the dropdown currency) it changes the currency only when on the main page, if im in a product it returns to the main page(because i copied and pasted the code)?
Is there any code I could use to make it work same as the currency dropdown

Cheers
Andy

1 Nov 2006, 7:18 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,607
Plugin Contributions:
0

Re: Change currency with image button?

You might want to follow the example of the Languages Side box and adapt it for currencies.

1 Nov 2006, 8:45 PM
#3
andyase avatar

andyase

Zen Follower

Join Date:
Oct 2005
Posts:
102
Plugin Contributions:
0

Re: Change currency with image button?

I dont suppose you know where it is or what its called, ive searched for an hour but can't find it.:lamo:

2 Nov 2006, 1:13 AM
#4
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Change currency with image button?

If only copy portions of codes will have problems. :smile:
It related to sessions.

Added to Kim's suggestion, the following mod and topics will give more references. The same concepts applied.

Mod: Language/Currency Links in Header

Topics:
Language/Currency Links in Header
Lang selector

.