For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (
- [ ]) syntax for tracking.
Goal: Add an additive, merchant-friendly line-item pricing layer to Receipt Data v1 so receipts can show the recorded regular price, pre-coupon selling price, and customer savings without changing existing WooCommerce discount fields.
Architecture: Receipt_Data_Builder remains the live source of truth and derives the new values from _woocommerce_pos_data. Receipt_Data_Schema publishes and formats the fields, while Preview_Receipt_Builder and JSON fixtures provide equivalent preview data. Price-bearing bundled templates render savings conditionally; existing discounts fields and coupon rows remain untouched.
Tech Stack: PHP 8+, WordPress, WooCommerce order-item APIs, Mustache/logicless HTML templates, thermal