Email Format Issue

Hello, I am just utilizing the Email SMTP feature in manager, using Manager.io server edition, latest version.

Email are sending quickly and fluently, the only problem is the formatting. I am facing two minor issues.

1.The Logo is not shown in the email doc (In this case i am sending a Quote)
2. The Mobile view of the quote stretches items vertically. There is not responsiveness of blocks getting aligned and it just puts text to appear vertically. Content is acting as if a table was used to create the quote/invoice and not blocks, so content width is reduced with the screen without aligning blocks vertically to create a responsive look.

Unfortunately, in most cases, clients will view emails on their phone. So this issue with the formatting/styling/design might cause issues with many people.

You can change the email layout to your liking using Email Templates found under Settings > Email Settings.

The language used to write these templates is shopify liquid.

@Ealfardan the settings found in Settings >> Email Settings are for email content not design. Email Subject and Email Body. As per my understanding.

This accepts html markup as well Liquid tags.

The available tags for Emails include, but not limited to:

  • {{ recipient }} and its related properties such as {{ recipient.name }}
  • {{ business }} and its related properties such as {{ business.name }}, {{ business.address }}, {{ business.custom_fields }}
  • Document related tags such as: {{ title }}, {{ reference }}, {{ table }}, and {{ table.totals }} array.

For the logo, you will have to use html

1 Like

Do we have a sample of this? Or do we have a way to access the current code so i can work from there or everything needs to be done from scratch?

Here’s a sample template to get you started:

Subject

Your {{ title }} {% if reference != null %}{{ reference }}{% endif %}

Message body

{% for total in table.totals %}
    {% if total.label == 'Total' %}
        {% assign amount = total.text %}
    {% endif %}
{% endfor %}

<img src="https://isc.tamu.edu/~lewing/linux/sit3-shine.7.gif" />

Dear <b>{{ recipient.name }}</b>,
Your {{ title }} {% if reference != null %}{{ reference }}{% endif %} has been issued{% if amount != null %}{{ amount | prepend: ' for ' }}{% endif %}.
1 Like

Thank you so much this was helpful

@Ealfardan is it possible to do customizations in manager styling, eg theme etc, and have it not be lost in the next manager.io update? So perhaps to have it in the data folder (Working directory) instead of the installation folder) so it fetches style from another location. That way even when an update is made the styling is not broken. Sort of how it works in wordpress with themes and child themes. This could also increase engagement of developers and expand manager’s global footprint.

Unless something comes up, there are no plans to render Email Templates obsolete.

Moreover, in my 8 years experience using Manager, I don’t recall there to be any bug report with regards to Email Templates.

Oh basicaly mean editing the theme and storing that file somewhere in the manager installation directory or elsewhere such that in the next manager update its not affected.

By editing and styling here i mean beyond email templates. Manager bg, custom lang, favicon, boxng, buttons etc

1 Like