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

docs(checkout): document rule matching per cart delivery - #2708

Open
Max Stegmeyer (mstegmeyer) wants to merge 4 commits into
mainfrom
docs/rules-per-cart-delivery
Open

Max Stegmeyer (mstegmeyer) wants to merge 4 commits into
mainfrom
docs/rules-per-cart-delivery

Conversation

@mstegmeyer

Copy link
Copy Markdown
Contributor

Summary

  • Rule system concepts: the new DeliveryRuleScope, per delivery matching of a shipping method's rules, and the deliveryContainer with the "Whole cart / This delivery" option in the Rule Builder.
  • Shipping method prices: price row rules and the availability rule are matched per delivery.
  • Custom rules guide: read the shipping location and shipping method from the delivery in a DeliveryRuleScope.
  • Rules reference: DeliveryContainerRule.

All of it is behind the v6.8.0.0 feature flag.

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

@mstegmeyer Max Stegmeyer (mstegmeyer) added this to the v6.7.17.0 milestone Nov 12, 2026
Copilot AI balanced review requested due to automatic review settings November 12, 2026 13:35
@shopware-dev-docs-connector

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

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Completed with success.
Repository: shopware/docs
Commit: 76350ec
Preview: https://developer-documentation-kz6nawgmm-shopware-frontends.vercel.app
Workflow run: #6047

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The unchanged-price guarantee needs qualification because a single delivery with a different address or shipping method is re-evaluated and may select a different price.

1 open issue
What changed in this PR

This PR documents delivery-specific rule evaluation in Shopware’s checkout, connecting rule concepts with shipping prices and custom rule development.

Changes:

  • Explains DeliveryRuleScope and per-delivery shipping rule matching behind the v6.8.0.0 feature flag.
  • Describes deliveryContainer and the Rule Builder’s “Whole cart / This delivery” options.
  • Adds guidance for custom rules and a container entry in the rules reference.
File Description
guides/​plugins/​plugins/​framework/​rule/​add-custom-rules.md Shows how custom rules access delivery-specific shipping data
guides/​development/​troubleshooting/​rules-reference.md Adds DeliveryContainerRule to the reference
concepts/​framework/​rule-system/​rule-evaluation.md Explains per-delivery matching, fallback behavior, and availability checks
concepts/​framework/​rule-system/​rule-concepts.md Introduces delivery scopes and scope-narrowing containers
concepts/​commerce/​checkout-concept/​shipping-method-prices.md Documents per-delivery price and availability rule matching

Review effort: Balanced

@Isengo1989 Micha Hobert (Isengo1989) added Undocumented Feature Feature which is not documented yet and is considered for documentation Blocked Block PRs from merging labels Nov 13, 2026

@Isengo1989 Micha Hobert (Isengo1989) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR Max Stegmeyer (@mstegmeyer) 👍

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

Labels

Blocked Block PRs from merging 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.

4 participants