PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

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

Changing WOOCS Currency Messes Up WOOF Price Range Values

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 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 have 2 currencies set up with WOOCS. I also have a price filter set up with WOOF. In my menu, I have items including min and max ranges - for example: /shop/?results=1&min_price=100&max_price=200

I need the price filter in WOOF to show the min and max value product results in whatever currency I choose to change to, but currently, when I change currency in WOOCS, the WOOF price values adjust in the sidebar. So for example, if I have CAD as first currency, and I have the min set to $100 and max set to $200 as it's in the URL above, everything works great. But the moment I change currency to USD, the sidebar price filter adjusts for the range to be $76 min and $152 max. I don't want this to happen. I want, when I change to USD, for the store to show me results still between $100 and $200, but now for items worth that much in USD.

How can I get this to work?

Hello

Try  in file \wp-content\plugins\woocommerce-products-filter\views\shortcodes\woof_price_filter_slider.php delete these lines - https://c2n.me/45hG9JC.png AND   in file  \wp-content\plugins\woocommerce-products-filter\js\front.js - delete - https://c2n.me/45hGl4j.png

Hello,

It worked for the sidebar, but the results are still showing the same products. I have a $90 USD item as a result in $100 to $200 range. Is there any additional code that needs to be modified?

Hello

In this case, you should hire a developer.

custom code should change the search query after changing the currency

Hello,

Don't the WOOF filters modify the products results loop? We thought getting both the WOOF and WOOCS plugins would solve this issue, that's the whole point why we bought them.

Also for the first fix for the sidebar values - is there a way that we can keep that fix as permanent so that we don't have to keep editing the plugin every time there is a WOOF update?

Hello

the WOOF and WOOCS plugins would solve this issue, - It is not issue. This is your custom functionality.

is there a way that we can keep that fix as permanent - Unfortunately no

Hello,

This is very much issue and we don't see how you can consider it custom functionality when your GET parameters are min_price=100&max_price=200 and yet we are getting product results such as $91.33 in the product loop. We use the GET parameters to generate price range URLs (for example,"Gift ideas $100 to $200") and $91.33 is clearly outside of that range.

Hello

Return all the code as it was before. Everything works correctly!

GET parameters are min_price=100&max_price=200  - Yes, that's right! All prices are stored in one currency! And the search goes only in one currency. And otherwise it will not work because prices are stored in the database without conversion

WOOCS - changes prices in the slider but not in the URL and it provides the correct filter operation