ITEM_LIST in Bakery customize

freeSbee

Hi mgeene

Use an online tool like Litmus to test your email rendering or search the web:
https://www.google.ch/webhp?q=email+testing+and+rendering+previews

Outlook 2007 has very small CSS rendering capabilities. There are web resources that tell you the CSS support for the most popular mobile, web and desktop email clients. For example:
https://www.campaignmonitor.com/css/

Regards Christoph

mgeene

Hi Christoph,

I use Outlook 2007, what email software do you use?

freeSbee

Sorry, mgeene, but I do not get your issue. The email code you have attached looks fine and renders correctly in all tested browsers and all my email clients. What email client did you use to test?

Regards Christoph

mgeene

Hi Christoph,

i use that function but the the source is from that premailer script.

freeSbee

Hi mgeene

As mentioned above for most email clients you must bring css inline.

If you use Bakery to send invoices it will be done automagically using an online tool called "premailer".
Bakery  >  Order Administration  >  Table header "Actions"  >  Button "Send Invoice as an HTML email"

Regards Christoph

mgeene

Hi Christoph,

See the attachment for the HTML of the mail:

I just link tot the CSS file and i read somewhere that some emailprograms don't accept a link to a css file?

freeSbee

Hi mgeene

Yes, it is controlled by CSS declarations (display property) which must be inline.
Please post the source code (HTML part) of the email.

Regards Christoph

mgeene

Hi Christoph,

Thanks for your reply, that's it!
But i get another problem with the invoice email, when i send the invoice with a email (with the button in the backend) then ik see in the email the data of the invoice and the shipping order and the reminder (see the attachement). Do you know the problem of this? Is it the css in the email?

Thanks for your reply.

freeSbee

Hi mgeene

Ok, now I see what table cell you are writing about. Find it here:
/bakery/templates/invoice/table_footer.htm

Please not, that you have to generate a new invoice to see the changes since the HTML code of former invoices is saved in the database.

Regards Christoph

mgeene

Hi Christoph,

if i change something in /bakery/templates/invoice/table_body.htm, than the changes are not visible in de delivery note or the invoice note that you can print in de backend. The html output of the invoice to print or in the backend has the output in the previous message.
You can see that the first <td> has a class and the second <td> with the prices not:

<tr>
<td colspan="4" class="mod_bakery_invoice_subtotal_b">Subtotaal</td>
<td style="text-align: right">EUR&nbsp;9.67</td>
</tr>


If i get the <td> with the prices have a class i can style it or i can make it not visible in the backend.css


freeSbee

Hi mgeene

Do you mean this?
/bakery/templates/invoice/table_body.htm

Regards Christoph

mgeene

Hi Christoph,

Thanks for your reply.
But i did not find the solution here.
I do not understand how is the ITEM_LIST is build.
Here is some output of the delivery note, but the ITEM_LIST i can not change:

<table width="98%" border="0">
<tr>
<td class="mod_bakery_invoice_td_sku_b">8909-12</td>
<td class="mod_bakery_invoice_td_name_b"><span class="mod_bakery_invoice_item_b">Mactac </span><br /></td>
<td class="mod_bakery_invoice_td_quantity_b">1</td>
<td class="mod_bakery_invoice_td_price_b">9.67</td>
<td class="mod_bakery_invoice_td_shipping_b" style="display: none">0</td>
<td class="mod_bakery_invoice_td_tax_rate_b" style="display: none">21.0</td>
<td class="mod_bakery_invoice_td_sum_b">9.67</td>
</tr>
<tr>
<td colspan="5"><hr class="mod_bakery_hr_b" /></td>
</tr>
<tr>
<td colspan="4" class="mod_bakery_invoice_subtotal_b">Subtotaal</td>
<td style="text-align: right">EUR&nbsp;9.67</td>
</tr>
<tr>
<td colspan="4" class="mod_bakery_invoice_shipping_b">Verzendkosten</td>
<td style="text-align: right">EUR&nbsp;0.00</td>
</tr>
<tr style="display: ">
<td colspan="4" class="mod_bakery_invoice_tax_b">Inclusief 21.0% BTW</td>
<td style="text-align: right">EUR&nbsp;1.68</td>
</tr>
<tr>
<td colspan="5"><hr class="mod_bakery_hr_b" /></td>
</tr>
<tr>
<td colspan="4" class="mod_bakery_invoice_total_b">Totaal</td>
<td style="text-align: right">EUR&nbsp;9.67</td></tr>
<tr>
<td colspan="5"><hr class="mod_bakery_hr_b" /></td>
</tr>
</table>


and the second TD needs a class so i can decide to have it visible or not in the backend.css file

freeSbee


mgeene

Hello,

Bakery 1.76
I am now busy for days to find out how I can adjust the [ITEM_LIST] in Bakery. I do not want to see the prices in the delivery note, the class that the <td> is given  gives me in CSS opportunities, but the <td> in prices has no class and I can not find where you can change this.

Can anyone help me with this?

Thanks in advance for your response