I have a product with two format one downloadable and another non-downloadeable. How can I show both format together on frontend with that product.
Magento – How to associate downloadable product to configurable products in magento
configurable-productdownloadablemagento-1.7
Best Answer
By default the Configurable product only allows simple and virtual products to be used, this is specified in the config.xml in Mage/Catalog/etc/:
To add a downloadable product to you configuration you have to create a small extension (do not change the core file!) to add this option:
Module init file (app/etc/modules/Example_DownloadableConfigurable.xml):
Module configuration file (app/code/community/Example/DownloadableConfigurable/etc/config.xml):
Just tested this with an order and the downloadable product is added to the list with My Downloadable products. The code above can also be applied to the bundle products type (just change
<configurable>
to<bundle>
).