Support Forum

Content of the article

You need to log-in to create request (topic) to the support

Product is added to basket again after switching currency

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
If you not got email within 24 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

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&currency=EUR.

Is there a fix for this?

 

Thanks in advance,

pete

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

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

Hello Pete

 

Great!

Is it something you might considering adding to your code so stuff doesn't break when my customer runs an update of the plugin?

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

Alright, thanks. Fingers crossed :)

 

cheers,

pete

Hello

Welcome;)