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

wrong currency for products with attributes

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.

Hi,

I have noticed that google is not showing my products with attributes as it is fetching the wrong currency prices (mismatched product price).

An example: https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?attribute_pa_colour=grey?currency=AED

It does not matter which currency code is in the URL… The browser is showing only the already selected currency by the user.

https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?attribute_pa_colour=grey?currency=USD

https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?attribute_pa_colour=grey?currency=GBP

https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?attribute_pa_colour=grey?currency=INR

All these above mentioned URLs show price is only the selected currency in the browser.

Otherwise, the same product without an attribute shows the correct currency as per the URL.

Example: https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?currency=AED

https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?currency=NZD

https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?currency=SGD

Kindly help.

I have noticed that the URLs for products with attributes has"?" twice, due to which there is a conflict and hence the correct currency is not being fetched.

https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?attribute_pa_colour=grey?currency=INR

It should have"?" for the attribute and"&" for the currency.

https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?attribute_pa_colour=grey&currency=INR

https://www.muteyaar.com/golden-polka-print-dupatta-semi-chinon-with-pakhi-gota/?attribute_pa_colour=grey&currency=GBP

But how this setting can be done with the currency switcher?

Hello

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

Thanks.

I was able to add a code snippet and changed the URL structure to get the desired result.

 

thanks.

OK!  Great!