I currently have a load of products that are on sale which I display in a secondary category of ‘Special Offers’, and I was wondering if anyone knows of a way I can have them automatically go into this category when they are put on sale as adding them manually can be very tedious, and products are often missed.
Any help will be very much appreciated!
How are you defining “put on sale”?
On sale is when the list price is greater than the price, so the percentage discount is displayed
While I can’t give you a verified solution, how I would approach this is:
- hook into the update_products area.
- if list price is not equal to price, then add the product to the fixed category else delete product from fixed category.