2
2
<rss xmlns:g =" http://base.google.com/ns/1.0" version =" 2.0" >
3
3
{%- paginate collection .products by 1000 -%}
4
4
{%- assign useSEOdescription = true -%}
5
- {%- assign additionalImagesForVariants = false -%}
5
+ {%- assign additionalImagesForVariants = true -%}
6
6
{%- assign includeOutOfStock = false -%}
7
- {%- assign filterVariantImagesByColor = false -%}
7
+ {%- assign filterVariantImagesByColor = true -%}
8
8
{% comment %}
9
9
This template is used to add additional information to the Facebook product catalog
10
10
Documentation: https://business.czarto.com/2019/12/11/update-your-shopify-facebook-product-feed-with-missing-attributes/
@@ -35,8 +35,6 @@ Documentation: https://business.czarto.com/2019/12/11/update-your-shopify-facebo
35
35
<item >
36
36
<g:id >{{ variant .id }}</g:id >
37
37
{% if useSEOdescription and product .metafields .global .description_tag .size > 0 %}<g:description >{{ product .metafields .global .description_tag | strip_html | strip_newlines | replace: '&' , '&' }}</g:description >{% endif %}
38
- <g:content _id >{{ variant .id }}</g:content _id >
39
- <link >{{ shop .url }}{{ variant .url }}</link >
40
38
<g:google _product_category >{{ GoogleProductCategory | replace: '&' , '&' }}</g:google _product_category >
41
39
{% if Material %}<g:material >{{ Material }}</g:material >{% endif %}
42
40
{% if Gender %}<g:gender >{{ Gender }}</g:gender >{% endif %}
@@ -52,8 +50,7 @@ Documentation: https://business.czarto.com/2019/12/11/update-your-shopify-facebo
52
50
{%- else -%}
53
51
54
52
<item >
55
- <g:id >{{ product .id }}</g:id >
56
- <link >{{ shop .url }}{{ product .url }}</link >
53
+ <g:id >{{ product .variants [0].id }}</g:id >
57
54
<g:google _product_category >{{ GoogleProductCategory | replace: '&' , '&' }}</g:google _product_category >
58
55
{% if useSEOdescription and product .metafields .global .description_tag .size > 0 %}<description >{{ product .metafields .global .description_tag | strip_html | strip_newlines | replace: '&' , '&' }}</description >{% endif %}
59
56
{% if Material %}<g:material >{{ Material }}</g:material >{% endif %}
0 commit comments