|
OK, so I thought I had a decent understanding of the architecture and how pages are dynamically constructed to attempt this. There are two things I would like to accomplish. Though, currently, I only need the first. What I would like to accomplish is the following.
1. Have my right column callouts appear above the mini cart.
2. Eventually, I would like to have a set of callouts appear above the mini-cart, then the mini-cart, and then a second set of callouts below the cart.
So, in tackling number 1, I looked to update catalog.xml. So, I have my own theme, and I created mytheme/layout/catalog.xml which was a copy of the catalog.xml file in the default theme. I then updated the file, around line 53 and 54.
Original
<reference name="right"> <block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/> <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/> </reference>
New
<reference name="right"> <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/> <block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/> </reference>
So, effectively, I thought I was changing the order in which the html blocks would be generated. However, after saving the change, clearing cache (even deleting var/cache), My callouts are still the last to appear on the right column. I even tried updating catalog.xml in the default theme just in case it wasn’t being picked up from mine. No such luck.
Any suggestions?
Thanks
|