简体   繁体   English

Magento目录价格规则不工作半天

[英]Magento Catalog Price Rules not working half a day

I'm facing a very very weird problem with Catalog price rules. 目前的价格规则我面临一个非常奇怪的问题。 They work only between 10:00 and 23:00 server time. 它们仅在服务器时间的10:00到23:00之间工作。 So if i apply them between this period everything works great, but if i change the rules or reindex after 23:00 all prices will be back to normal. 因此,如果我在这段时间内应用它们一切都很好,但如果我改变规则或在23:00之后重新索引,所有价格将恢复正常。 Also if i try to apply a rule outside that period the rule is not applied. 此外,如果我尝试在该期间之外应用规则,则不应用规则。 I've installed Cron Doctor to see if there is any cron that runs at those times and nothing. 我已经安装了Cron Doctor,看看是否有任何cron在那些时间运行而没有任何东西。

I'm running Magento 1.8.1.0. 我正在运行Magento 1.8.1.0。

Any ideas will be appreciated because i'm looking for over 4 days to find a solution. 任何想法将不胜感激,因为我正在寻找超过4天的时间来寻找解决方案。

For anyone facing this issue, your Default Store Timezone must match your server timezone. 对于遇到此问题的任何人,您的默认存储时区必须与您的服务器时区匹配。

在此输入图像描述

在此输入图像描述

Make sure cron.php has been scheduled for execution as per Magento recommendation. 确保根据Magento建议安排执行cron.php。

Then check if all indexing are run as per crontab settings and all indexing complete there process. 然后检查是否所有索引都按照crontab设置运行,并且所有索引都在那里完成。

Catalog rules are generally populated in DB table for 3 days so if no cron( Indexing ) has been executed for last three days then probably catalog rules might not be effective. 目录规则通常在DB表中填充3天,因此如果最近三天没有执行cron(索引),那么目录规则可能无效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM