I want to make a discount code or hardcode one somewhere so that the discount percentage depends on the order total .
For eg say discount code is ABC then if the order is less than 500 then its 10% ..greater than 500 but less than 1000 ..then 20% and so on .
Does anyone have any ideas about the same or done something similar?



