在系统中成功安装 Magento 1.8.1 后.一切正常,但无法在主页上显示产品.正如在Magento网站上发布的那样,我使用管理界面 CMS>>修改了首页设计.页面>>主页>>设计.如 Magento Wiki页面所示,在首页的第二行中添加了以下几行页面设计-
After successful installation of Magento 1.8.1 in a system. Everything works fine, but unable to display products on the home page. As posted on Magento website, I modified the home page design using admin interface CMS >> Pages >> Home Page >> Design. As shown in the Magento Wiki page below lines were added in the second line of home page design -
{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}仍然,产品未显示在主页上.在主页上显示产品应该怎么做.我正在使用Ubuntu 13.04服务器,使用MySQL 5.5数据库和使用SVN下载的Magento版本1.8.1
Still, the products are not displayed on home page. What should be done to display the products on home page. I'm using Ubuntu 13.04 server, with MySQL 5.5 database and Magento version 1.8.1 downloaded using SVN
推荐答案在您的xml文件中添加此内容,然后从CMS>主页部分中删除该块
In your xml file add this and remove the block from CMS > Home Page section
<cms_index_index> <reference name="content"> <block type="catalog/product_new" name="home.catalog.product.new" as="product_homepage" template="catalog/product/new.phtml"/> </reference> </cms_index_index>更多推荐
无法在Magento 1.8.1中显示主页的产品
发布评论