Magento Developer
Friday, 21 December 2012
Magento current product Id
if(Mage::registry('current_product')) {
$current_product_id = Mage::registry('current_product')->getId();
echo $current_product_id;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment