I have a configurable product that has 12 associated products. One of those associated products needs to be part of a promotion.
Let's say the SKU for the configurable is J001 and the SKU for the simple product is J001-2D.
The attribute in the promotion is Container Size. The configurable doesn't have that attribute, but the associated products do.
If I create a shopping cart price rule that looks like the following:
That doesn't match anything. If I exclude everything (IE, Container Size Is Not whatever), it matches everything in the cart. This says to me that the promotion isn't matching the simple associated product.
Is this intended behavior? Is there a workaround?
Best Answer
Apparently Magento does not support this by default. Instead, we overrode Mage_SalesRule_Model_Validator and created a salesrule rewrite. In that we check to see if the associated product matches the sales rule.
app/code/local/AAA/SalesRule/etc/config.xml
app/code/local/AAA/SalesRule/Model/SalesRule/Validator.php