Quote Originally Posted by swguy View Post
Would you please double check this? I thought I coded it in such a way as to guard against this.
(Not that this is a workable solution for the specific problem you have - it would be a terrible pain to maintain these symmetric lists of associations. I just want to be sure you're allowed to do it and don't get the astonishing result of a double discount!)
Thanks for the follow-up Scott,

Sorry if I was not clear. I was making a presumption that if I set-up a discount on one product and then also set-up a discount on the other product, I would receive two discounts.

So to test this I just set-up:
$this->add_prod_to_prod(A, B, "%", 25);
$this->add_prod_to_prod(B, A, "%", 25);

And I added both products to my shopping cart and checkout shows only one discount applied! Cool!

Questions:

What controls which discount would apply (say product A is $14 and product B is $12. Would the 25% discount be $3.50 or $3.00? What is the criteria for calculating the basis of the discount in this scenario? By the order the products are added to customer shopping cart?

Yes it would be great, if when setting up a discount, which directly involves two products, the bundle discount availability would be promoted on both product description pages.

And would be cool if such special could be displayed on product listing (category) pages or on the featured products page per example (since we have only few products we display all products on home page in Featured Products listing in center column).

Maybe add a red asterisk to the price (*) and a legend at the top and bottom of the listing show:

* = special bundle price available (see product page)

But I can see supporting such as above would add additional complexibility to the mod. But as Borat would say, that would be "very nice". ;-)

And yes the idea of being able to bundle more than two products together has much appeal (e.g. buy A and B get C for free).

Woody