当前位置: 动力学知识库 > 问答 > 编程问答 >

wordpress - What is the "Enable AJAX add to cart buttons on archives" checkbox for?

问题描述:

What is the "Enable AJAX add to cart buttons on archives" checkbox on the WooCommerce > Display > Products > Add to Cart Behavior section of the WP admin area for?

网友答案:

Answer: This button selects the redirect behavior of the "add to cart" button in a woocommerce product archives pages (like the shop page). After the item is added to the cart it then either stays on the shop page, or redirects to the cart, depending on whether the button is checked or unchecked (respectfully).

Commentary: The description "Enable AJAX add to cart buttons on archives" is very misleading and would be better written as: "Redirect to the cart page from archive (shop) after successful addition". The use of the acronym AJAX is unnecessary and very misleading as to the effect of the checkbox...

分享给朋友:
您可能感兴趣的文章:
随机阅读: