Breadcrumbs and page titles
Removing the breadcrumbs block should not be very difficult since it is just one line in the
/layout/page.xml file. However, if you were to remove breadcrumbs by changing the
/layout/page.xml file it will adversely affect page titles, which may not be what you expect.
The underlying issue is related to Magento's built-in flexibility that allows breadcrumbs to be used with page titles. The breadcrumbs block needs to be part of the page in order for page titles to be processed correctly. Removing the breadcrumbs block will result in products and categories to show the default store title, unless a title is explicitly defined in the backend. Since the aim is to only remove breadcrumbs from the design, the safest option is to modify the breadcrumbs template file:
Replace the entire content of that file with:
This ensures that page titles work as expected, and yet no breadcrumbs appear on the page. Of course you could always use the more lazy method of using CSS to simply hide the relevant
<div> as an alternative.
Custom onepage checkout layout
looks for the
.col-right CSS class. When you decide to use a different layout, this CSS class will not be created and hence the progress block will stop updating.
.col-right to match the class of the
div that encloses
Have another common trap that has caught you more than once when developing a custom Magento design? Tell us how you avoid it in the comments.