Right Col display

Few modules like Compare Products and Shop By I want to display in all product views. But (also in demo site) I am it is visible in while displaying products of few categories and does not appear while displaying products of other categories.
For e.g Take demo site of JM Ores:
When I go to Watch / Casio
http://www.ores.myfonestore.in/index…tch/casio.html
-- Compare product appears but Shop By module does not appear. But when we go to Watch/Sieko
http://www.ores.myfonestore.in/index…tch/seiko.html
both module appears. From where do I define which module to appear when.

1 answer

congtq 0.00 $tone July 6, 2010
Public

Hi!

Watch/Casio cateogry (http://www.ores.myfonestore.in/index…tch/casio.html) doesn’t show Shop By module because its Is Anchor is set No (Admin -> Manage Categoies ->… Display Settings)

Magento define how to display module in xml files in layout folder (app\design\frontend\base\default\layout), so If you want customize where module displays you can define in app\design\frontend\default\jm_ores\layout
Exp:
Compare Products and Shop By modules is defined in app\design\frontend\base\default\layout\catalog.xm l.
You can search

Code:

<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>

and

Code:

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

Hope the above information is helpful to you.

#1

This question is now closed

Written By

Comments