2010年4月28日星期三

magento的一些细节问题 - 皮蛋家

在群里某好友的鼓励下,又装上了magento,打算边学边用,实践多一点,经验才会多一点。

Q1:安装了官方的blue模板,然后就出现了以前遇到过的一个问题,后台按钮全部失效,而且测试商品图片点击没反应了。

A:把系统js文件夹下index.php的读写权限改为755。

Q2:magento里的三种产品关联related products, cross sell 和up sell有何不同?

A:related products显示在侧边,cross sell显示在购物车页面,up sell显示在产品描述下方。

Q3:页脚如何修改?

A:页脚链接在后台CMS-Static Blocks里修改Footer Links;改善magento,举报bug那句话在app\design\frontend\default\YOUR_TEMPLATE\template\page\html\footer.phtml文件里;copyright在后台System->Configuration->General>>Design里修改Footer里的copyright。

Q4:如何在magento首页显示新产品?

A: 方法一:添加下面代码到CMS – Manage Pages-Home Page的content里面:

{{block type=”catalog/product_new” name=”home.catalog.product.new” alias=”product_homepage” template=”catalog/product/new.phtml”}}。

方法二:依然是CMS – Manage Pages-Home Page,右边有个Custom Design,打开,把下面代码复制进Layout update xml:


bundlebundle/catalog_product_price

按上面两种方法添加了代码还不够,还需要在添加产品的时候设置作为新进产品的起止时间Set Product as New from Date,Set Product as New to Date。



magento的一些细节问题 - 皮蛋家

没有评论:

发表评论