Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

structured_data price is incorrect, when the url contains a variant id #3647

Closed
ciriousjoker opened this issue Oct 9, 2024 · 1 comment
Closed

Comments

@ciriousjoker
Copy link

ciriousjoker commented Oct 9, 2024

Describe the current behavior

Since the update that uses the structured_data filter, the price data provided to the Google Merchant center is incorrect.

Example 1:
http://example.com/products/product1

  • price on website: 10 €
  • price in structured data: 10 €
    This works as expected and Google accepts it and lists the product.

Example 2:
http://example.com/products/product1?variant=someRandomId

  • price on website: 10 €
  • price in structured data: 8 € (seems to be the price without any tax information)
    In this case, Google will reject the product, citing that the structured data price doesn't match what's displayed on the website. This leads to the product being delisted from Google Shopping, thus leading to revenue loss.

In both scenarios, it's irrelevant if product1 actually has any variants. It could be that it has no variants but the (I guess default) variant is appended to the url anyway by the Shopify feed or it has a variant that is required to be added to the feed url for it to make sense.

Describe the expected behavior

The price should include tax and match what's displayed on the website itself, no matter if the link contains a variant id or not.

Version information (Dawn, browsers and operating systems)

  • Dawn Version: 15
  • Chrome Version irrelevant
  • macOS Version irrelevant

Possible solution

Nothing we can do on our end. Seems like a bug that only Shopify can fix within the structured_data filter.

Additional context/screenshots

@ciriousjoker
Copy link
Author

Nevermind, this was happening because the variant link also contained the "currency" parameter. Therefore, when Google is querying the site from USA, tax isn't included.

Solution:
Remove currency parameter from the urls through the merchant center.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant