// Fixed Suppliers/Products association #PSTEST-429

This commit is contained in:
bMancone
2012-01-11 15:30:02 +00:00
parent 4389a2d9f4
commit b2aee7ade6
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