/woocommerce-commerce:woo-frontendfrom woocommerce-commerce
Customizes WooCommerce frontend via template overrides, theme integration, shortcodes, and hooks for product/cart/checkout display. Use when modifying storefront appearance or building WooCommerce themes.
Ships in woocommerce-commerce. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fetch live docs:
site:developer.woocommerce.com template structure for template hierarchysite:developer.wordpress.org themes for WordPress Theme Handbookwoocommerce template override guide for override patternsWooCommerce uses a template override system:
woocommerce/templates/ within the plugin{theme}/woocommerce/{template-path}wc_get_template() and wc_get_template_part() handle the lookup chain{child-theme}/woocommerce/{template}.php{parent-theme}/woocommerce/{template}.phpwoocommerce/templates/{template}.php (plugin default)| Template | Path | Purpose |
|---|---|---|
| Single product | content-single-product.php | Product page layout |
| Product archive | archive-product.php | Shop/category page |
| Product loop item | content-product.php | Product card in loop |
| Cart | cart/cart.php | Cart page |
| Checkout | checkout/form-checkout.php | Checkout form |
| My Account | myaccount/my-account.php | Customer account |
| Emails | emails/*.php | Transactional emails |
wc_get_template_part( 'content', 'product' ) loads content-product.php — used for reusable template fragments.
woocommerce_before_single_product
woocommerce_before_single_product_summary
(product image/gallery)
woocommerce_single_product_summary
woocommerce_template_single_title (5)
woocommerce_template_single_rating (10)
woocommerce_template_single_price (10)
woocommerce_template_single_excerpt (20)
woocommerce_template_single_add_to_cart (30)
woocommerce_template_single_meta (40)
woocommerce_template_single_sharing (50)
woocommerce_after_single_product_summary
woocommerce_output_product_data_tabs (10)
woocommerce_upsell_display (15)
woocommerce_output_related_products (20)
woocommerce_after_single_product
woocommerce_before_shop_loop
woocommerce_before_shop_loop_item
woocommerce_before_shop_loop_item_title
woocommerce_shop_loop_item_title
woocommerce_after_shop_loop_item_title
woocommerce_after_shop_loop_item
woocommerce_after_shop_loop
Enqueue via wp_enqueue_scripts action:
wp_enqueue_style( 'handle', plugin_dir_url(__FILE__) . 'assets/css/style.css', [], '1.0.0' )is_product(), is_cart(), is_checkout(), etc.wp_enqueue_script( 'handle', $url, ['jquery'], '1.0.0', true )wp_localize_script() or wp_add_inline_script()wp_enqueue_script with strategy => 'defer' for performance| Function | Returns true on |
|---|---|
is_shop() | Main shop page |
is_product_category() | Category archive |
is_product_tag() | Tag archive |
is_product() | Single product page |
is_cart() | Cart page |
is_checkout() | Checkout page |
is_account_page() | My Account page |
is_woocommerce() | Any WooCommerce page |
add_action( 'after_setup_theme', function() {
add_theme_support( 'woocommerce' );
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
});
Full Site Editing themes use:
templates/ and parts/ directories with HTML filestheme.json for global styles and settings{theme}/woocommerce/emails/woocommerce_email_header and woocommerce_email_footer hooksemail-styles.php templateWC_Email@version tag)add_action / add_filter) over template overrides when possiblewc_get_template() in plugins to make templates overridable by themesFetch the WooCommerce template structure docs and theme handbook for exact template paths, hook sequences, and override patterns before implementing.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
woocommerce, wordpress, template-overrides, hooks, shortcodes, block-themes
20 skills in this plugin
/php-modernWrite modern PHP 8.x code — typed properties, enums, readonly classes, match expressions, named arguments, union/intersection types, fibers, attributes, and constructor promotion. Use when writing PHP for WooCommerce or any PHP 8.x project./php-patternsApply PHP design patterns — Singleton, Factory, Strategy, Observer, Repository, Decorator, and Dependency Injection in PHP. Use when structuring WooCommerce extension code or implementing complex business logic./php-testingWrite PHP tests with PHPUnit — unit tests, mocking, data providers, assertions, test doubles, and TDD workflow. Use when writing tests for WooCommerce extensions or PHP projects./woo-adminBuild WooCommerce admin interfaces — settings pages, admin menus, product data tabs/panels, order meta boxes, WooCommerce Admin (React analytics), and reports. Use when creating admin-facing configuration or display pages./woo-apiBuild and consume WooCommerce REST API v3 endpoints — authentication, custom endpoints, extending existing resources, webhooks, and batch operations. Use when creating custom API endpoints or integrating external systems with WooCommerce./woo-blocksBuild WooCommerce Blocks — Gutenberg block integration, block-based cart/checkout extensions, Store API, and the @woocommerce/blocks-checkout package. Use when extending the block editor for WooCommerce or customizing block-based checkout/cart.npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin woocommerce-commerceOther plugins' skills for the same job