Skip to content

Instantly share code, notes, and snippets.

@timbroder
Created June 11, 2011 23:16
Show Gist options
  • Select an option

  • Save timbroder/1021069 to your computer and use it in GitHub Desktop.

Select an option

Save timbroder/1021069 to your computer and use it in GitHub Desktop.
$product = Mage::getModel('catalog/product')->loadByAttribute('sku',$fieldMap['sku']);
$product->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment