WordPress Developer Ukraine, Kyiv
Add a custom field to the WooCommerce checkout page

Add a custom field to the WooCommerce checkout page

Add a custom field to the WooCommerce checkout page The WooCommerce checkout collects the usual data: billing and shipping address, contact details, payment method. Real shops often need more at the moment of purchase: a gift message, a preferred delivery time, artwork instructions, a company VAT number. The checkout is the right place for it,…
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…