
nickmpatzios(@nickmpatzios)
7 Posts
Customers
Quote from nickmpatzios on September 20, 2024, 07:18
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,
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?

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 20, 2024, 10:38
Hello
I disabled your custom theme - https://share.pluginus.net/image/i20240920113647.png
Now it works correctly - https://share.pluginus.net/video/v20240920113819.mp4
Hello
I disabled your custom theme - https://share.pluginus.net/image/i20240920113647.png
Now it works correctly - https://share.pluginus.net/video/v20240920113819.mp4

nickmpatzios(@nickmpatzios)
7 PostsTopic Author
Customers
Quote from nickmpatzios on September 20, 2024, 13:27
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.
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.

nickmpatzios(@nickmpatzios)
7 PostsTopic Author
Customers
Quote from nickmpatzios on September 20, 2024, 20:01
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;
}
});
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;
}
});

nickmpatzios(@nickmpatzios)
7 PostsTopic Author
Customers
Quote from nickmpatzios on September 23, 2024, 13:56
Hello,
Have you checked?
Thanks
Hello,
Have you checked?
Thanks

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 23, 2024, 16:33
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
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

nickmpatzios(@nickmpatzios)
7 PostsTopic Author
Customers
Quote from nickmpatzios on September 23, 2024, 16:36
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;
}
});
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;
}
});

nickmpatzios(@nickmpatzios)
7 PostsTopic Author
Customers
Quote from nickmpatzios on September 23, 2024, 17:20
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?
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?

nickmpatzios(@nickmpatzios)
7 PostsTopic Author
Customers
Quote from nickmpatzios on September 23, 2024, 17:26
I have updated the private date with a video of the issue. Please check.
I have updated the private date with a video of the issue. Please check.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 24, 2024, 16:22
Hello
ok! I disabled your thema - https://c2n.me/4lxvHn5
Hello
ok! I disabled your thema - https://c2n.me/4lxvHn5