Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Hotfirenet/c8fd31f0392a8a455a7da6d565333a06 to your computer and use it in GitHub Desktop.
Permet de supprimer tous les produits d'une règle panier contenu dans une categorie sur prestashop.
DELETE FROM ps_cart_rule_product_rule_value WHERE id_item IN (SELECT id_product FROM ps_category_product WHERE id_category = 53) AND id_product_rule = 1076
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment