Created
August 31, 2018 18:20
-
-
Save EricSeastrand/b847394402d87949537e502054e93bf4 to your computer and use it in GitHub Desktop.
Magento 1: SQL query to disable old shopping cart price rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE salesrule SET is_active=0 WHERE to_date<NOW() AND is_active=1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment