Adding mini cart to header not displaying [migrated]

Blackcompe

New Member
I'm currently trying to add the sidebar cart to the header of the website I'm working on, however it doesn't seem to be working. Here are my files:page.xml:\[code\]<block type="page/html_header" name="header" as="header"> <block type="page/template_links" name="top.links" as="topLinks"/> <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/> <block type="core/text_list" name="top.menu" as="topMenu" translate="label"> <label>Navigation Bar</label> <block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml"/> </block> <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label"> <label>Page Header</label> <action method="setElementClass"><value>top-container</value></action> </block> <block type="checkout/cart_sidebar" name="cart_sidebar" as="topcart" template="checkout/cart/sidebar.phtml"/></block>\[/code\]header.phtml:\[code\]<?php echo $this->getChildHtml('topcart'); ?>\[/code\]Currently, I have the cache turned off in Magento, however I have tried flushing the cache in System->Cache Management. Any ideas?
 
Back
Top