Editing / Removing / Reordering the right column blocks

I looked at the position guide for Pixeri. I figured out how to enable/disable/modify the JM Tabs and Categories functions in the right column, but could not find anywhere in the administration panel how to manage (enable/disable) the functions:

Search entire store
Trailer (I found how to edit it, but not how/where it is included)
Compare Products (I set the only thing I found to 0 but it does not make it go away)
Recently Viewed
My Cart
Now Accepting PayPal

So the question is, what is the file that controls these things including the ordering which I must edit?

Thx

1 answer

Profile photo of Saguaros 0.00 $tone May 28, 2012
Public

Hi bobmeetin,

These are blocks in magento, they are defined in layout files (XML file) which will call correspond template file to display in frontend of template. If you don’t want to use one of them, you can go to desired XML file in this directory: \app\design\frontend\default\jm_pixeri\layout (if that block is overridden in template) and comment/remove block.

-- Search block in : \app\design\frontend\default\jm_pixeri\layout\page .xml:

PHP Code:

<reference name="right">
<
block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml" before="-" />
</
reference




-- Compare product block in: \app\design\frontend\default\jm_pixeri\layout\cata log.xml

PHP Code:

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




-- Trailer block in: \app\design\frontend\default\jm_pixeri\layout\cata log.xml

PHP Code:

<block type="core/template" name="right.permanent.callout" template="callouts/video.phtml" after="top.search"/> 




-- Recently Viewed in : \app\design\frontend\default\jm_pixeri\layoutrepo rts.xml

PHP Code:

<block type="reports/product_viewed" before="cart_sidebar" name="right.reports.product.viewed" template="reports/product_viewed.phtml" /> 




-My Cart in : \app\design\frontend\default\jm_pixeri\layout\chec kout.xml

PHP Code:

<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
    <
action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
    <
action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
    <
action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
    <
block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
    <
label>Shopping Cart Sidebar Extra Actions</label>
</
block




-- Paypal logo in : \app\design\frontend\default\jm_pixeri\layout\payp al.xml

PHP Code:

<cms_index_index>
        <
reference name="left">
            <
block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml" after="tags_popular"/>
        </
reference>
    </
cms_index_index




You can also turn on the debug so that you can see exact template file these blocks call from.
http://easycaptures.com/fs/uploaded/549/0003293401.png
http://easycaptures.com/fs/uploaded/549/7155250976.png

#1

Please login or Register to Submit Answer

Written By

Comments