hii如何更新 commerce_cart_block 当我的产品通过 ajax 添加时。 任何建议都会有所帮助。
Hii How can I update commerce_cart_block when my product is added through ajax. Any suggestion will be helpfull.
You need to extend your custom ajax call (or how is your setup ?) with an update cart ajax command, there's a module for it named: commerce_ajax_cart
If you want it all out of the box, then use the dc_ajax_add_cart module.