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

Default currency added to mini cart when ajax add to cart is enabled

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.

Hello,

So, the default currency is EUR, the secondary is GBP, and I have set custom product prices for GBP.

When you add a GBP product to the cart, and the ajax add to cart is enabled, the mini cart displays the price of the product in EUR, and if you refresh the page, it shows GBP.

I have tried to deactivate all plugins and cache and switched to another theme, and nothing has been fixed.

Could you check?

 

Hello

I disabled your custom theme - https://share.pluginus.net/image/i20240920113647.png

Now it works correctly - https://share.pluginus.net/video/v20240920113819.mp4

How do you see 1.85GBP? The custom price of this variation is 1.9GBP.

Also, how do you see pounds? do you put ?currency=gbp in the URL?

 

For me, it still doesn't work.

Also, my case is similar to this: https://pluginus.net/support/topic/woocs-labs-problem-with-villatheme-s-woocommerce-cart-all-in-one-premium-plugin/

 

I am also using Polylang and this custom code to redirect:

 

add_filter('wp_head', function() {
$lang = get_locale();
global $WOOCS;
switch ($lang)
{
case 'en_GB':
$WOOCS->set_currency('GBP');
break;
default:
$WOOCS->set_currency('EUR');
break;
}
});

Hello,

Have you checked?

Thanks

Hello

How do you see 1.85GBP? - Perhaps it’s your tax settings or other customizations.  I disabled my plugin. Your  product price  - https://c2n.me/4lwKTG7.png and on a product page - https://c2n.me/4lwKU22.jpg

Also, my case is similar to this:  - Nope. Because the problem with your custom code

Which custom code? If it's the below, then its from your docs:

 

add_filter('wp_head', function() {
$lang = get_locale();
global $WOOCS;
switch ($lang)
{
case 'en_GB':
$WOOCS->set_currency('GBP');
break;
default:
$WOOCS->set_currency('EUR');
break;
}
});

The difference in price happens because of geolocation and taxes, index. However, this does not solve the issue. Please can you check my first message again?

I have updated the private date with a video of the issue. Please check.

Hello

ok! I disabled  your thema - https://c2n.me/4lxvHn5