• Resolved shweta21

    (@shweta21)


    Hello,

    The Google Merchant Center is throwing warning for issue: Mismatched value

    Earlier when we have Calculate prices automatically (rom Product’s Edit tab), then also it was showing prices mismatch, but some other way. Like if on feed the price is USD 6.46, Google says, the price on Site is 6.50

    So we started manually entering the prices for few of the products. As can be seen from here – https://i2.paste.pics/360fcdfc1b3aa4995ce3adb8038db1fa.png
    Mean, instead of having it as 6.46, we manually entered as USD 6.50, so that it stopped throwing this warning, considering it as round-off value to nearest number

    However, it is still throwing Price Mismatch error as can be seen here –
    https://i2.paste.pics/de87fbf260175df49d63ac5583de55d0.png

    Strange to see that, even though we have set the price for this item manually as USD 6.50 only, but when we view using the VPN (country as USA), then it shows USD 7.00 on site.

    What is going on here. It seems the currency plugin is having some issues here. It seems plugin is converting the prices to “Whole numbers” irrespective of what we enter at backend. If the price is in decimal, then it is converting to nearest whole number.

    Can you please check and resolve. For reference, you check this product –
    https://www.vasangini.com/product/hand-painted-indian-elephant-tapestry-queen-bedspread/

    We are from India, and base currency is INR. For USA we have set USD and submitted the feeds for USA only.

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi there,

    This problem is due to the number of decimals. You set 6.5 USD, but since the number of decimals is zero, Woocommerce round the price to zero decimals: 6.5 > 7

    To solve the issue, set the number of decimals to 2 in the WooCommerce general settings (or specify the price also using zero decimals)

    Thread Starter shweta21

    (@shweta21)

    Hello,

    Thank you for your prompt response.
    Yes, that is set to zero from Woocommerce Global settings. Because we do not want to show prices in decimals for India as it does not makes sense to write Rs. 530.50 for India.

    But we want to keep decimal prices for USA. Can you please suggest how can we do that.

    If you could please share some code snippet just for USA to show decimal prices (by not interfering with the price format for India, that is default one)

    That would really help us to atleast resolve this issue.

    Or else, if there is a way to show the prices in INR without trailing zeros (as 2 decimal format) when we enable 2 decimal points in Woo settings. So that way, it can show 2 decimal values for All countries, except India

    Please understand we cannot set prices as USD 6 or USD 7, if we want to keep the price as 6.25 or 6.50 or 6.75 (as that makes some reasonable difference for customers)

    Regards

    • This reply was modified 1 year, 4 months ago by shweta21.
    Plugin Author Oscar Gare

    (@oscargare)

    Hi there,
    Please check the currency options of the pricing zone settings. PRO version allows you to trim zeros, change the number of decimals by pricing zone, etc.

    Thread Starter shweta21

    (@shweta21)

    Hello,

    I understand that such feature is available in PRO versions.

    But how can we achieve this some other way, using the Free version.

    If you could please share some code snippet just for USA to show decimal prices (by not interfering with the price format for India, that is default one)

    Or else, if there is a way to show the prices in INR without trailing zeros (or as 2 decimal format) when we enable 2 decimal points in Woo settings. So that way, it can show 2 decimal values for All countries, except India

    That would really help us to atleast resolve this issue.

    Regards

    Plugin Author Oscar Gare

    (@oscargare)

    Hi!
    I would be happy to help, but you have to understand that my support from this forum has some limits. I don’t provide code to customize the WooCommerce functionality.
    The WooCommerce documentation is a great point to start:
    https://woocommerce.com/documentation/technical/reference/snippets/

    If you dive a bit, I’m sure you’ll find something to help you.
    You can also ask for help in the WooCommerce forum:https://www.ads-software.com/support/plugin/woocommerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘issue: Mismatched value on GSC. Plugin converting price to Whole numbers’ is closed to new replies.