Skip to content

Catalog Price Rules disappear the next day, cron doesn't help #6610

@ludwig-gramberg

Description

@ludwig-gramberg

When using Catalog Price Rules (without a start- and end-date) the cron does not write values into catalogrule_product_price only reindexing triggers that. Without a value for each day the rules stop to work the next day.

Preconditions

  1. Magento 2.4-develop
  2. cron is enabled and running

Steps to reproduce

  1. Create a Customer Group
  2. Create an active Catalog Price Rule:
    1. Assign the Rule to your new Customer Group
    2. Condition is "Attribute Set is Default" or some other condition which is always true
    3. Action is: "Apply as Percentage of original"
    4. Discount Amount: "20"
    5. Other Action Options set to "No"
  3. run indexer
  4. confirm reduced prices
  5. wait 1 day (or set forward clock)

Expected result

  1. catalog price rule still applies

Actual result

  1. catalog price rule no longer applies
  2. running reindex fixes the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: TaxFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions