How to identity configurable product in magento frontend ?

2 Answers 2


The quickest what to figure out if a product is a configurable product on the frontend is to view the page source and look for the body tag"

body class='page-product-configurable..'

If you are trying to figure out if a product is configurable in a phtml file

if ($product->getTypeId() === 'configurable')


Please follow below link -It will help you.


Please see step 3 carefully -

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.