If you want to define global discount for products in your store based on their group, you can use group settings for this purpose.
Log in to your back office, go to customers > groups and then - edit group for which you want to grant discount.
watch this video for mode details