magento中“ Google Content API for Shopping 1.6”提交新产品后显示空白页面的解决方法
2013-01-29 17:27
495 查看
magento 版本:v1.6.1.0
Google Content API for Shopping 1.6
早前,magento 添加新产品后一直处于“Google Shopping synchronization process is running”状态(可参考/article/10154796.html),修复之后,在"available
product" 向google content添加新产品,页面转向空白页面。查看merchants的Products页面,新产品添加成功。
重新进入Google
Content ->Manage Items ,查看"available product" 发现刚才的新产品依然存在。
我的3个站点都同时出现同一个问题,初步判断是Google Merchants没有返回添加产品操作的状态给magento 的google content模块。
解决方法:
修改app/code/core/Mage/GoogleShopping/Model/Service/Item.php
大约在64行,把以下语句
$published
= $this->convertContentDateToTimestamp($entry->getPublished()->getText());
修改成
$published = date('Y-m-d H:i:s');
最后清除magento的ceahe。
Google Content API for Shopping 1.6
早前,magento 添加新产品后一直处于“Google Shopping synchronization process is running”状态(可参考/article/10154796.html),修复之后,在"available
product" 向google content添加新产品,页面转向空白页面。查看merchants的Products页面,新产品添加成功。
重新进入Google
Content ->Manage Items ,查看"available product" 发现刚才的新产品依然存在。
我的3个站点都同时出现同一个问题,初步判断是Google Merchants没有返回添加产品操作的状态给magento 的google content模块。
解决方法:
修改app/code/core/Mage/GoogleShopping/Model/Service/Item.php
大约在64行,把以下语句
$published
= $this->convertContentDateToTimestamp($entry->getPublished()->getText());
修改成
$published = date('Y-m-d H:i:s');
最后清除magento的ceahe。
相关文章推荐
- 关于注册Google Map api key的方法和解决网页无法显示的问题
- 关于注册Google Map api key的方法和解决网页无法显示的问题
- 页面在ie7下显示空白的解决方法
- 关于ExtJs4提交数据到jsp页面,返回正确的json显示例子。及error:You're trying to decode an invalid JSON String...解决方法
- nginx+php-fpm配置后页面显示空白的解决方法
- 打开QQ邮箱等页面显示一片空白的解决方法
- webview显示为空白页面解决方法,对h5支持
- 打开QQ邮箱等页面显示一片空白的解决方法
- Google map API在IE下无法正常显示的解决方法
- nginx+php-fpm配置后页面显示空白的解决方法
- nginx+php-fpm配置后页面显示空白的解决方法
- nginx+php-fpm页面显示空白的解决方法
- form提交刷新页面显示重新提交解决方法
- ASP.NET页面借助IFrame提交表单数据所遇到问题的解决方法分享
- m2eclipse安装出现bundle org.slf4j.api 1.6的解决方法
- php读取csv文件后,uft8 bom导致在页面上显示出现问题的解决方法
- PCL点云处理可视化——法向显示错误“no override found for vtk actor”解决方法
- ASP.NET提交后页面字体变大及页面提示转向的解决方法
- [备忘]ie6中href设为javascript:void(0)页面无法提交的解决方法
- IIS“页面无法显示”的故障及其解决方法