Repository navigation
docs: explain how to discount a set of products with promotion set groups - #2696
Daniel Kirkland (d-kirkland) wants to merge 2 commits into
Conversation
…oups Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Developer Docs healthcheckStatus: Completed with |
Developer Docs healthcheckStatus: Running. |
1 similar comment
Developer Docs healthcheckStatus: Running. |
|
This PR was AI generatated. The system that is creating these PRs is continually evolving (or potentially, devolving). Comments or changes made to the PRs are analyzed and used as material for improving the docs generation and improvement system. The workflow that created this PR is an advancement based on the comments and changes that were made to PRs over the last few weeks. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Agent 00-Docs Pushed one follow-up commit that fixes the two spellcheck findings in
The meaning is unchanged and no other text changed. The markdown linter still reports no issues. |
Summary
set. Includes an Administration recipe, what the promotion needs to apply in the shop (active, validity dates, sales channel, code options), which rules to pick for a group's product rule, and the facts that theCOUNTpackager sums units, extra units do not make extra sets, and the product rules of different groups should not overlap.setapply only to complete sets, how the scopesetgrouppicks its group, and how the type Fixed price behaves.promotion_setgroupfield reference at the end of the page and links the page from Add Cart Discounts with a Next steps section.Related links
guides/plugins/plugins/checkout/cart/promotion-set-groups.md(created),guides/plugins/plugins/checkout/cart/add-cart-discounts.md(edited)v6.7.15.1), the lines each statement is based on:ProductDefinition.phpL89-L91ProductDefinition.phpL296-L299PromotionDefinition.phpL74-L74PromotionDefinition.phpL110-L110PromotionSetGroupDefinition.phpL27-L27PromotionSetGroupDefinition.phpL58-L63LineItemGroupBuilder.phpL64-L69LineItemGroupBuilder.phpL78-L78LineItemGroupBuilder.phpL81-L81LineItemGroupBuilder.phpL87-L110LineItemGroupBuilder.phpL174-L193ProductLineItemProvider.phpL19-L22AnyRuleLineItemMatcher.phpL27-L45cart.phpL641-L641cart.phpL654-L673LineItemGroupCountPackager.phpL24-L51LineItemGroupUnitPriceGrossPackager.phpL27-L62LineItemGroupUnitPriceNetPackager.phpL23-L56LineItemGroupPriceAscSorter.phpL13-L35LineItemGroupPriceDescSorter.phpL13-L35LineItemGroupServiceRegistry.phpL38-L47LineItemGroupServiceRegistry.phpL65-L74LineItemGroupPackagerInterface.phpL16-L16LineItemGroupPackagerInterface.phpL25-L25LineItemGroupSorterInterface.phpL15-L15LineItemGroupSorterInterface.phpL21-L21CartException.phpL73-L74PromotionActionController.phpL30-L64promotion-sync.api.service.jsL13-L31index.jsL52-L75index.jsL78-L78index.jsL118-L135sw-promotion-v2-cart-condition-form.html.twigL22-L27sw-promotion-v2-cart-condition-form.html.twigL81-L98sw-promotion-v2-cart-condition-form.html.twigL106-L113sw-promotion-v2-cart-condition-form.html.twigL123-L134sw-promotion-v2-cart-condition-form.html.twigL140-L150index.jsL95-L120index.jsL576-L585sw-promotion-discount-component.html.twigL32-L44sw-promotion-discount-component.html.twigL133-L158index.jsL54-L67en.jsonL30-L31en.jsonL130-L136en.jsonL139-L141en.jsonL144-L145en.jsonL259-L259en.jsonL263-L263en.jsonL267-L276PromotionEntity.phpL535-L555LineItemGroupRule.phpL56-L62LineItemGroupBuilderResult.phpL153-L179PromotionDiscountEntity.phpL23-L41PromotionDiscountEntity.phpL210-L230PromotionItemBuilder.phpL271-L277PromotionItemBuilder.phpL283-L293PromotionCalculator.phpL277-L282PromotionCalculator.phpL348-L348SetScopeDiscountPackager.phpL35-L40SetScopeDiscountPackager.phpL53-L87SetGroupScopeDiscountPackager.phpL50-L82SetGroupScopeDiscountPackager.phpL91-L109DiscountFixedPriceCalculator.phpL36-L62ActiveDateRange.phpL18-L63PermittedAutomaticPromotions.phpL20-L35PermittedGlobalCodePromotions.phpL22-L37PermittedIndividualCodePromotions.phpL25-L33sw-promotion-v2-detail-base.html.twigL52-L63sw-promotion-v2-detail-base.html.twigL110-L116sw-promotion-v2-detail-base.html.twigL128-L139index.jsL47-L52index.jsL98-L98index.jsL141-L142sw-promotion-v2-conditions.html.twigL10-L18en.jsonL44-L52en.jsonL56-L58en.jsonL60-L61en.jsonL66-L67en.jsonL117-L117condition-type-data-provider.decorator.tsL410-L423condition-type-data-provider.decorator.tsL564-L577condition-type-data-provider.decorator.tsL870-L876sw-condition-line-item.html.twigL11-L21en.jsonL813-L813en.jsonL871-L871en.jsonL873-L873LineItemRule.phpL32-L77DiscountFixedPriceCalculator.phpL44-L48index.jsL157-L160sw-select-rule-create.html.twigL31-L33Checklist
PageRefreferences where relevant..gitbook.yamlif pages were moved, renamed, or deleted..wordlist.txt(and sorted it) if spellcheck flags new legitimate terms.Dependent PRs
Notes
main(Shopware 6.7) only.🤖 Generated with Claude Code