Skip to content

Cart Price Rule: dates range is filled unexpectedly  #6762

@alexkuk

Description

@alexkuk

Preconditions

  1. Magento CE 2.1.1 with sample data

Steps to reproduce

  1. Go to backend
  2. Marketing -> Promotions -> Cart Price Rules
  3. Click Add New Rule.
  4. Fill up the form, leave "From" and "To" dates empty
  5. Click Save button

Expected result

  1. The rule is created without date range restriction

Actual result

  1. The rule is created with "From" and "To" dates filled by today's date.

I expect it to work the same way as it worked in M1. If putting no date restriction is not possible by design anymore, then I'd prefer "From" and "To" date fields prefilled with current date when filling up a new rule form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions