From shopware-checkout
Preisberechnung im Shopware-6-Warenkorb: QuantityPriceCalculator/PercentagePriceCalculator/AbsolutePriceCalculator, QuantityPriceDefinition, CalculatedPrice, Steuer-/Rundungslogik. Trigger: "Cart Preis berechnen", "QuantityPriceCalculator", "CalculatedPrice", "PriceDefinition", "Preisberechnung warenkorb", "PercentagePriceCalculator", "AbsolutePriceCalculator". Shopware 6.7.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shopware-checkout:sw-cart-priceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Preise im Cart werden über Calculator-Services berechnet (nie manuell), aus einer `PriceDefinition` → `CalculatedPrice`
Preise im Cart werden über Calculator-Services berechnet (nie manuell), aus einer PriceDefinition → CalculatedPrice
(inkl. Steueranteile/Rundung).
$definition = new QuantityPriceDefinition($unitNet, $taxRules, $quantity);
$calculated = $this->quantityPriceCalculator->calculate($definition, $context);
$lineItem->setPrice($calculated);
Calculator-Typen: QuantityPriceCalculator (Mengenpreis), PercentagePriceCalculator (prozentual, z.B. Rabatt),
AbsolutePriceCalculator (fester Betrag). Steuerermittlung über TaxRuleCollection/TaxDetector, Rundung über
CashRounding. Brutto/Netto je nach SalesChannel-Steuerlogik. PriceField der Entity: shopware-data → sw-pricing-field.
Rabatte: sw-cart-discount.
npx claudepluginhub zone1987/claude-a-dev-team --plugin shopware-checkoutCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.