How can I add my brand/sku/mpn to my product ratings feed to Google?

Topic summary

A user needs to add brand/SKU/MPN identifiers to their Google product ratings feed to improve performance, since they lack a GTIN. They’re using the Multifeeds for Google Shopping app.

Proposed Solution:
Shopify Support provided XML/Liquid code to add to product.liquid that pulls:

  • Brand from the product vendor field
  • SKU from product variants

However, the user’s theme (Parallax by Out of the Sandbox) doesn’t contain a product.liquid file.

Key Responses:

  • One commenter suggests configuring reviews directly within the Multifeed app settings rather than adding XML code to product pages
  • Another user has a similar issue requiring MPN to match their SKU for review feeds
  • Alternative solutions mentioned include using the Multiple Google Shopping Feeds app or adding MPN values via spreadsheet

Status: The original question about where to place the code in a theme without product.liquid remains unresolved. Discussion suggests app-based configuration may be preferable to theme file editing.

Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

Since I don’t have a GTIN for my product, Google said my review feed would “perform” better if I add that I one or all of brand/sku/mpn. (FYI-I’m using Multifeeds for Google Shopping as the app for the feed).

Shopify Support suggested the following code to be placed in the product.liquid file after the text"Liquid error: This liquid context does not allow includes."

{% if product.vendor %}
<g:brand>{{ product.vendor | escape }}</g:brand>
{% endif %}
{% if product.variants.first.sku %}
<g:mpn>{{ product.variants.first.sku | escape }}</g:mpn>
{% endif %}
This code will add the brand information to the product feed using the “vendor” field in your Shopify product settings. It will also add the SKU information using the “sku” field in your product variants.

However, my theme (Parallax by Out of the Sandbox) does not have this text in that file. Is there another place to put the code?

1 Like

If you are using the multifeed app, then reviews can be connected in the app, check the settings when you scroll lower.

With regards to Shopify example, that is XML coding, and does not belong on a product page.

Did you get a solution to this?, I have a similar issue I need my mpn to be the same as my sku for my review feed.

If you can not add the SKU value in your data feed, then I guess you are using the Google and youtube app. So if adding the SKU to the MPN attribute is needed, I recommend using: https://apps.shopify.com/multiple-google-shopping-feeds

Alternatively, you could also add a spreadsheet to add the MPN value.