WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: Cazz on October 24, 2013, 08:48:37 PM

Title: Change the invoice template
Post by: Cazz on October 24, 2013, 08:48:37 PM
Hi
I trying to understand how to change the invoice so I can print out my own invoice.
Right now it is another image and I like to add my own and add more info and at the footer information about the webpage that I like to add nice so I just have to print out and send it.
Title: Re: Change the invoice template
Post by: freeSbee on October 24, 2013, 08:55:52 PM
Hi Cazz

http://www.bakery-shop.ch/#invoice_and_email_templates
http://www.bakery-shop.ch/#invoice

Regard Christoph
Title: Re: Change the invoice template
Post by: Cazz on October 24, 2013, 08:58:47 PM
Hi and thanks for your fast replay

I have read it but I still not understand  :oops:

I even did look inside the Templete and invoice and look at the four file and it get me more  :?

I maybe have miss something?
Title: Re: Change the invoice template
Post by: jacobi22 on October 24, 2013, 11:09:53 PM
go in the backend to the shop page and there to paypent methodes, select in the field payment methodes "INVOICE"
the page reload the invoice settings

go to the field invoice template - there is a textarea with the template code

original-code in the first lines are
Code: [Select]
<img src="[WB_URL]/modules/bakery/images/logo.gif" width="690" height="75" alt="[SHOP_NAME] Logo" class="mod_bakery_logo_b" />
<br />
<p class="mod_bakery_shop_address_b">[SHOP_NAME] | Firma | Strasse Nummer | PLZ Stadt | Land</p>

build a pic for the invoice header, width = 690 Pixel, height = 75 Pixel, save the pic in the folder modules/bakery/images
in this sample i use the pic-name "rech1.jpg"
the change the first line to
Code: [Select]
<img src="[WB_URL]/modules/bakery/images/rech1.jpg" width="690" height="75" alt="[SHOP_NAME] Logo" class="mod_bakery_logo_b" />
<br />

remember: the new pic works only for new invoices!