Magento catalog price rule disappears at night

前端 未结 5 1216
谎友^
谎友^ 2020-12-14 04:45

I have developed the online store on magento platform. Everything works fine except the Catalog price rule for sale. I have created the simple rule that applies 15% discount

5条回答
  •  一整个雨季
    2020-12-14 05:07

    As stated above by @Alexei-Zerofezev the problem is with the indexer.

    I had this problem as well, the issue exists when there is an offset of the local timezone greater than +01:00.

    Basically just because magento is using the gmtTimestamp for the rule date which in the above stated case results in the day before today.

    Therefor I developed a small module https://github.com/Chuvisco88/Chuvisco_CatalogRuleFix to fix the issue. If someone ever has this problem, please give it a try.

提交回复
热议问题