Use this code to determine a product’s type (such as simple or configurable):
|
1 2 |
// configurable, simple, ... $type = $product->getTypeId(); |
Getting a product’s type
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.