From woocommerce-commerce
Manages WooCommerce product attributes, custom meta fields, taxonomies, tabs, and variation data for adding custom data to products, orders, or customers.
How this skill is triggered — by the user, by Claude, or both
Slash command
/woocommerce-commerce:woo-custom-fieldsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live docs**:
Fetch live docs:
site:developer.woocommerce.com product data custom fields for product custom fields guidesite:developer.wordpress.org plugins metadata for WordPress metadata APIwoocommerce custom product attributes programmatically for attribute creationDefined in WooCommerce > Attributes — shared across all products:
pa_{attribute_slug} (e.g., pa_color, pa_size)wc_create_attribute(), wc_update_attribute(), wc_delete_attribute()Per-product attributes — not global taxonomies:
_product_attributes array$product->set_attributes() with WC_Product_Attribute objectsCreate WC_Product_Attribute objects:
set_id() — 0 for custom attributes, taxonomy ID for globalset_name() — taxonomy name (pa_color) or custom labelset_options() — array of term IDs (global) or string values (custom)set_visible() — show on product pageset_variation() — used for variations| Key | Description |
|---|---|
_price | Current active price |
_regular_price | Regular price |
_sale_price | Sale price |
_sku | Stock Keeping Unit |
_stock | Stock quantity |
_stock_status | instock / outofstock / onbackorder |
_weight, _length, _width, _height | Dimensions |
_virtual, _downloadable | Product type flags |
$product->update_meta_data( '_my_custom_field', $value ) then $product->save()$product->get_meta( '_my_custom_field' ) — retrieve value_ to hide from the Custom Fields meta boxUse hooks to add fields to the product edit screen:
woocommerce_product_options_general_product_data — General tabwoocommerce_product_options_inventory_product_data — Inventory tabwoocommerce_product_options_shipping_product_data — Shipping tabwoocommerce_product_options_advanced — Advanced tabwoocommerce_process_product_meta actionwoocommerce_wp_text_input( $args ) — text inputwoocommerce_wp_textarea_input( $args ) — textareawoocommerce_wp_select( $args ) — dropdown selectwoocommerce_wp_checkbox( $args ) — checkboxwoocommerce_wp_hidden_input( $args ) — hidden fieldFilter woocommerce_product_tabs to add, remove, or reorder tabs:
title, priority, callback keysdescription, additional_information, reviewsFilter woocommerce_product_data_tabs to add tabs in the product editor:
label, target, class, prioritywoocommerce_product_data_panels action$order->update_meta_data( '_my_field', $value ) then $order->save()$order->get_meta( '_my_field' ) — retrieve valueupdate_post_meta()$customer->update_meta_data() / $customer->get_meta() via WC_Customerupdate_user_meta() / get_user_meta() for WordPress user metaUse register_taxonomy() on init hook:
product post type for product classificationshow_in_rest for REST API / block editor supportupdate_meta_data / get_meta) for HPOS compatibilitysanitize_text_field(), wc_clean(), absint()esc_html(), esc_attr(), wp_kses_post()Fetch the WooCommerce product data and metadata documentation for exact hook names, field function signatures, and attribute API before implementing.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin woocommerce-commerceManages WooCommerce product catalog: types, categories, tags, attributes, queries, search, related products, visibility. For programmatic product CRUD and display customization.
Models and stores custom data in Shopify apps using Metafields (extend built-in types) and Metaobjects (custom data types).
Guides optimal workflows and API sequences for creating complete products in Wix Stores, including preparation, categories, images, variants, inventory, SEO, and visibility settings.