WYSIWYG Editor for E-Mails and PDF Invoice

  • Posts: 9
  • Thank you received: 0
  • Hikashop Business
1 year 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: 83674
  • Thank you received: 13545
  • MODERATOR
1 year 6 days 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: 1 month 2 days ago by nicolas.

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

  • Posts: 194
  • Thank you received: 11
  • Hikashop Business
1 month 2 days 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: 83674
  • Thank you received: 13545
  • MODERATOR
1 month 2 days 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.

The following user(s) said Thank You: Rusty

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

  • Posts: 57
  • Thank you received: 5
  • Hikashop Business
3 days 18 hours ago #366838

Any news? :-)

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

  • Posts: 83674
  • Thank you received: 13545
  • MODERATOR
3 days 14 hours ago #366840

Hi,

I said that I had to think about it. Not that I would develop a solution in less than a month :)
Now, you're actually lucky because last week I published a new release of HikaShop with a new drag & drop interface for emails:
www.hikashop.com/support/documentation/5...ashop-changelog.html

The following user(s) said Thank You: Rusty

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

  • Posts: 57
  • Thank you received: 5
  • Hikashop Business
3 days 13 hours ago #366850

Hi nicolas,

nicolas wrote: I said that I had to think about it. Not that I would develop a solution in less than a month :)


That's because ... I knew you're great! :-D

nicolas wrote: Now, you're actually lucky because last week I published a new release of HikaShop with a new drag & drop interface for emails:


That's really nice! I really don't want to seem intrusive, but ... could we also get something like this for the invoice and delivery bill? Please, please! :silly: :silly: :silly:

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

  • Posts: 83674
  • Thank you received: 13545
  • MODERATOR
3 days 1 hour ago #366853

That's on my todo list. Everything should be in place for this in HikaShop now with the new release.
However, it requires working on the PDF invoice plugin, first, to update each layout, and second to integrate with the changes in HikaShop to support this capability.

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

Time to create page: 0.093 seconds
Powered by Kunena Forum