Magento Forum

   
Display contents of shoppingcart outside sidebar.phtml? 
 
ActusMedia
Member
 
Avatar
Total Posts:  46
Joined:  2007-11-01
Netherlands, Enschede
 

How would it be possible to move the display cart contents that is called inside sidebar.phtml to another page?

I created a seperate file top.cart.phtml that i placed inside /templates/pages/html/top.cart.phtml this file contains the shoppingcart display code and php from sidebar.phtml

I created a reference inside /layout/pages.xml
<block type="core/text_list" name="top.cart" as="topCart"/>

And call this with
<?php echo $this->getChildHtml('topCart') ?>

No errors, but no display of the shopping cart contents eiher.
What did we missed in the above?

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