Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions src/Resources/views/Feed/Google/Shopping/_item.txt.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
<item>
{% apply spaceless %}
{% apply setono_sylius_feed_remove_empty_tags %}
<g:id>{{ item.id|e }}</g:id>
<title>{{ item.title|e }}</title>
<g:description>{{ item.description|e }}</g:description>
<link>{{ item.link|e }}</link>
<g:image_link>{{ item.imageLink|e }}</g:image_link>
<g:id><![CDATA[{{ item.id|e }}]]></g:id>
<title><![CDATA[{{ item.title|e }}]]></title>
<g:description><![CDATA[{{ item.description|e }}]]></g:description>
<link><![CDATA[{{ item.link|e }}]]></link>
<g:image_link><![CDATA[{{ item.imageLink|e }}]]></g:image_link>
{% for additionalImageLink in item.additionalImageLinks %}
<g:additional_image_link>{{ additionalImageLink|e }}</g:additional_image_link>
<g:additional_image_link><![CDATA[{{ additionalImageLink|e }}]]></g:additional_image_link>
{% endfor %}
<g:availability>{{ item.availability|e }}</g:availability>
<g:price>{{ item.price|e }}</g:price>
<g:sale_price>{{ item.salePrice|e }}</g:sale_price>
<g:sale_price_effective_date>{{ item.salePriceEffectiveDate|e }}</g:sale_price_effective_date>
<g:brand>{{ item.brand|e }}</g:brand>
<g:gtin>{{ item.gtin|e }}</g:gtin>
<g:mpn>{{ item.mpn|e }}</g:mpn>
{% if item.identifierExists is same as(false) %}<g:identifier_exists>false</g:identifier_exists>{% endif %}
<g:condition>{{ item.condition|e }}</g:condition>
<g:item_group_id>{{ item.itemGroupId|e }}</g:item_group_id>
<g:google_product_category>{{ item.googleProductCategory|e }}</g:google_product_category>
<g:product_type>{{ item.productType|e }}</g:product_type>
<g:shipping>{{ item.shipping|e }}</g:shipping>
<g:size>{{ item.size|e }}</g:size>
<g:color>{{ item.color|e }}</g:color>
<g:availability><![CDATA[{{ item.availability|e }}]]></g:availability>
<g:price><![CDATA[{{ item.price|e }}]]></g:price>
<g:sale_price><![CDATA[{{ item.salePrice|e }}]]></g:sale_price>
<g:sale_price_effective_date><![CDATA[{{ item.salePriceEffectiveDate|e }}]]></g:sale_price_effective_date>
<g:brand><![CDATA[{{ item.brand|e }}]]></g:brand>
<g:gtin><![CDATA[{{ item.gtin|e }}]]></g:gtin>
<g:mpn><![CDATA[{{ item.mpn|e }}]]></g:mpn>
{% if item.identifierExists is same as(false) %}<g:identifier_exists><![CDATA[false]]></g:identifier_exists>{% endif %}
<g:condition><![CDATA[{{ item.condition|e }}]]></g:condition>
<g:item_group_id><![CDATA[{{ item.itemGroupId|e }}]]></g:item_group_id>
<g:google_product_category><![CDATA[{{ item.googleProductCategory|e }}]]></g:google_product_category>
<g:product_type><![CDATA[{{ item.productType|e }}]]></g:product_type>
<g:shipping><![CDATA[{{ item.shipping|e }}]]></g:shipping>
<g:size><![CDATA[{{ item.size|e }}]]></g:size>
<g:color><![CDATA[{{ item.color|e }}]]></g:color>
{% for idx, customLabel in item.customLabels %}
<g:custom_label_{{ idx }}>{{ customLabel|e }}</g:custom_label_{{ idx }}>
<g:custom_label_{{ idx }}><![CDATA[{{ customLabel|e }}]]></g:custom_label_{{ idx }}>
{% endfor %}
{% endapply %}
{% endapply %}
Expand Down