|
I’m getting pretty desperate by now.
What I’ve come up so far:
- there is a table that links products together (catalog_product_link). So yes, there should be a way to get the info from an associated product to its grouped product
- there is a function “getSuperProduct” that seems to be able to get called from a couple Model files
- when I perform a print_r from an associated product, there is no info whatsoever that refers to the ‘superproduct’ -> how does getSuperProduct work?
However, I don’t seem to be able to connect all the dots.
What I need to do is call a getDescription from the superproduct.
Eg. In Catalog/Product/View.phtml I’d like to have something like
if ($_superProduct=$_product->getSuperProduct()){ echo $_superProduct->getDescription();} else { echo $_product->getDescription();}
Does anyone have any clue on how to continue on that road?
Thanks
|