WordPress Developer Ukraine, Kyiv
WooCommerce: Add to Cart Without Page Reload Using AJAX

WooCommerce: Add to Cart Without Page Reload Using AJAX

WooCommerce: add to cart without page reload using AJAX WooCommerce can add products to the cart without reloading the page, but a custom cart link in the header doesn’t know about it: the item count and total stay the same until the next page load. The woocommerce_add_to_cart_fragments filter fixes that by refreshing your cart markup…
WooCommerce Action and Filter Hooks: A Reference

WooCommerce Action and Filter Hooks: A Reference

The WooCommerce hooks you need most often WooCommerce adds hundreds of its own actions and filters on top of WordPress. With them you can change the product page, the checkout fields, order processing and emails without copying template files into the theme. The hard part is finding the right one, so here are the hooks…