Magento 产品属性获取价值 [英] Magento Product Attribute Get Value

查看:28
本文介绍了Magento 产品属性获取价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我知道产品ID而不加载整个产品,如何获取特定的产品属性值?

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);

这篇关于Magento 产品属性获取价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆