wc-variations-data
CommunityMaster WooCommerce variation data.
AuthorLonsdale201
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Read, query, and write WooCommerce product variations data across parent/child relationships, ensuring caches and pricing data stay in sync.
Core Features & Use Cases
- Read/write Variation data with WC_Product_Variable and WC_Product_Variation
- Invalidate and re-synchronize parent data after changes using wc_delete_product_transients and WC_Product_Variable::sync
- Debug and validate variation pricing and stock inheritance in the data layer
- Use cases include programmatic variation creation, bulk updates, and UI-ready variation data retrieval via get_available_variations
Quick Start
Create a variation with WC_Product_Variation, assign parent and attributes, save it, then call wc_delete_product_transients and WC_Product_Variable::sync to refresh the parent.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wc-variations-data Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#wc-variations-data Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.