I can code in PHP and Laravel alright, so the snippet should not be difficult but I am new to Magento. I have been tasked with the request of coding a snippet that would give a 20% discount on black Friday for some items identified by the code. The thing is that I have no idea where to look at to start studying the code. On reading papers here and there, it seems that there is not even a need to code as Magento offers that ability, but how can I say, apply the discount to products whose code is between 100 and 200?
I am reading this tutorial (Shopping cart price rule) http://www.demacmedia.com/magento-commerce/shopping-cart-price-rules-in-magento-walk-through/
which is very close to what I want, but here it offers discount if you spend at least 99 dollars. What I want is to offer discount for the products whose ID number is between 100 and 200