0
我在我的magento迷你車中遇到問題。Magento迷你車不在產品頁面上更新
當我進入產品頁面並點擊添加到購物車時,我的迷你購物車不會更新並在產品頁面上顯示產品商品,但是隻要進入購物車頁面,產品就會添加到購物車中。
我創造了我的主題local.xml文件,並在這裏有這個代碼
<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 Extra Actions</label>
</block>
</block>
和我header.phtml
我打電話這個喜歡
$cart_html = $this->getChildHtml('custom_mini_cart');
它當我去購物車頁面或結帳頁面時,工作正常。
產品的數量和物品不minicart
產品頁面上顯示的任何幫助將不勝感激
感謝
哪個magento版本?r使用? – 2014-09-24 01:47:10