classic-woocommerce-template-overrides
Installation
SKILL.md
Classic WooCommerce Template Overrides
Use this when a classic theme needs to change WooCommerce markup. Prefer hooks and filters first. Use template overrides only when the required markup change cannot be done safely through hooks.
When to Use This Skill
- Creating
yourtheme/woocommerce/*.phpfiles. - Reviewing outdated Woo templates after a Woo update.
- Deciding whether to override
archive-product.php,content-product.php,single-product.php, cart, checkout, account, or email templates. - Debugging why a Woo template override is ignored.
- Migrating copied templates to hook/filter customizations.
Override Lookup
Woo looks for theme overrides in the active theme using WC()->template_path(), which defaults to woocommerce/.
Typical paths: