我想使用可配置和简单的产品关系为Google购物创建供稿。任何机构都对如何创建可配置和简单的产品关系供稿有任何想法/示例xml文件。
经过一些研发,我自己弄清楚了。基本上,我们需要对所有简单产品使用项目组ID,并且它应该具有父产品的sku,以便Google Shopping知道这些产品是变体,而不是彼此的重复副本。
命名变体产品时,请确保包括所有变体项目的通用标题
请查看下面的示例,以便它也可以帮助其他人。
<?xml version='1.0'?>
<rss version ='2.0' xmlns:g='http://base.google.com/ns/1.0'>
<channel>
<title><![CDATA[Website Title]]></title>
<description><![CDATA[Website Desctiption.]]></description>
<link>http://www.domain.com/</link>
<item>
<g:id>2450</g:id>
<title><![CDATA[Product Title]]></title>
<link>http://www.domain.com/product_url/</link>
<g:price>70.00 USD</g:price>
<g:sale_price>49.00 USD</g:sale_price>
<description><![CDATA[Product Description.]]></description>
<g:condition>new</g:condition>
<g:expiration_date>2013-11-20</g:expiration_date>
<g:image_link>http://www.domain.com/product_image_name.png</g:image_link>
<g:brand><![CDATA[Product Brand]]></g:brand>
<g:mpn><![CDATA[Product SKU]]></g:mpn>
<g:product_type><![CDATA[Shoes]]></g:product_type>
<g:google_product_category><![CDATA[Apparel & Accessories > Shoes]]></g:google_product_category>
<g:availability>in stock</g:availability>
<g:size>6</g:size>
<g:gender>Female</g:gender>
<g:age_group>Adult</g:age_group>
<g:color>BLUE</g:color>
<g:item_group_id>Configurable Products Sku</g:item_group_id>
</item>
<item>
<g:id>2450</g:id>
<title><![CDATA[Product Title]]></title>
<link>http://www.domain.com/product_url/</link>
<g:price>70.00 USD</g:price>
<g:sale_price>49.00 USD</g:sale_price>
<description><![CDATA[Product Description.]]></description>
<g:condition>new</g:condition>
<g:expiration_date>2013-11-20</g:expiration_date>
<g:image_link>http://www.domain.com/product_image_name.png</g:image_link>
<g:brand><![CDATA[Product Brand]]></g:brand>
<g:mpn><![CDATA[Product SKU]]></g:mpn>
<g:product_type><![CDATA[Shoes]]></g:product_type>
<g:google_product_category><![CDATA[Apparel & Accessories > Shoes]]></g:google_product_category>
<g:availability>in stock</g:availability>
<g:size>7</g:size>
<g:gender>Female</g:gender>
<g:age_group>Adult</g:age_group>
<g:color>BLUE</g:color>
<g:item_group_id>Configurable Products Sku</g:item_group_id>
</item>
</channel>
</rss>
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句