Sfoglia il codice sorgente

Mailjet : Correctif nom campagne

develop
Guillaume 3 anni fa
parent
commit
80f2515d5a
2 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. +1
    -1
      ShopBundle/Controller/Backend/NewsController.php
  2. +0
    -1
      ShopBundle/Services/Order/OrderUtilsReductionTrait.php

+ 1
- 1
ShopBundle/Controller/Backend/NewsController.php Vedi File

'Email' => $this->getParameter('app.noreply_email'), 'Email' => $this->getParameter('app.noreply_email'),
'Name' => $this->getParameter('app.site_name') 'Name' => $this->getParameter('app.site_name')
], ],
'Subject' => $currentMerchant->getMerchantConfig('email-subject-prefix').' '.$news->getTitle(),
'Subject' => $currentMerchant->getMerchantConfig('email-from-name').' - '.$news->getTitle(),
'TextPart' => $this->renderView('mail/news-text.html.twig', $paramsTemplate), 'TextPart' => $this->renderView('mail/news-text.html.twig', $paramsTemplate),
'HTMLPart' => $this->renderView('mail/news-html.html.twig', $paramsTemplate), 'HTMLPart' => $this->renderView('mail/news-html.html.twig', $paramsTemplate),
'CustomCampaign' => $news->getTitle(), 'CustomCampaign' => $news->getTitle(),

+ 0
- 1
ShopBundle/Services/Order/OrderUtilsReductionTrait.php Vedi File

$this->utils->addFlash('error', 'error.reductionCredit.alreadyUse'); $this->utils->addFlash('error', 'error.reductionCredit.alreadyUse');
return false; return false;
} }

} }


return true; return true;

Loading…
Annulla
Salva