Jump to content

Clean and tidy email template


M.N

Recommended Posts

As Prestashop (1.7) own e-mail template seems very fractured and heavy, I am looking for email template module. I look for structurally well built module, where:

  • there is less elements; like: header, greeting, message, (purchase table) and footer
  • these elements can be modified in their css or twig files
  • the email templates are html files, generated based on the modifications done on component files.

So, needed is theme, that is made from scratch, not modified core theme. However, it should work with Prestashop, especially translation, e-mail generation, etc.

Core themes code is awful. In these twig files, the same table has defined font and all font parameters for table, not inherited, as it also defines everything for td, but this is not also inherited, as it is overridden by font in tr. If you try to find out, what causes these enormous paddings - not possible, some are in components, some come from main html, there is no documented or commented sequence...  Tried to set up font weight golden rule, but also not so easy, as fonts are defined in every place and then deprecated.

So compared to Magento (where my shop runs now), where you have just simple html files (about 10x smaller) and two css files to modify layout, these Prestashop files are above my head (I am not a coder, I have just self learned to the needed level for retailer for some customization). So, decided to save some time and buy module. But as you can not see the modules structure sold, it is difficult to judge which are just modified and based on Prestashop core themes and which are written from scratch with some understanding of architecture needed, but also working in all receivers OS and HW

What e mail module has the most clear coding structure, can be customized from as few files as possible and works well with Prestashop email back-office system?

Please share your experience.

  • Like 1
Link to comment
Share on other sites

4 hours ago, BenKilr said:

I tried using other email templates for my project, but failed. I returned to the Prestashop template. The problem is that developers usually program templates so that they are only suitable for their platform.
Maybe you can choose a better option.

Thank you for reply! What you tried? Did you test Prestashop own Boxy theme also?  And about customization, have you seen cleaned Prestashop modern theme code shared somewhere?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...