Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Using multiple currencies with eStore AND affiliate plugin
- This topic has 12 replies, 3 voices, and was last updated 10 years ago by admin.
-
AuthorPosts
-
October 23, 2014 at 12:27 pm #11670KarlMember
I have recently added WP eStore to my arsenal of T&T HQ plugins.
I have a problem which is a real brainteaser. It is interesting and is a bit of a challenge to even frame the problem, hence I have fleshed it all out below. This post is not as long as it appears, because most of it is just going over what I have done up to this point.
I have a one-product website. The product can be bought as a single, a double pack or a 4-pack.
My basic aim SOUNDS simple…. but not so simple in practice:
– Accept multiple currencies.
– List the products (the ones to be sold in the different currency) as fixed prices (not as variable prices based on a conversion rate lookup) on a separate page (or even separate domain if necessary).
– Have it all work with the WP Affiliate plugin
Problem 1:
Affiliate plugin can only cumulate in one currency, no matter the currency used for purchase.
Solution 1:
Specify a fixed commission rate, as opposed to %, thus making the value in the cart irrelevant to the commission assigned.
Problem 2:
The above solution assigns the fixed commission rate per ITEM, not per CART checked out. If a double pack and a 4-pack were added, then the commission would double.
Problem 3:
Commission does not reflect the overall value of the cart. The same commission is assigned for a single as for a 4-pack. Affiliates will prefer getting more for the larger sale.
Solution 2/3:
Use WP eStore to assign fixed commission amounts for each product. This would then produce an effective cart-% commission rate, as I would manually assign greater or smaller fixed commission depending on the value of the pack selected.
Problem 4:
Currency for each product is set as an overall setting in eStore, so all products will be in one currency.
Solution 4:
Use the product-specific settings to change the currency for duplicate sets of product, thus creating offerings of all currencies you want.
Problem 5:
Add to Cart button does not work for this!! Only buttons which link direct to paypal.
Solution 5:
????
Currently I have a made *******.com with the ability to sell in USD via eStore and a **********.com/uk with the artwork listing in GBP and the product specific settings set to GBP but only ability to do direct-to-paypal payment. When trying to add to cart, it simply puts them in the previous currency (but with the numerical part of the pound price put in). Having read through these forums, I’m aware that the add to cart functionality is not avaible in this case.
Proposed solutions:
1. Entirely new domain with new installation of WP eStore. This way I can set the overarching currency setting to the currency I want to sell in via that domain. PROBLEM: How to make this work with the same affiliate plugin on **********.com. I can’t have affiliates sign up multiple times and have them list multiple links on their articles or banners. I need them to all direct the traffic to ********.com and I will handle the geo-redirect from there. PROPOSED SOLUTION TO THIS PROBLEM: I’m not exactly sure of the inner workings of these plugins but if the visitor is initially referred to *****.com and then geo-redirected to ******.co.uk, then the cookie will be placed by ******.com (does it have time?) and then after they complete the purchase via *********.co.uk, they will be redirected to the ********.com ‘thankyou page’ (?) and the WP Affiliate plugin on the ********.com site will have the ability to then capture the information of the sale and assign the correct commission…. somehow…? Perhaps using the same exact product ID on the ******.co.uk eStore installation as it is listed on the *******.com eStore installation.
2. The above but using a different sub-domain instead of a different domain. (no idea how all the subdomain stuff works).
3. Sacrifice the option of having an ‘Add to cart’ option completely on all non-USD products. PROBLEM: doesn’t achieve the result I want. More of a dumb-down fix on my part. This is a last resort.
4. Do some CSS or .php wizardry in my eStore plugin file to get the cart to accept any currency that is placed inside it (doesn’t matter if it incurs an error if someone manages to put a USD and a GBP in the same basket, because they will realise the error pretty easily and just remove the one in the currency they don’t want) PROBLEM: I’m not sure if this is trivial or a very complex task. Plus I would want the ‘Add to Cart’ url redirect to be to a DIFFERENT cart page than when they put a USD product in the cart. (the cart page is the chance for them to add more or add different pack sizes to their cart – and it must be added in the correct currency)
5. Somehow use a ‘different’ WP eStore installation on the same domain, using some means to differentiate the two so they don’t get confused.
6. Use WP eStore for USD products and WP Simple Paypal Shopping Cart for the GBP products, and use them on the same domain. PROBLEM: I’ll quickly run out of shopping cart plugins to use, when I start offering EUR, AUD CAD etc…!! Also: would this work fine with WP Affiliate Plugin or screw the whole thing up(???)
7. Somehow get WP affiliate plugin to work over several domains, in the eventuality that my proposed solution 1 does not work how I propose. I know that a plugin on one domain can’t set a cookie for another domain but… that’s about where my knowledge ends on that subject.
Any of these any good? Apart from number 3 of course
THANKS!
October 23, 2014 at 12:36 pm #66304KarlMemberP.S.
Regarding ‘PROBLEM‘ in Proposed solution 4 –
The redirecting to a unique cart page would be solved by using ‘Text link to accomodate the purchase of a product’
October 23, 2014 at 12:40 pm #66305KarlMemberP.P.S.
This thread (https://support.tipsandtricks-hq.com/forums/topic/second-currency-in-subdirectory) may have relevance to a solution. But I do not know enough, about how this plugin works, to say for sure.
October 29, 2014 at 8:38 pm #66306KarlMemberAny ideas?
I’m currently using band-aid solution number 3 so that the site is functioning.
October 29, 2014 at 9:19 pm #66307wzpModeratorI think nobody responded, because your post sounded mostly rhetorical. Could you please restate the problem, so that it sounds like a problem, that we can fix? “I want X, but Y happens instead.”
October 30, 2014 at 12:01 am #66308KarlMemberAs you wish…
‘I want Add to Cart button for eStore to work for multiple currencies… but it doesn’t’
Why I want = I need all the currency options going through the same eStore install (i.e. on the same domain). Why I can’t use separate domains = I’m using WP Affiliate Plugin, which will not track referrals over multiple domains. I detailed all the other things so that you may be able to suggest an alternate solution relevant to what i’m actually trying to achieve. I.e. a website that accepts multiple currencies and tracks commissions ubiquitously
October 30, 2014 at 1:35 am #66309adminKeymasterAre you talking about having items of different currency in the cart at the same time?
October 30, 2014 at 10:06 am #66310KarlMemberNo, not at the same time.
But to be able to accept either, depending on which is sent its way (by means of an Add to Cart Button).
My site lists the £ items and the $ items on separate pages (and the products are identical, apart from the currency), hence an individual visitor would never find themselves in the situation of putting more than one currency in the cart. And I wouldn’t want/need a multi-currency checkout (if that is even possible).
The way it’s setup now is: If you want to buy in dollars then you get the luxury of using a cart and the ability to add to that cart (allowing tweaking of quantities, use of coupon codes and adding more than one item). If you want to buy in pound sterling then you are stuck with just going direct to paypal. If I try and use Add to Cart shortcode on those items (which have specific product settings set to GBP) it will overwrite that and enter it as USD when using the Add to Cart.
Can this be changed?
October 30, 2014 at 11:34 pm #66311adminKeymasterThese other currency products/buttons will be on a separate WordPress install correct? I am asking a few extra questions because we don’t have exactly what you asked for out of the box. So I am trying to see if I can put together a custom solution for you.
October 31, 2014 at 10:43 am #66312KarlMemberHi Admin,
(Thanks for the responses. Much appreciated!)
That’s the thing: I’m aiming to do it on the SAME install. The reason is because I want to award affiliates commission fairly, I.e. if they refer someone to my website but then that person switches to the UK £ version, I want it to remain being tracked. In other words, it must be on the same domain because the affiliate plugin does not track across multiple domains.
(in case you’re wondering, I have solved the problem of the affiliate plugin not differentiating between currencies when selecting the commission amount, see last post here: https://support.tipsandtricks-hq.com/forums/topic/awarding-affiliate-commission-for-purchases-in-different-currencies)
If you want, you can check out my website: [www.elixa-probiotic.com] and see how I’ve got it set up. I’ve put a manual country change option (just $ and £ for now) and you’ll notice that the US ‘Add To Cart’ buttons, add the product to cart. Whereas the UK buttons just go straight to Paypal (best solution for now). I am yet to launch my affiliate program, but it’s almost fully set up and ready to go.
October 31, 2014 at 11:14 pm #66313adminKeymasterAs far as I can see the following multi-currency addon should work fine for this:
https://www.tipsandtricks-hq.com/ecommerce/wp-estore-multi-currency-addon-2030
Your user will click on the add to cart button to add items to the cart (by default will be US dollar). Then when they are in the cart page, there will be a widget to switch the currency to £UK. The cart will automatically do the conversion and allow the customer to checkout using the selected currency.
November 1, 2014 at 1:04 pm #66314KarlMember‘- Accept multiple currencies.
– List the products (the ones to be sold in the different currency) as fixed prices (not as variable prices based on a conversion rate lookup) on a separate page (or even separate domain if necessary).
– Have it all work with the WP Affiliate plugin’
As you can see, using the multicurrency addon would mean no fixed prices.
A company needs to sell as £14.99 or $24.99 (for example) and have artwork that matches this (artwork that doesn’t change). It’s not ideal to list £14.99 and $23.98 or whatever number it happens to be on the day of the conversion.
I don’t know code specifics, but when you use the Add To Cart button, it sends a numerical value to the cart and the cart adds the currency-type that has been specified in its settings.
If the Add To Cart button sent the numerical value AND the currency-type (and either there was no currency-type option in the main cart settings OR it was designed to be overwritten by product-specific currency-types) then this would work.
I.e. Instead of sending ‘14.99’ and ‘Product name’, it would send ‘14.99’, ‘Product Name’ and ‘Currency-type’.
As i’m not a coder, I do not know how trivial or how complex that code would be. So I’m really not sure whether it’s going to be possible. Conceptually it is simple, but maybe to execute it is hard!
Thanks.
November 7, 2014 at 1:08 am #66315adminKeymasterI think we can solve the issue like this:
Your main issue with the multi-currency addon is that it looks up the currency conversion rate dynamically and convert the product prices accordingly. You want to have a fixed price that doesn’t change at all based on the currency conversion rete. So, how about I do a custom job for you so the currency conversion rate is set to a fixed number that will give you the following price and it never changes:
£14.99 or $24.99
I think that should achieve the same goal. If you want it, please fill out the following form:
-
AuthorPosts
- You must be logged in to reply to this topic.