Skip to content

Rule-Builder:-“Item-quantity”-with-“All”-does-not-work.md #595

Description

@github-actions

Shopware Version

6.6.10.6

Affected area / extension

Platform(Default)

Actual behaviour

When creating a rule in the Rule Builder, the condition “Item quantity” combined with “All” and e.g. “Are lower than / equal to” 1 does not behave as expected.

It seems to always expect one product.

To me, this looks like a logical bug in how the “All” option is evaluated.

Image

Expected behaviour

It should be possible to validate whether a line item is in the cart, e.g., less than or equal to 1 time.

How to reproduce

See screenshot.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions