We have a store with around 80000tsd Products. All of them are linked to about 2tsd parent products. I was wondering, if it would be a good idea to set the canonical tag of the simple products to their respective parent product. We are using Simple Configurable Products by the way.
Has anyone any experience with that? Especially concerning Google Rankings!
For the technical part I would have used something like
Mage::getModel('catalog/product_type_configurable')
->getParentIdsByChild($_product->getId());
to get the ID and then load the product to get the URL. I could imagine there could be a more efficient way? Any thoughts?