{"id":8182,"date":"2011-05-19T06:19:03","date_gmt":"2011-05-19T10:19:03","guid":{"rendered":"http:\/\/info.template-help.com\/?p=8182"},"modified":"2016-02-23T06:07:48","modified_gmt":"2016-02-23T11:07:48","slug":"locating-magento-sidebar-modules","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/locating-magento-sidebar-modules.html","title":{"rendered":"Locating Magento sidebar modules"},"content":{"rendered":"<p>\r\n<p>This  tutorial will show you where you can find the sidebar modules code. <\/p>\r\n<p>Open <strong>app\\design\\frontend\\default\\your_theme\\layout<\/strong>.  This directory contains the XML files that determine the modules positions and  order. Open any XML file and search for the tag <strong>&lt;reference&gt;<\/strong>. The reference tags determine modules position  for various pages of your Magento store. <\/p>\r\n<p>As you can  see there are several references like: <em>&lt;reference  name=&quot;top.menu&quot;&gt;<\/em>, <em>&lt;reference  name=&quot;left&quot;&gt;<\/em>, <em>&lt;reference  name=&quot;right&quot;&gt;<\/em>, <em>&lt;reference  name=&quot;footer_links&quot;&gt;<\/em> etc.<\/p>\r\n<p>Let\u2019s see  where you can find most used sidebar modules Magento modules. <\/p>\r\n<p>&nbsp;<\/p>\r\n<h3>Compare products<\/h3>\r\n<p>File:  <strong>catalog.xml<\/strong><\/p>\r\n<pre class=\"brush:xml\">\r\n  &lt;block  type=&quot;catalog\/product_compare_sidebar&quot;  before=&quot;cart_sidebar&quot; name=&quot;catalog.compare.sidebar&quot;  template=&quot;catalog\/product\/compare\/sidebar.phtml&quot;\/&gt;<\/pre>\r\n<p>&nbsp;<\/p>\r\n<h3>Shop By\/Browse By<\/h3>\r\n<p>File:  <strong>catalog.xml<\/strong><\/p>\r\n<pre class=\"brush:xml\">\r\n  &lt;block  type=&quot;catalog\/navigation&quot; name=&quot;catalog.leftnav&quot;  before=&quot;-&quot; template=&quot;catalog\/navigation\/left.phtml&quot;\/&gt;\r\n<\/pre>\r\n<p>&nbsp;<\/p>\r\n<h3>Product Viewed<\/h3>\r\n<p>File:  <strong>catalog.xml<\/strong><\/p>\r\n<pre class=\"brush:xml\">\r\n  &lt;block  type=&quot;reports\/product_viewed&quot;  before=&quot;right.permanent.callout&quot;  name=&quot;left.reports.product.viewed&quot;  template=&quot;reports\/product_viewed.phtml&quot; \/&gt;\r\n<\/pre>\r\n<p>&nbsp;<\/p>\r\n<h3>Related Products<\/h3>\r\n<p>File:  <strong>catalog.xml<\/strong><\/p>\r\n<pre class=\"brush:xml\">\r\n&lt;block type=\"catalog\/product_list_related\" name=\"catalog.product.related\" before=\"-\" template=\"catalog\/product\/list\/related.phtml\"\/>\r\n\t&lt;block type=\"checkout\/cart_sidebar\" name=\"cart_sidebar\" template=\"checkout\/cart\/sidebar.phtml\">\r\n    \t&lt;action method=\"addItemRender\">&lt;type>simple&lt;\/type>&lt;block>checkout\/cart_item_renderer&lt;\/block>&lt;template>checkout\/cart\/sidebar\/default.phtml&lt;\/template>&lt;\/action>\r\n        &lt;action method=\"addItemRender\">&lt;type>grouped&lt;\/type>&lt;block>checkout\/cart_item_renderer_grouped&lt;\/block>&lt;template>checkout\/cart\/sidebar\/default.phtml&lt;\/template>&lt;\/action>\r\n        &lt;action method=\"addItemRender\">&lt;type>configurable&lt;\/type>&lt;block>checkout\/cart_item_renderer_configurable&lt;\/block>&lt;template>checkout\/cart\/sidebar\/default.phtml&lt;\/template>&lt;\/action>\r\n        \t&lt;block type=\"core\/text_list\" name=\"cart_sidebar.extra_actions\" as=\"extra_actions\" translate=\"label\" module=\"checkout\">\r\n            \t&lt;label>Shopping Cart Sidebar Extra Actions&lt;\/label>\r\n            &lt;\/block>\r\n    &lt;\/block>\r\n<\/pre>\r\n<p>&nbsp;<\/p>\r\n<h3>My Cart<\/h3>\r\n<p>File:  <strong>checkout.xml<\/strong><\/p>\r\n<pre class=\"brush:xml\">\r\n\t&lt;block type=\"checkout\/cart_sidebar\" name=\"cart_sidebar\" template=\"checkout\/cart\/sidebar.phtml\" before=\"-\">\r\n    \t&lt;action method=\"addItemRender\">&lt;type>simple&lt;\/type>&lt;block>checkout\/cart_item_renderer&lt;\/block>&lt;template>checkout\/cart\/sidebar\/default.phtml&lt;\/template>&lt;\/action>\r\n        &lt;action method=\"addItemRender\">&lt;type>grouped&lt;\/type>&lt;block>checkout\/cart_item_renderer_grouped&lt;\/block>&lt;template>checkout\/cart\/sidebar\/default.phtml&lt;\/template>&lt;\/action>\r\n        &lt;action method=\"addItemRender\">&lt;type>configurable&lt;\/type>&lt;block>checkout\/cart_item_renderer_configurable&lt;\/block>&lt;template>checkout\/cart\/sidebar\/default.phtml&lt;\/template>&lt;\/action>\r\n        &lt;block type=\"core\/text_list\" name=\"cart_sidebar.extra_actions\" as=\"extra_actions\" translate=\"label\" module=\"checkout\">\r\n        \t&lt;label>Shopping Cart Sidebar Extra Actions&lt;\/label>\r\n        &lt;\/block>\r\n    &lt;\/block>\r\n<\/pre>\r\n<p>&nbsp;<\/p>\r\n<h3>Community Poll<\/h3>\r\n<p>File:  <strong>poll.xml<\/strong><\/p>\r\n<pre class=\"brush:xml\">\r\n&lt;block type=\"poll\/activePoll\" name=\"right.poll\">\r\n    &lt;action method=\"setPollTemplate\">&lt;template>poll\/active.phtml&lt;\/template>&lt;type>poll&lt;\/type>&lt;\/action>\r\n    &lt;action method=\"setPollTemplate\">&lt;template>poll\/result.phtml&lt;\/template>&lt;type>results&lt;\/type>&lt;\/action>\r\n&lt;\/block>\r\n<\/pre>\r\n<p>&nbsp;<\/p>\r\n<h3>Popular Tags<\/h3>\r\n<p>File:  <strong>tag.xml<\/strong><\/p>\r\n<pre class=\"brush:xml\">\r\n&lt;reference name=\"left\">\r\n    &lt;block type=\"tag\/popular\" name=\"tags_popular\" template=\"tag\/popular.phtml\"\/>\r\n&lt;\/reference>\r\n\r\n<\/pre>\r\n<p>&nbsp;<\/p>\r\n<h3>PayPal logo<\/h3>\r\n<p>File:  <strong>paypal.xml<\/strong><\/p>\r\n<pre class=\"brush:xml\">\r\n&lt;block type=\"paypal\/logo\" name=\"paypal.partner.right.logo\" template=\"paypal\/partner\/logo.phtml\"\/>\r\n<\/pre>\r\n<p>&nbsp;<\/p>\r\n<h3>Newsletter<\/h3>\r\n<p>File:  <strong>newsletter.xml<\/strong><\/p>\r\n<pre class=\"brush:xml\">\r\n&lt;block type=\"newsletter\/subscribe\" name=\"newsletter\" as=\"newsletter\" template=\"newsletter\/subscribe.phtml\"\/>\r\n<\/pre>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you where you can find the sidebar modules code. Open app\\design\\frontend\\default\\your_theme\\layout. This directory contains the XML files that determine the modules positions and order. Open any XML file and search for the tag &lt;reference&gt;. The reference tags determine modules position for various pages of your Magento store. As you can see [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[259,729],"tags":[2407,557,655,570],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8182"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=8182"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8182\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=8182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=8182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=8182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}