I have a problem, I want to set up discount with a code which offers 50% on a specific product. But I also have a general discount which offers 20% after buying N products. I want to disable the general discounts after using the discount with the code. How can I do that?
When you create a cart price rule, there're 2 options available: Priority and Discard Subsequent Rules (in the Actions tab). If I understand your question correctly, you just need to set the following values:
For the discount with the code (50%): Priority = 1 and Discard Subsequent Rules = Yes
For the general discount (20%): Priority = 2