
feelslikefriday(@feelslikefriday)
6 Posts
Customers
Quote from feelslikefriday on August 5, 2019, 11:43
I've added to the Currency Switcher on the cart page. When users add an item to their basket and then want to switch currency, the item is being added again, because the dropdown points to /cart/?&add-to-cart=1821¤cy=EUR.
Is there a fix for this?
Thanks in advance,
pete
I've added to the Currency Switcher on the cart page. When users add an item to their basket and then want to switch currency, the item is being added again, because the dropdown points to /cart/?&add-to-cart=1821¤cy=EUR.
Is there a fix for this?
Thanks in advance,
pete

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on August 5, 2019, 12:41
Hello
Unfortunately it doesn’t depend on my plugin, it just reloads the page.
You can do a test: Disable my plugin, add any product to the basket and refresh this page.
Try this option - https://c2n.me/42VB3TM.png
Hello
Unfortunately it doesn’t depend on my plugin, it just reloads the page.
You can do a test: Disable my plugin, add any product to the basket and refresh this page.
Try this option - https://c2n.me/42VB3TM.png

feelslikefriday(@feelslikefriday)
6 PostsTopic Author
Customers
Quote from feelslikefriday on August 5, 2019, 12:51
Hi there, that option is enabled, but I think another plugin probably got on the way.
I sorted it for now by adding ..
string_of_get = string_of_get.replace('add-to-cart=', '');
.. to ./js/front.js (line #338).
It's not pretty, but it does the trick.
pete
Hi there, that option is enabled, but I think another plugin probably got on the way.
I sorted it for now by adding ..
string_of_get = string_of_get.replace('add-to-cart=', '');
.. to ./js/front.js (line #338).
It's not pretty, but it does the trick.
pete

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on August 6, 2019, 10:52
Hello Pete
Great!
Hello Pete
Great!

feelslikefriday(@feelslikefriday)
6 PostsTopic Author
Customers
Quote from feelslikefriday on August 6, 2019, 10:58
Is it something you might considering adding to your code so stuff doesn't break when my customer runs an update of the plugin?
Is it something you might considering adding to your code so stuff doesn't break when my customer runs an update of the plugin?

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on August 6, 2019, 11:03
Hello
I will pass this to the developers. They will test it. But I do not promise that it will be added to the new version
Hello
I will pass this to the developers. They will test it. But I do not promise that it will be added to the new version

feelslikefriday(@feelslikefriday)
6 PostsTopic Author
Customers
Quote from feelslikefriday on August 6, 2019, 11:03
Alright, thanks. Fingers crossed :)
cheers,
pete
Alright, thanks. Fingers crossed :)
cheers,
pete

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on August 7, 2019, 11:35
Hello
Welcome;)
Hello
Welcome;)