且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Magento的产品属性获得值

更新时间:2023-11-29 22:11:04

 法师:: getResourceModel('目录/产品') -  GT; getAttributeRawValue($的productId,'attribute_ code',$ STOREID);

How to get specific product attribute value if i know product ID without loading whole product?

Mage::getResourceModel('catalog/product')->getAttributeRawValue($productId, 'attribute_code', $storeId);