Quote from nikhil_dev on September 23, 2021, 12:49
Hi there,
I am using the WOOCS currency plugin on a client site, and we have Geo IP rules for currencies, whereby the currency changes based on user location, for example for Europe it displays Euro, UK it displays pound, and rest of the world it displays USD. The rules work well when users are on a single product page, but when we display products using a custom loop, the rules don't always work as expected.
Here is the site URL https://www.thenaturallovecompany.com/
On the homepage, you will see a section "Shop our bestsellers", this section uses custom loop to display the products.
To get the prices I am using $product->get_regular_price(); function, and to get currency I am using get_woocommerce_currency_symbol();
If you need any other info to troubleshoot the issue please let me know.
Thanks
Nikhil
Hi there,
I am using the WOOCS currency plugin on a client site, and we have Geo IP rules for currencies, whereby the currency changes based on user location, for example for Europe it displays Euro, UK it displays pound, and rest of the world it displays USD. The rules work well when users are on a single product page, but when we display products using a custom loop, the rules don't always work as expected.
Here is the site URL https://www.thenaturallovecompany.com/
On the homepage, you will see a section"Shop our bestsellers", this section uses custom loop to display the products.
To get the prices I am using $product->get_regular_price(); function, and to get currency I am using get_woocommerce_currency_symbol();
If you need any other info to troubleshoot the issue please let me know.
Thanks
Nikhil