我想使用Configurable& amp;创建Google购物Feed.简单的产品关系.任何正文都有任何想法/样本xml文件,如何crate configurable&简单的产品关系饲料.
解决方法:
在做了一些R& S之后我自己弄清楚了. D.基本上我们需要使用所有简单产品的项目组ID,并且它应该具有父产品的sku,以便谷歌购物知道这些产品是变体而不是彼此的副本.
命名变体产品时,请确保包含所有变体项的共同标题
请查看下面的示例,以便它也可以帮助其他人.
<?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>