I'm looking for a solution to only give the products whom are in stock and have a qty more then 0 to have a discount regardless the total quantity the customer orders.
Example:
- product 1 (qty: 1)
- product 2 (qty: 0)
- product 3 (qty: 4)
products 1 and 3 will have a discount and product 2 does not.
At default this is not a function available in Magento 1 > cart price rules.
Also I cannot find a module which will give me these options.
Any help would be appreciated.
UPDATE: We've solved the issue by creating a category, not visible on frontend, that holds all the products with a qty above 0. Via a cronjob the products will either be removed or added to the category. By using the cart price rules we were able to set only the discounts on the regarding products.
stock_status
and set it to 'yes' forUsed for Promo Rule Conditions
. The observer would be an entirely different animal...