Jump to content

Does anyone know how to put an entire category on sale without editing each individual item?


Recommended Posts

PrestaShop doesn't have that option. You could write an SQL query to do it:

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



This query will give a 20% reduction to all products whose default category has ID 2. Note that if the "Default category" of the products is "Home" or another category, it won't work.

Link to comment
Share on other sites

  • 5 months later...

In PrestaShop v1.4, the price reductions are stored in the ps_specific_price table. The column id_product is the product, reduction_type column is 'percentage' or 'amount' and the reduction column is the reduction value. The from_quantity column should be 1 for a regular discount or 2 or more for a quantity discount.

Link to comment
Share on other sites

  • 4 months later...
×
×
  • Create New...