Skip to content

[Bug]: Discount Rule Reward Value Decimal Not Supported #4962

Description

@simon-online

Description of the issue

In the new Features Preview - Discount Rules section you can't set a decimal value for the rule Reward Value field even though it's supported by the API.

Steps to reproduce the problem

  1. Enable Discounts Rules in Features Preview
  2. Go to Discounts
  3. Create a discount
  4. Add a rule, select a rule channel and under Reward try to set a decimal value eg. 12.55 in the Reward Value field

What did you expect to happen?

I expected to be able to set a decimal value eg. 12.55 in the Reward Value field.

Additional information

No response

Environment

Dashboard version: v3.19.8
Core version: v3.19.46

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions