Skip to content

Static fallback to 19% in basket #2608

@mitelg

Description

@mitelg

Instructions for reproduction:

  • Basic settings > Create a shopping cart discount for customer groups, e.g. 10%.
  • Create a tax rule for this customer group and define 0%-> Shopping cart discount is still calculated with 19%.

The cause is this query: https://github.com/shopware5/shopware/blob/v5.7.18/engine/Shopware/Core/sBasket.php#L425-L427

If you change this e.g. to (!$tax && $tax != 0) then it also works with 0% tax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions