wc-cart-checkout-classic
OfficialFix Woo classic cart/checkout data mapping
Software Engineering#woocommerce#fees#HPOS#cart hooks#checkout fields#order line meta#store api boundary
Authorvikingokft
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you customize WooCommerce’s classic cart and classic (shortcode) checkout so custom product options and cart item data are correctly merged, displayed, validated, priced, and copied into the right order line item metadata.
Core Features & Use Cases
- Accurate cart item identity & merging: Uses cart item data stored via add-to-cart hooks so items merge only when intended.
- Proper data flow from cart to order lines: Displays custom cart fields and persists them at the correct level using order line item meta (not order-level meta).
- HPOS-safe checkout updates: Updates order line item meta and order APIs safely, avoiding direct post meta writes that break HPOS.
- Classic checkout enhancements: Adds/modifies classic checkout fields, validates posted values, and ensures correct server-side handling.
- Safe dynamic pricing & fees: Mutates prices during totals calculation without compounding, and applies fees in the correct fee hook.
Quick Start
Use the wc-cart-checkout-classic skill to ensure your custom cart option (like engraving or gift-wrap) is shown in the cart/checkout, validated, applied as a fee or price adjustment, and saved to the corresponding order line item meta.
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-cart-checkout-classic Download link: https://github.com/vikingokft/wp-agent-skills/archive/main.zip#wc-cart-checkout-classic 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.