Magento-把Magento产品加入到Google Base

使用Magento后台可以把产品加入到 Google Base(Google Product Search),过程很简单,在官方 Video: Google Base Integration in Magento指导你把产品加入到Google Base的基础过程,然而它没有描述一些已知的问题。本文也也指导您怎么样手工解决这些问题。

一般步骤
步骤1: 创建一个Google Base (merchant)账号。只有第一次使用Google Base才需要该步。
步骤2: 登录Magento后台,进入System>Configuration>Google API>Google Base 然后输入你的Google Base帐户信息并存储.
步骤3: 进入Catalog>Google Base>Manage Attributes设置Magento和Google Base属性.
步骤4: 进入Catalog>Google Base>Manage Items。点击View Available Products按钮将告诉你可以加入到Google Base的产品条目。
就这么简单。
已知问题
Expected response code 200, got 400. Type: data. Field: condition. Reason: The item is missing a required attribute.

Google Base要求条目必须具有condition属性. 解决方案如下:
步骤 1: 进入Catalog>Attributes>Manage Attributes,创建新属性叫condition, 类型为DropDown,可选值为“New”和“Used”。
步骤 2: 进入Catalog > Attributes > Manage Attribute Sets,拖曳右边的“condition”到左边你使用到Google Base的属性集中(如果你有多个属性集的话)。
步骤 3: 进入Catalog > Google Base > Manage Attributes,映射Magento的“Condition”属性和Google Base的“condition”属性.
步骤 4: 编辑你想包含到Google Base的产品,为属性condition设置合适的 值(New或Used)。

Expected response code 200, got 400. Type: data. Field: description. Reason: There is a problem with the character encoding of this attribute.

当产品描述中有Google Base不支持的字符时出现该错误。当在产品描述中使用代码时类似的错误也会出现。移除这些怪字符问题得到解决。当你产品描述为空,该问题也会出现。所以请确保每个产品都包含适当的描述。

Unable to read response, or response is empty
未知错误,可能是Google Base端的错误。

Resubmitting products to Google base

Google Base产品过期时间为30天. 为了重新提交产品到Google base, 你需要同步Magento产品到Google Base.同步过程就是前面描述的一般步骤。

也有一些插件可以让你更好地推广你的Magento
Export Magento Products into Google Base

猜你喜欢

转载自koda.iteye.com/blog/605055