$product = Mage::registry('current_product');
if ($product) //sometimes need check for instanse, use instanseof
{
$product->getSku();
}
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();
}
相关推荐
精彩评论(0)