WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • ITEM_LIST in Bakery customize
  • Print
Pages: [1]   Go Down

Author Topic: ITEM_LIST in Bakery customize  (Read 9753 times)

Offline mgeene

  • Posts: 148
ITEM_LIST in Bakery customize
« on: May 16, 2016, 05:29:08 PM »
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
Logged

freeSbee

  • Guest
Re: ITEM_LIST in Bakery customize
« Reply #1 on: May 16, 2016, 06:17:29 PM »
Hi mgeene

Please refer to the Bakery manual:
http://www.bakery-shop.ch/#invoice_and_email_templates

Regards Christoph
Logged

Offline mgeene

  • Posts: 148
Re: ITEM_LIST in Bakery customize
« Reply #2 on: May 16, 2016, 07:21:37 PM »
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:
Code: [Select]
<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
Logged

freeSbee

  • Guest
Re: ITEM_LIST in Bakery customize
« Reply #3 on: May 17, 2016, 10:22:58 AM »
Hi mgeene

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

Regards Christoph
Logged

Offline mgeene

  • Posts: 148
Re: ITEM_LIST in Bakery customize
« Reply #4 on: May 17, 2016, 11:15:42 AM »
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:

Code: [Select]
<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

Logged

freeSbee

  • Guest
Re: ITEM_LIST in Bakery customize
« Reply #5 on: May 17, 2016, 11:57:04 AM »
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
Logged

Offline mgeene

  • Posts: 148
Re: ITEM_LIST in Bakery customize
« Reply #6 on: May 22, 2016, 07:28:35 PM »
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.
Logged

freeSbee

  • Guest
Re: ITEM_LIST in Bakery customize
« Reply #7 on: May 24, 2016, 02:51:04 PM »
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
Logged

Offline mgeene

  • Posts: 148
Re: ITEM_LIST in Bakery customize
« Reply #8 on: May 24, 2016, 07:42:25 PM »
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?
Logged

freeSbee

  • Guest
Re: ITEM_LIST in Bakery customize
« Reply #9 on: May 25, 2016, 09:30:53 AM »
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
Logged

Offline mgeene

  • Posts: 148
Re: ITEM_LIST in Bakery customize
« Reply #10 on: May 25, 2016, 07:52:48 PM »
Hi Christoph,

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

freeSbee

  • Guest
Re: ITEM_LIST in Bakery customize
« Reply #11 on: May 26, 2016, 10:38:38 AM »
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
Logged

Offline mgeene

  • Posts: 148
Re: ITEM_LIST in Bakery customize
« Reply #12 on: May 26, 2016, 12:26:49 PM »
Hi Christoph,

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

freeSbee

  • Guest
Re: ITEM_LIST in Bakery customize
« Reply #13 on: May 26, 2016, 01:39:00 PM »
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
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • ITEM_LIST in Bakery customize
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2