Open Cart Invoice Template

Can't find the right section? Discuss it in here!
gstk
Posts: 380
Joined: 09 Jun 2010, 19:12
Contact:

Re: Open Cart Invoice Template

Post by gstk »

(Search Police I swear I have search first before posting)

Does anyone know anyone or is able to edit the invoice that opencart uses as a default. I am happy with the default template but would like to add a logo and swap the shipping address with the customer address as we use window envelopes and it folds nicer. Dont expect it for nothing.

While on the subject - I am really impressed with opencart. I have an ekmpowershop but I think Opencart is better. I am seriously thinking about ditching EKM and saving the £20 - Google obviously likes Opencart more than EKM. Still experimenting but so far so good.
Mattie
Posts: 1008
Joined: 30 May 2010, 21:37
Contact:

Re: Open Cart Invoice Template

Post by Mattie »

Hi

to add your store logo to your invoice go to "admin/view/template/sale/order_invoice.tpl" and add just before the H1 tag as seen below.

' . "\n"; ?>

" lang="" xml:lang="">


" />




























































  -




















then go to /admin/view/template/sale/order_invoices.tpl and do the same. Just add the image tag just before the title tag.
Matthew
Someone knocked over my recycle bin... there are icons all over my desktop.
Mattie
Posts: 1008
Joined: 30 May 2010, 21:37
Contact:

Re: Open Cart Invoice Template

Post by Mattie »

For the address changes

go to both

admin/view/template/sale/order_invoices.tpl
and
admin/view/template/sales/order_invoice.tpl

look for




around line 77 and swap the two around, this should change them around on the invoice.
Matthew
Someone knocked over my recycle bin... there are icons all over my desktop.
gstk
Posts: 380
Joined: 09 Jun 2010, 19:12
Contact:

Re: Open Cart Invoice Template

Post by gstk »

worked a treat - thanks
gstk
Posts: 380
Joined: 09 Jun 2010, 19:12
Contact:

Re: Open Cart Invoice Template

Post by gstk »

Your next mission "Should you choose to accept" (\MI mode)
How do I get the products to show centrally aligned rather than to the left. Its annoying the crud out of me.

Thanks
Mattie
Posts: 1008
Joined: 30 May 2010, 21:37
Contact:

Re: Open Cart Invoice Template

Post by Mattie »

Hi

No problem glad to help

Which page do you mean that you want them to be centred?
Matthew
Someone knocked over my recycle bin... there are icons all over my desktop.
gstk
Posts: 380
Joined: 09 Jun 2010, 19:12
Contact:

Re: Open Cart Invoice Template

Post by gstk »

For example on the front page there is the featured box and the latest box. I have 4 items showing in each but they all align to the left hand side - I would like them centred if poss.
Mattie
Posts: 1008
Joined: 30 May 2010, 21:37
Contact:

Re: Open Cart Invoice Template

Post by Mattie »

Download and unzip this vqmod.

Then upload to your vqmod file and clear the vqcache.

This will centre your featured, bestsellers, specials, latest.
Attachments
charlie_center_module_display_boxes_v1_1.zip
vB_ID:1063
(620 Bytes) Not downloaded yet
Matthew
Someone knocked over my recycle bin... there are icons all over my desktop.
gstk
Posts: 380
Joined: 09 Jun 2010, 19:12
Contact:

Re: Open Cart Invoice Template

Post by gstk »

Mattie;48192 wrote:Download and unzip this vqmod.

Then upload to your vqmod file and clear the vqcache.

This will centre your featured, bestsellers, specials, latest.
Whoa there Matty, you must be mistaking me for someone with half a brain. Type that slower and explain a bit more if you would. That might as well been in martian

Tony
Mattie
Posts: 1008
Joined: 30 May 2010, 21:37
Contact:

Re: Open Cart Invoice Template

Post by Mattie »

Sorry mate.

1. download the file attached and unzip it
2. You'll then see the XML file
3. Logon to your server via FTP
4. Locate and open your vqmod folder then open the folder called "xml"
5. Upload the XML file to this folder
6. open your vqmod cache folder and delete the cache
7. your all done your modules should now have the products centred

If your stuck you can provide me with your FTP details and i'll do it for you.
Matthew
Someone knocked over my recycle bin... there are icons all over my desktop.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest