Hello. I have this scenario: I have a bundled product, lets call it MyProduct, with two bundled products, lets call them MyProduct-A and MyProduct-B, each of them from different vendor, using an attribute of type dropdownlist. Either MyProduct-A or MyProduct-B has the price information, no picture, and the corresponding Vendor, lets say Vendor-A for MyProduct-A and Vendor-B for MyProduct-B. When a customer select either product and make an order, for example, MyProduct-B, Im expecting Vendor-B can see the order in his panel,but no, I can not see it as Vendor-B. Let me say that in MyProduct, in the vendor Field I selected No vendor, since That will depend on the selected product. Is there a setting Im missing to see the order on the corresponding vendor?
Thanks for your reply. I selected vendor-A on MyProduct, and then I proceed to make an order, but selecting MyProduct-B. That order is now visible for vendor-A, but thats not whats required, vendor-B should be the one who now could view the order. It seems like the vendor will be always the one of the mail product.
Is there a Programmatically way to know if a product has bundled products?
You could check for attributeValue.AttributeValueType == AttributeValueType.AssociatedToProduct, then get the vendor from the associatedProduct to handle your use case.