我是小小懒

关注

Magento:在head.phtml中获取产品属性 echo a product attribute in magento head.phtml

我是小小懒

关注

阅读 45

2023-04-03


$product = Mage::registry('current_product');
if ($product) //sometimes need check for instanse, use instanseof
{
    $product->getSku();
}

 

相关推荐

一世独秀

Magento: 根据产品属性加载产品信息 Load A Category or Product by an Attribute

一世独秀 38 0 0

陬者

magento 获取产品的属性值

陬者 55 0 0

微笑沉默

magento 创建结构产品 Creating a Configurable Product

微笑沉默 28 0 0

i奇异

magento 获取评论数 how to get average product rating on a page in magento

i奇异 88 0 0

舟海君

Magento 获取Configuration属性 Retrieve Magento Core Configuration variables

舟海君 31 0 0

code_balance

magento 在产品页添加评论 Add Review Form in Magento Product View Page

code_balance 59 0 0

哈哈我是你爹呀

magento 首页添加随机产品 add a Random Featured Product list on home page in Magento

哈哈我是你爹呀 34 0 0

Soy丶sauce

Magento: 产品页面获取 attribute set name How do I get attribute set name?

Soy丶sauce 27 0 0

沪钢木子

Magento: 获取产品评论 get all reviews with review summary

沪钢木子 44 0 0

12a597c01003

Magento中目录添加自定义属性代码

12a597c01003 30 0 0

精彩评论(0)

0 0 举报