This topic has 4 replies, 2 voices, and was last updated 9 years, 5 months ago ago by Eva Kemp
Hello i am trying to link my currency converter plugin to the icons in the top of the screen, can you advise the best way to do this?
The Plugin vendor said it is entirely possible by: What you will have to do is add an argument to that link, so that it tells the Currency Switcher to activate a specific currency. The link would look like this: https://www.marygrant.com/shop/?aelia_cs_currency=USD (for US Dollars).
The only thing you will have to do is determine the current page URL, so that you can simply append the argument dynamically and reload the same page with a new currency. This means that:
– When the customer is on https://www.marygrant.com/, the links will point to https://www.marygrant.com/?aelia_cs_currency=USD.
– When she will be on https://www.marygrant.com/product/asymetrical-dress-16/, the links will point to https://www.marygrant.com/product/asymetrical-dress-16/?aelia_cs_currency=USD.
Can you please advise the best way to do this?
Hello,
As I see currency is changed when clicking the proper button in the menu section.
Please clarify what exactly you’re trying to achieve.
Thank you.
Regards,
Eva Kemp.
Thanks Eva i had to put in the default plugin buttons to test but i would love to introduce the fancy ones that came with the theme if possible. Is the above possible & if so do you know what files i would need to edit to add the linkage?
Hello,
Sorry, but our demo icons was used only to show compatibility of the theme with WPML plugin and multi-currency https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/ .
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up