- This topic has 1 reply, 1 voice, and was last updated 12 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › 'Add to cart' button & currencies
Hi there,
We have added some functionality to the plugin (just using include files) to allow us to display product choices & currency options in a dropdown. Of course I don’t expect support for anything we have done but just wanted to see if you could shed some light on this issue. If not, I completely understand.
The client wants to change from selling ‘subscriptions’ to allowing users to add each item to the cart & this is where I’ve stumbled.
Previously, the subscribe button was displayed in the page template using this:
<?php echo print_eStore_subscribe_button_form(1); ?>
Now I want to change this to an ‘add to cart’ button I can’t seem to get it to recognise the currencies we have specified in our include file. Adding a ‘buy it now’ button, however works BUT of course redirects users to PayPal straight away. We want to simply add each item to the cart.
The ‘Add to cart’ button kind of works, but ignores the currencies from the include file and adds everything in GBP, the default currency.
I’m using this to display the add to cart.
<?php echo get_button_code_for_product(19); ?>
Maybe I’m trying to do something that can’t be done easily but if you could have a quick look I’d appreciate it.
Page template code
Include file (js) which specifies currencies & prices.
I found my answer, of course the cart cannot support more than one currency.
Thanks!