currencies in add to cart button

This forum is dedicated to discussions about shopping carts/ecommerce.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
Post Reply
hyamk
 
 
Posts: 1
Joined: Tue Feb 13, 2007 6:50 pm

currencies in add to cart button

Post by hyamk »

I added a paypal "add to cart" button, and when setting up the buttton noticed that not all currencies supported by paypal are listed. I need ILS - Israeli Shekels, I know that paypal supports shekels, but it's not in your list.
How can I add it, or can you do it?
User avatar
BaconFries
 
 
Posts: 5648
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

It can be done but you will need to manually modify the html yourself first just add any currency to the cart so that WB generates the line of code required in the cart it will look like the first line in example below now all you have to do is male changes so it looks the same as the second line
It is not possible to do this thrugh WB so you will need to open the HTML in a HTML editor such a Notepad ++ to make these changes
Example
<input type="hidden" name="currency_code" value="USD">
Modified
<input type="hidden" name="currency_code" value="ILS">

or you can use the extra variables and set like this...
Image

but you will/shoud still need to remove this from the original html generated by WB
<input type="hidden" name="currency_code" value="USD">
Post Reply