-
- Emily

-
Total Posts: 12
Joined: 2008-03-31
|
I’m having the same problem. If I go in and edit a product’s details, then the rule will be re-applied to that product (but that product only). Otherwise the catalog rules don’t apply.
From poking around the database, it looks like catalog price rules are generated and stored in catalogrule_product_price. When I update a product (and so the rule gets applied), it adds two new entries to this table - one with a rule_date of today, and one with rule_date of tomorrow. Hence the rule only last for two days. Obviously the table can’t be filled with a price rule for every product for every day from now til the rule expires - is there a cron job that needs to be running nightly to update this table? Or is there a way to make product rules check the earliest_end_date column instead of rule_date?
|