How can I check if product is a Grouped Product?
<?php if( $_products->isGrouped() ) ?>
but doesn't work.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Another way to check the product is grouped or not.
<?php if( $_product->getTypeId() == 'simple' ): ?> //your code for simple products only <?php endif; ?> <?php if( $_product->getTypeId() == 'grouped' ): ?> //your code for grouped products only <?php endif; ?>
Place this code in the