Passe le base_price dans la methode SetSellPrice
This commit is contained in:
parent
774b009b0a
commit
f29a926440
@ -56,8 +56,8 @@ if ($_POST["action"] == 'update_price' &&
|
|||||||
|
|
||||||
$result = $product->fetch($_GET["id"]);
|
$result = $product->fetch($_GET["id"]);
|
||||||
|
|
||||||
$product->SetSellprice($_POST["price"]);
|
$product->SetSellprice($_POST["price"], $_POST["price_base_type"]);
|
||||||
$product->price_base_type = $_POST["price_base_type"];
|
|
||||||
// MultiPrix
|
// MultiPrix
|
||||||
if($conf->global->PRODUIT_MULTIPRICES == 1)
|
if($conf->global->PRODUIT_MULTIPRICES == 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user