Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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?
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.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024