我设法按类别一起展示新产品和产品的这些如何显示在我的主页的所有产品在Magento 1.7
{{块型=“目录/ product_new” COLUMN_COUNT =“6” products_count =” 3" 名称= “home.catalog.product.new” 别名= “PRODUCT_HOMEPAGE” 模板= “目录/产品/ new.phtml”}}
{{块类型= “目录/所属类别” CATEGORY_ID =” 10“ template =”catalog/product/list.phtml“}}
但我真的希望在我的商店中显示整个产品,而不管它们的类别是否可能?
我的根类别ID是3,所以我试图与这条线,但没有运气可言,
{{块类型= “目录/所属类别” CATEGORY_ID = “3” 模板=“目录/ product/list.phtml“}}
任何想法?
我使用的样本数据来测试Magento的,所以我必须低于这个数据,
Root Catalog (0)
Furniture (7)
Electronics (42)
Apparel (66)
编辑:
home.phtml
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>
There was no Home CMS page configured or found.
阅读这篇文章可能对您有帮助http://www.magentocommerce.com/boards/viewthread/19173/ –