Total Posts: 43
Ok, so I have successfully integrated the display of the currently selected items category for display on the bottom of the product view, by simply adding the following to my custom layout xml file:
<!-- Mage_Catalog -->
<block type="catalog/product_list" name="product_list"></block>
This works great, perfectly in fact, however when I try to pull up a product view from my advanced search (I haven’t tried simple search, don’t have it activated) it of course produces an error, because there is no catalog/product list.
Is there a way to insert some logic along the way (in other words, where would I do this) to test to see if this is a search result or a catalog display, and then display the correct thing?