Magento mini-cart not updating on product pages -


i having issue in magento mini cart .

when go product page , click on add cart , mini cart not update , show product items on product page products added cart once go cart page.

i creating local.xml file theme , having code here

<block type="checkout/cart_sidebar" name="custom_mini_cart" template="checkout/cart/mini.phtml" before="-">             <action method="additemrender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>             <action method="additemrender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>             <action method="additemrender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>             <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">                 <label>shopping cart sidebar actions</label>             </block>         </block> 

and on header.phtml

i calling

 $cart_html = $this->getchildhtml('custom_mini_cart'); 

it works fine when go cart page or checkout page.

product quantity , items don't show on product page in minicart

any appreciated

thanks

theres slug defines pages work on.

in case, should under slug

<default>     code goes here. </default> 

my guess have under:

<checkout_cart_index translate="label">     believe have under one.  </checkout_cart_index> 

what states though you're adding content header. adding pages part of cart_index

hope solves issue


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -