Skip to content

Commit

Permalink
Fix gtin tag not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Nykolyszyn committed May 10, 2021
1 parent c2bda7e commit 417d99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/Index/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function execute()
<g:image_link><![CDATA[" . $imageUrl . "]]></g:image_link>
<g:brand><![CDATA[" . $brand . "]]></g:brand>
<g:mpn><![CDATA[" . ($product->hasData('mpn') ? $product->getData('mpn') : $product->getSku()). "]]></g:mpn>
<g:gtin><![CDATA[" . ($product->hasData('gtin') ? $product->getData('gtin') : ''). "]]></g:mpn>
<g:gtin><![CDATA[" . ($product->hasData('gtin') ? $product->getData('gtin') : ''). "]]></g:gtin>
<g:product_type><![CDATA[" . $product->getTypeID() . "]]></g:product_type>
<g:shipping>
<g:country>UK</g:country>
Expand Down

0 comments on commit 417d99b

Please sign in to comment.