WordPress Developer Ukraine, Kyiv
WooCommerce Blocks Checkout: Adding Custom Fields with Slot Fills

WooCommerce Blocks Checkout: Adding Custom Fields with Slot Fills

Custom fields in the WooCommerce Checkout block In the classic checkout, extra fields were added with the woocommerce_checkout_fields filter. The Checkout block ignores that filter: it is a React application that talks to the Store API. Since WooCommerce 8.9 (2024), the Additional Checkout Fields API registers fields in PHP that the block renders, validates and…
Track WordPress Form Submissions and Scroll Depth with Google Analytics 4

Track WordPress Form Submissions and Scroll Depth with Google Analytics ...

GA4 events for forms and scroll depth in WordPress Google Analytics 4 replaces Universal Analytics, which stops processing data on July 1, 2023. GA4 counts page views and, with Enhanced Measurement, also scrolls, outbound clicks, site search, file downloads and form interactions without extra code. Custom events are needed only for what these automatic events…
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,…