开发者

magento: fetching MPN( manufacturer part no ) or UPC (Universal product code)

I tried searching for MPN and UPC in the magento 1.4 - 1.5 database. Seems they're non existent or may be named differently. In which table can i find these values? i tried this

Mage::app();
$pr开发者_如何学JAVAoducts = Mage::getModel('catalog/product')->getCollection();
$products->addAttributeToSelect('*');
$products->load(); 

    <mpn><![CDATA['. $product['mpn'] .']]></mpn>


Magento comes stock with SKU (your in-store part number) defined.

For adding UPC or manufacturer part numbers, you will need take advantage of Magento's "out of the box" extensibility and add these as custom product attributes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜