Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Retrieve product entity type ID in Magento
<?php
Mage::getModel('eav/entity_type')->loadByCode(Mage_Catalog_Model_Product::ENTITY)->getEntityTypeId();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment