Magento Forum

   
Breadcrumbs & Shopping Cart
 
seldon
Sr. Member
 
Total Posts:  92
Joined:  2007-11-08
 

Perhaps it is nice to have breadcrumbs at the shopping cart page aswell ? Something like: home >> cart ? And while we are at it, the breadcrumbs at the search result page seems to only give ‘home’, instead of somthing like ‘home >> search’ or ‘home >> search for ‘searchkey’’.

 
Magento Community Magento Community
Magento Community
Magento Community
 
seldon
Sr. Member
 
Total Posts:  92
Joined:  2007-11-08
 

I added this method to Checkout/Block/Cart:

public function _prepareLayout(){
         
if ($breadcrumbs $this->getLayout()->getBlock('breadcrumbs')){
            $breadcrumbs
->addCrumb('home', array('label'=>__('Home'), 'title'=>__('Go to Home Page'), 'link'=>Mage::getBaseUrl()));
            
$breadcrumbs->addCrumb('cart', array('label'=>'Cart''title'=>'Cart'));
         
}
    }

And i did a similar thing for the checkout/onepage block. Is it perhaps an idea to implement this in the core?

Also perhaps it’s nice to see breadcrumbs in the account part?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top