ingsk Posted June 5, 2020 Share Posted June 5, 2020 I'm getting this is my order_conf emails: "Test" is a test product. It is expected to show as the second row in the table. Instead it "pops out" of the table and renders above it, as you can see. The locale is "no" (Norwegian). In English locale this renders correctly. They use the same tpl as far as I can tell. However, the English template folder contained a file product_conf_product_list.tpl which the Norwegian template folder didn't have. No change after copying it over though. The order_conf.tpl looks right to me: <div class="mj-column-per-100 outlook-group-fix" style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"> <tr> <td align="left" class="products-table" style="font-size:0px;padding:10px 25px;padding-right:50px;padding-left:50px;word-break:break-word;"> <table cellpadding="0" cellspacing="0" width="100%" border="0" style="cellspacing:0;color:#000000;font-family:Open sans, arial, sans-serif;font-size:14px;line-height:22px;table-layout:auto;width:100%;"> <colgroup> <col span="1" style="width: 15%;"> <col span="1" style="width: 40%;"> <col span="1" style="width: 15%;"> <col span="1" style="width: 15%;"> <col span="1" style="width: 15%;"> </colgroup> <tr> <th bgcolor="#FDFDFD">{{ 'Reference'|trans({}, 'Emails.Body', locale)|raw }}</th> <th bgcolor="#FDFDFD">{{ 'Product'|trans({}, 'Emails.Body', locale)|raw }}</th> <th bgcolor="#FDFDFD">{{ 'Unit price'|trans({}, 'Emails.Body', locale)|raw }}</th> <th bgcolor="#FDFDFD">{{ 'Quantity'|trans({}, 'Emails.Body', locale)|raw }}</th> <th bgcolor="#FDFDFD">{{ 'Total price'|trans({}, 'Emails.Body', locale)|raw }}</th> </tr> {% if templateType == 'html' %} {products} {% endif %} {% if templateType == 'txt' %} {products_txt} {% endif %} {% if templateType == 'html' %} {discounts} {% endif %} {% if templateType == 'txt' %} {discounts_txt} {% endif %} <tr class="order_summary"> <td bgcolor="#FDFDFD" colspan="3" align="right"> {{ 'Products'|trans({}, 'Emails.Body', locale)|raw }} </td> <td bgcolor="#FDFDFD" colspan="3"> {total_products} </td> </tr> Any tips are appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now