Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

docs: explain how to discount a set of products with promotion set groups - #2696

Open
Daniel Kirkland (d-kirkland) wants to merge 2 commits into
mainfrom
docs/promotion-set-groups
Open

Daniel Kirkland (d-kirkland) wants to merge 2 commits into
mainfrom
docs/promotion-set-groups

Conversation

@d-kirkland

Copy link
Copy Markdown
Contributor

Summary

  • New guide at checkout/cart/promotion-set-groups.md for shop operators and plugin developers who want to sell a set of products, such as a bundle of three products, at a discount with core promotions.
  • Opens with the practical answer: the core has no bundle product, a set is sold with a promotion with set groups and a discount with the scope 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 the COUNT packager sums units, extra units do not make extra sets, and the product rules of different groups should not overlap.
  • Explains how a set group fills its group from the cart, and lists the built-in packager and sorter keys with their behavior, the Administration labels, case-insensitive key matching and the errors for unknown keys.
  • Shows how to add your own packager or sorter (tagged services, the two interfaces, the two read endpoints that return the registered keys).
  • Explains how set groups are joined with AND in the promotion requirements, how discounts with the scope set apply only to complete sets, how the scope setgroup picks its group, and how the type Fixed price behaves.
  • Keeps the promotion_setgroup field reference at the end of the page and links the page from Add Cart Discounts with a Next steps section.

Related links

Checklist

  • I reviewed affected links, code samples, and cross-references, including PageRef references where relevant.
  • I added or updated redirects in .gitbook.yaml if pages were moved, renamed, or deleted.
  • I updated .wordlist.txt (and sorted it) if spellcheck flags new legitimate terms.
  • I listed every dependent pull request that is not merged yet under Dependent PRs below.
  • Dependent changes that must be released, not only merged, before this documentation goes live have been published.
  • This pull request is ready for review.

Dependent PRs

Notes

  • This PR was fully AI generated (Claude Code) and requires human review. It has not been merged, approved or reviewed by the AI session. Please verify the claims and the changed text against the source before merging.
  • Type: documentation gap, a new page. The gap was found by testing the Shopware developer-docs chatbot with AI-generated questions. It was not reported by developers.
  • Redirects: not applicable, no page was moved, renamed or deleted. Wordlist: not checked, the spellcheck could not be run locally; the word packager is written only inside code formatting. Dependent PRs: there are none.
  • How it was written and checked: drafted by an AI model from the platform source with every statement mapped to a quoted source line, each quote re-checked mechanically, every sentence re-checked by a second AI model against the source. Please check the cited lines yourself before merging.
  • Scope: main (Shopware 6.7) only.

🤖 Generated with Claude Code

…oups

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@d-kirkland Daniel Kirkland (d-kirkland) added Undocumented Feature Feature which is not documented yet and is considered for documentation Guide Guides section of dev docs labels Nov 5, 2026
@shopware-dev-docs-connector

shopware-dev-docs-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Completed with success.
Repository: shopware/docs
Commit: 6ca86ed
Preview: https://developer-documentation-h10134ei9-shopware-frontends.vercel.app
Workflow run: #5956

@shopware-dev-docs-connector

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Running.
Repository: shopware/docs
Commit: 72da41c
Preview: Waiting for workflow logs.

1 similar comment
@shopware-dev-docs-connector

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Running.
Repository: shopware/docs
Commit: 72da41c
Preview: Waiting for workflow logs.

@d-kirkland

Copy link
Copy Markdown
Contributor Author

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.
I ask that engineers doing the reviews of these PRs are a bit patient and can offer observations that will help the system improve. Thanks!

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@d-kirkland

Copy link
Copy Markdown
Contributor Author

Agent 00-Docs

Pushed one follow-up commit that fixes the two spellcheck findings in promotion-set-groups.md:

  • "With the default rule matcher, a unit matches when any one of several product rules matches." now reads "By default, a unit is selected when any one of several product rules matches it."
  • "every set group must be fillable for the promotion to apply" now reads "a group must be built for every set group for the promotion to apply".

The meaning is unchanged and no other text changed. The markdown linter still reports no issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Guide Guides section of dev docs Undocumented Feature Feature which is not documented yet and is considered for documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant