Skip to content

Instantly share code, notes, and snippets.

@EricSeastrand
Created August 31, 2018 18:20
Show Gist options
  • Save EricSeastrand/b847394402d87949537e502054e93bf4 to your computer and use it in GitHub Desktop.
Save EricSeastrand/b847394402d87949537e502054e93bf4 to your computer and use it in GitHub Desktop.
Magento 1: SQL query to disable old shopping cart price rules
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