// Fixed Suppliers/Products association #PSTEST-429

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12360 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-01-11 15:30:02 +00:00
parent 8b8b09452d
commit d8ff3c5b34
2 changed files with 21 additions and 9 deletions
+7
View File
@@ -1180,6 +1180,13 @@ class ProductCore extends ObjectModel
return $return;
}
/**
* Sets Supplier Reference
*
* @param string $supplier_reference
* @param int $id_product_attribute
* @param int $id_currency
*/
public function addSupplierReference($supplier_reference, $id_product_attribute = null, $id_currency = null)
{
//Try to set the default supplier reference