Skip to content

Instantly share code, notes, and snippets.

@markshust
Created March 2, 2013 23:14
Show Gist options
  • Select an option

  • Save markshust/5073706 to your computer and use it in GitHub Desktop.

Select an option

Save markshust/5073706 to your computer and use it in GitHub Desktop.
Magento - get product by sku
$product = Mage::helper('catalog/product')->getProduct('SKU_GOES_HERE', Mage::app()->getStore()->getId(), 'sku');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment