diff --git a/common/modules/product/models/Import.php b/common/modules/product/models/Import.php index abbbc56..943340a 100644 --- a/common/modules/product/models/Import.php +++ b/common/modules/product/models/Import.php @@ -131,6 +131,8 @@ class Import extends Model { } $productVariant->stocks[$stock->stock_id] = $count; + print_r($productVariant); + die(); $quantity = $quantity + $count; } diff --git a/common/widgets/Mailer.php b/common/widgets/Mailer.php index 13ab62a..5bf3c40 100755 --- a/common/widgets/Mailer.php +++ b/common/widgets/Mailer.php @@ -31,7 +31,7 @@ class Mailer extends Widget{ $mail->SetFrom('rukza4ok@eltrade.com.ua'); $mail->Subject = $this->subject; $mail->MsgHTML($this->render($this->type, ['params' => $this->params])); - $address = "dockdep@gmail.com"; + $address = "rukza4ok@eltrade.com.ua"; $mail->AddAddress($address); $mail->AddAddress($this->email); if(!$mail->send()) { -- libgit2 0.21.4