Code comment
This commit is contained in:
parent
886965be76
commit
9e202467e0
@ -470,11 +470,12 @@ class ProductCombination
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the weight of the child product. The price must be updated using Product::updatePrices
|
* Updates the weight of the child product. The price must be updated using Product::updatePrices.
|
||||||
|
* This method is called by the update() of a product.
|
||||||
*
|
*
|
||||||
* @param Product $parent Parent product
|
* @param Product $parent Parent product
|
||||||
* @param User $user Object user
|
* @param User $user Object user
|
||||||
* @return int >0 OK <0 KO
|
* @return int >0 if OK, <0 if KO
|
||||||
*/
|
*/
|
||||||
public function updateProperties(Product $parent, User $user)
|
public function updateProperties(Product $parent, User $user)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user