Pārlūkot izejas kodu

[Administration] Emails automatiques

feature/rotating_product
Guillaume Bourgeois pirms 4 mēnešiem
vecāks
revīzija
3cd77d6f2a
1 mainītis faili ar 1 papildinājumiem un 4 dzēšanām
  1. +1
    -4
      domain/Communication/Email/EmailGenerator.php

+ 1
- 4
domain/Communication/Email/EmailGenerator.php Parādīt failu

@@ -2,10 +2,8 @@

namespace domain\Communication\Email;

use common\helpers\GlobalParam;
use common\helpers\Price;
use domain\_\AbstractResolver;
use domain\Communication\AutomaticEmail\AutomaticEmail;
use domain\Config\Unit\UnitDefinition;
use domain\Distribution\Distribution\Distribution;
use domain\Distribution\Distribution\DistributionSolver;
@@ -115,8 +113,7 @@ Produits disponibles :
$fromName = $producer->name ;

$linkProducer = 'https://'.$producer->slug.'.souke.fr';
//$linkUnsubscribe = \Yii::$app->urlManagerProducer->createAbsoluteUrl(['newsletter/unsubscribe', 'slug_producer' => $producer->slug]);
$linkUnsubscribe = '';
$linkUnsubscribe = \Yii::$app->urlManagerProducer->createAbsoluteUrl(['newsletter/unsubscribe', 'slug_producer' => $producer->slug]);

// Message inscription newsletter
$messageAutoText .= "

Notiek ielāde…
Atcelt
Saglabāt