Okay
  Public Ticket #4246284
about rules bug
Open

Comments

  •  1
    Vladislav started the conversation

    Hello,

    We are reporting a potential bug with the "Apply discount as sale price" option in dynamic rules.

    Problem description:

    • When the option is disabled, the discount is calculated based on the B2B group price (not the B2C/regular price).

    • When the option is enabled, the discount is applied immediately as a sale price, even when the quantity condition is not met (e.g., the rule requires 3 items, but the discount is triggered with only 1 item).

    We have double-checked the rule configuration and are running the latest version of B2BKing, so this is not a configuration issue.

    What we need:

    1. The discount must respect the quantity condition (≥ 3 items).

    2. The discount should be calculated from the B2C (regular) price, not the B2B group price, when "Apply discount as sale price" is enabled.

    Could you please confirm if this is a known bug?
    If yes, do you have a temporary fix or code snippet that we could use until a permanent solution is available?

    Thank you in advance for your help!