So I have a client that has about 14 Configurable products that are basically the same thing (logo item). Then they have created a simple product for each base color(Blue, Pink, Black)[3 total simple products]. They have then taken the 3 simple products and assigned each of them to the 14 configurable products so that the logo from the configurable products gets the base color simple product selected.
In their setup the configurable products house the images for these products. However, since you can only purchase the simple product the image that is being select is ALWAYS coming over as the image from product 1 of 20 (lowest product_id), no matter which selection is chosen.
The code im going to be trying to update is in a custom block that is being used on the checkout_onepage_index reference.
My question is:
From the sales/quote_item Model, how can I determine exactly which parent the child item was selected from?
From the checkout/cart Model, can something be achieved?
Things I have already seen but are not really helpful.
Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId()) result Array (  => 45207  => 45209  => 45210  => 45211  => 45212  => 45213  => 45214  => 45215  => 45216  => 45217  => 45218  => 45219  => 45220  => 45222 )
- This just returns an array of all parentIds for the child item. Which is great, but there is no indication of which Parent Product this simple product was selected from.