Multilaguage for products in Acyba Newsletters

  • Posts: 634
  • Thank you received: 16
10 years 1 month ago #170135

-- Joomla version -- : newest
-- PHP version -- : newest

I succesfully run a multilanguage site where HikaShop products show in both English and Spanish.

When making an Acyba Newsletter I insert some products expecting they show in the language indicated in the language box for each newsletter. But they show in the language I am browsing the website.

So when I make replace tags doesn't matter the language of the newsletter, it applies the language I am browsing at that moment and this doesn't make sense. TAG replacement should obey the langague assigned to the newsletter.

I sent the newsletter to a list and the products always show in spanish if the tags have not been replaced while browsing in english mode.

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13338
  • MODERATOR
10 years 1 month ago #170189

Hi,

The language parameter is something new in AcyMailing so it's not handled yet in the integration we have with it, which is why you get that behavior.
Try to add the line:

if(!empty($email->language)) $tag->lang = $email->language;
after the line:
$tag->id = (int) $arguments[0];
in the file plugins/acymailing/hikashop/hikashop.php and that should help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum