Hello
I don't understand why "paid" notifications are always in english.
"New order" email are in the right context (url, culturekey etc.)
But it is not the case for "paid" status.
here is the code part in minishop2.class.php which detect context settings :
/** @var modContext $context */
if ($context = $this->modx->getObject('modContext', array('key' => $order->get('context')))) {
// le ctx lang n'est pas correct pour PAID
$this->modx->getCacheManager()->generateContext($context->get('key'));
$lang = $context->getOption('cultureKey');
//$lang="fr";//ok
$this->modx->setOption('cultureKey', $lang);
$this->modx->lexicon->load($lang . ':minishop2:default', $lang . ':minishop2:cart');
}
It's the same problem with "sent" status.
In tpl.msEmail.paid.user Fenom chunk,
always return "web"
Any idea ?
[ed. note: johnxx last edited this post 6 years, 3 months ago.]