jcadima
12/9/2015 - 8:02 PM

Check if product type is simple

Check if product type is simple


ref:
http://stackoverflow.com/questions/24968361/how-to-check-if-a-product-is-a-simple-product

<p>check if simple or configurable product</p>
<?php if( $_product->getTypeId() == 'simple' ): ?>
    <strong>product type is simple</strong>
<?php endif; ?>