WYSIWYG Editor for E-Mails and PDF Invoice

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business Hikashop Style
11 months 1 week ago #360465

-- HikaShop version -- : HikaShop Business 5.0.4
-- Joomla version -- : 4.4.4
-- PHP version -- : 8.1


Is there a way to edit the email templates and the PDF invoice in a WYSIWYG editor? Would be easier than editing the HTML and trying again and again until it works.

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

  • Posts: 83511
  • Thank you received: 13511
  • MODERATOR
11 months 1 week ago #360468

Hi,

HTML editors don't handle well the tags in the HTML of the email content.
And for the PDF invoice layout there's PHP code all over the place, so it's impossible the way it is now.

Last edit: 3 days 20 hours ago by nicolas.

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

  • Posts: 192
  • Thank you received: 11
  • Hikashop Business
3 days 22 hours ago #366350

Hi guys, I must say I understand Ritsch' question. A WYSIWYG / Drag&Drop editor (like Acymailing is using) will save a lot of trial and error time.

Is there a timeline to implement a WYSIWYG and/or Drag&Drop editor or will it never be part of Hikashop?
Kind regards.

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

  • Posts: 83511
  • Thank you received: 13511
  • MODERATOR
3 days 18 hours ago #366351

Hi,

I agree with you all that it would be nice. But having an editor there is difficult. AcyMailing had to build one from scratch, and they spent a lot of time for it. It is something central to AcyMailing, so I can understand the need to spend all that time on this for them.
On our end, we can't realistically spend all that time on this and drop everything else for 1 year or more.
Also, Joomla 5.2 introduced email templates. And with HikaShop 5.1.3, a few months ago, we've added the integration to this system:
www.hikashop.com/home/blog/523-hikashop-5-1-3.html#email
On a website, you'll likely want to customize the Joomla emails anyways. So, if you can plug your HikaShop emails to the Joomla email templates, you then only have to customize the content of the email. Most of the modifications of the content are done with translation overrides, which don't require editing the email itself.
Also, more advanced customization requires adding PHP code (add some conditions of display, load extra data, format the data to be displayed), and this can't be done with an editor anyways.

Now, regarding the PDF invoice customization, while a WYSIWYG editor is not possible, integrating the plugin with the view editor (which has a drag&drop interface) of HikaShop is something we're looking into.
In fact, now that I'm thinking about it, maybe we could cook something with the view editor drag & drop system for the email content too... I have to think about it some more.
Thanks for your feedback.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum