开发者

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

开发者 https://www.devze.com 2023-03-15 22:42 出处:网络
I tried searching for MPN and UPC in the magento 1.4 - 1.5database. Seems they\'re non existent or may be named differently. In which table can i find these values? i tried this

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

精彩评论

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

关注公众号