0
votes

I am working on magento project. Its my first magento project. But i have learned a lot. I have applied theme to simple products details successfully in

template/catalog/product/view.phtml

Now i want to change theme for configurable products. Where can i find code for configurable products on front end? Add to cart button is not showing in configurable products.

1

1 Answers

2
votes

Magento's configurable product is actually wrapper over it's simple children. The 'add to cart' button adds simple product based on selected attributes. So, if there is no simple children available, the button 'add to cart' will not show up.
If you want to change theme files for configurable products you should look into the PRODUCT_TYPE_configurable layout handle or use $product->isConfigurable() in templates.