decarvalhoaa on "[Plugin: WooCommerce] [WC2.6] Cart Ajax doesn't refresh cart fragments"

ساخت وبلاگ

decarvalhoaa
Member
Posted 1 hour ago #

On the Cart page, if you (for example) increase/decrease quantity of a product or remove a product, the cart ajax is not forcing an update of the cart fragments (a.cart-contents and div.widget_shopping_cart_content)

https://wordpress.org/plugins/woocommerce/

If I force my cart widget to remain visible on the cart page and update my cart (update or remove item) it does refresh, so this appears to be working. Perhaps your theme has a custom fragment.

decarvalhoaa
Member
Posted 7 minutes ago #

That's strange. I'm using storefront 1.6.1 (yet, still need to upgrade it).

At least the cart a.cart-contents on the page header is not updated.
I don't see the xhr request to update the fragment being fired either - only the new cart request.
What is strange is that this new cart request retus a full html page (is this what right?!) and there the a.cart-contents content is updated.

Any change in SF 2.0.0 that makes this work?

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 208 تاريخ : سه شنبه 1 تير 1395 ساعت: 0:12