woocommerce-blocks

Customize WooCommerce checkout and cart pages using Gutenberg blocks.

44|7|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill woocommerce-blocks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: woocommerce-blocks
Source: https://github.com/finsilabs/awesome-ecommerce-skills/tree/main/skills/platform-woocommerce/woocommerce-blocks
Command: npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill woocommerce-blocks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers customize the WooCommerce checkout and cart pages by leveraging Gutenberg blocks, enabling advanced features like custom fields, UI injections, and server-side data persistence.

Core Features & Use Cases

  • Extend Checkout Form: Add custom fields (e.g., gift messages, VAT numbers) to the checkout process.
  • Inject Custom UI: Use SlotFills to insert banners, upsells, or other dynamic content into predefined areas of the cart or checkout.
  • Server-Side Data Handling: Persist custom data to the order using WooCommerce Store API extensions and hooks.
  • Use Case: Add a "Preferred Delivery Date" picker to the WooCommerce checkout, ensuring the selected date is saved with the order for fulfillment.

Quick Start

Register a new inner block for the WooCommerce checkout using the provided PHP and JavaScript examples.

Frequently Asked Questions about woocommerce-blocks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add custom fields to WooCommerce checkout blocks?

Persist custom checkout data in WooCommerce orders by using Store API extensions and server-side hooks. This method ensures data collected via Gutenberg blocks is saved with the order for fulfillment.

Can I inject custom UI elements into the WooCommerce cart page?

Inject custom UI elements like banners or upsells into the WooCommerce cart page using SlotFills. This technique inserts dynamic content into predefined areas of the cart and checkout blocks.

How do I save custom checkout data to WooCommerce orders?

Persist custom checkout data in WooCommerce orders by using Store API extensions and server-side hooks. This method ensures data collected via Gutenberg blocks is saved with the order for fulfillment.

Does WooCommerce Gutenberg checkout customization require PHP and JavaScript?

Customizing WooCommerce Gutenberg checkout requires both PHP and JavaScript. You register inner blocks and handle server-side rendering with PHP, while managing UI components and SlotFills with JavaScript.

What is the best way to modify the WooCommerce checkout form with Gutenberg?

The best way to modify the WooCommerce checkout form with Gutenberg is extending existing blocks via inner blocks and SlotFills. This leverages server-side rendering and Store API extensions for dynamic modifications.