从基本主题文件开发Magento主题


Magento theme development from the base theme files?

嗨,我是洋红色的初学者,

我已经为项目创建了一个新的 magento 主题。

我为magento主题创建了以下文件夹和文件。

  1. 包装/主题/布局(页面.xml,本地.xml)
  2. 包/主题/模板/页面(.phtml文件)

作为模板文件夹内部,我只创建了页面文件夹,并在该 html 文件夹下创建。

编辑 1

另外,我从后端在 magento 中添加了产品。现在请帮助我理解
我将如何在主页上显示这些产品。我还应该将文件从基本文件夹复制到新的主题文件夹或其他东西中。

转到管理面板 -> Cms->pages-> 主页并在那里添加此代码

{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}

现在刷新缓存。