Skip to content

Instantly share code, notes, and snippets.

@bka
Created September 23, 2016 04:12
Show Gist options
  • Save bka/1e69436f819484b967ab7ebc4de5d31d to your computer and use it in GitHub Desktop.
Save bka/1e69436f819484b967ab7ebc4de5d31d to your computer and use it in GitHub Desktop.
load Magento1 Product
Mage::getModel("catalog/product")
->loadByAttribute('sku', "XXX")
->getData();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment