We’re using 1.4.0.1. Every time we update a product, we find that catalog price rules no longer applies to the modified product. So right now after every product modification we have to manually go to Promotions > Catalog Price Rules > the interested price rule, and click Save and Apply.
This this a known issue with 1.4.0.1, or are we doing something wrong?
Some updates - our catalog price rule is effectively turned off every night by magento somehow. So for now we’re having to change product special price in products. Anyone else seeing this issue?
That’s one way to handle it, I suppose. But still, every time when we manually update a product we have to remember to reapply the promotion. We’re only running a basic promotion where the entire store is x percentage off, so for the time being we can use the special price field in manage product.
Are you running 1.4.0.1? Do you see the same thing in your store?
To alleviate the “rules disappear when saving product” phenomemon, here’s what worked for me:
1. Open up Observer.php in /app/code/core/Mage/CatalogRule/Model/
2. Find the applyAllRulesOnProduct() method
3. At the end of the method, before “return $this;”, add:
$this->applyAllRules( $this );
Now to address the catalog rules remaining in effect only for a limited time, here’s what worked for me (same procedure, different method):
0. Make sure cron is set up and working properly—(but setting up the cron alone didn’t work for me)
1. Open up Observer.php in /app/code/core/Mage/CatalogRule/Model/
2. Find the dailyCatalogUpdate() method
3. At the end of the method, before “return $this;”, add:
$this->applyAllRules( $this );
4. (Not sure if this step is necessary) Open up /app/code/core/Mage/CatalogRule/etc/config.xml
5. Find the crontab > jobs > catalogrule_apply_all area
6. Change
<cron_expr>0 1 * * *</cron_expr>
to something more frequent than daily, perhaps every hour