Skip to content

Commit

Permalink
Fixed hardcoded emailTemplatePath variable
Browse files Browse the repository at this point in the history
  • Loading branch information
stenvdb committed Sep 4, 2019
1 parent 85206a8 commit e1d2556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/OutOfStockService.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function sendMail($variantId, $recipient)
return false;
}

$html = $view->renderTemplate('_emails/shop/lowOnStock', ['variant' => $variant]);
$html = $view->renderTemplate($settings->emailTemplatePath, ['variant' => $variant]);

$mail = new Message();
$mail->setTo($recipient);
Expand Down

0 comments on commit e1d2556

Please sign in to comment.