Category: JavaScript

Extending the WooCommerce Checkout block with jQuery and PHP

The WooCommerce Checkout block is the default for new installs from WooCommerce version 8.3. That way, the shortcode [woocommerce_checkout] (Classic Checkout) is slowly replaced by the Checkout block. However, the shortcode is still available and will be for a long time until the majority of the plugins are compatible with the Checkout block. At the […]

Migrating to the wp-scripts: analysing two cases

The wp-scripts (@wordpress/scripts) package is a collection of scripts to standardize and simplify the development of WordPress projects that have to transform and optimize the JavaScript code and other assets (images, fonts, CSS files, etc) to be compatible with the majority of browsers. That way, instead of configuring tools like webpack, Babel and ESLint, you […]