Jump to content

Is there an easy way to add discount to product groups/categories?


Recommended Posts

No, I'm not aware of any way to assign discounts to an entire category. You'd have to use SQL queries like:

UPDATE `ps_product` SET `reduction_percent` = 10 WHERE `id_category_default` = 2



This code will give all products with default category 2 a 10% discount. Change 2 to the category you want to change, or remove the WHERE clause to update all products.

Link to comment
Share on other sites

×
×
  • Create New...