2013-07-13 56 views
1

我試圖做一些重新設計的Magento,所以我有點糊塗了,兩件事:Magento的佈局和定位

  1. 我怎樣才能增加產品的塊進行比較,以左邊的列(其中,和我必須添加)例如我使用2列左側和左側列沒有該塊..
  2. 如何更改產品頁面上元素的位置例如,我希望我的產品圖像在右側,以及圖片下面的簡短描述,我有困惑,在哪裏查找,什麼文件,什麼代碼,以改變位置?

- 我知道我可以用css定位,但它很混亂,並沒有那麼好。 :/

謝謝。

回答

0

正如你在這裏問的兩點。

1.用於比較產品app/design/frontend/{interface}/{theme} /layout/catalog.xml。 從「 清除緩存「標籤內的」標籤」中移動此行

<block type="catalog/product_compare_sidebar" before="cart_sidebar" 
name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/> 

就大功告成了。

2.To檢查從那裏來的文件或塊從只是去扔這一步,那麼你可以改變你的佈局或位置或產品在你的Magento項目

goto->admin->system->configuration->Current Configuration Scope(left side)->select main website->Debug(right tab)->Template Path Hints ->select yes->refresh home page