Rename Invoice Title

Phoca Cart - complex e-commerce extension
sirkai
Phoca Member
Phoca Member
Posts: 35
Joined: 15 Nov 2015, 11:25

Rename Invoice Title

Post by sirkai »

Hi
Can someone give me a hint on how to modify the invoice Template (actually the German translation) ?
The basic request I have is that any print/mail that woud normally say "Rechnung" (Invoice) should instead say "Proforma Rechnung".
I don't mind that everywhere else it stays original except when it does send an email or prints (in German).
I don't even need the normal "invoice". So for me the translation Invoice -> Rechnung could be changed.
Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Rename Invoice Title

Post by Jan »

Hi, there are two options you can use:

- override the language string - this is basic Joomla feature - in Joomla language override, you can rename each string of component
or
- make override of the invoice in your template and there you can completely change the output:
components/com_phocacart/layouts/order.php

Jan
If you find Phoca extensions useful, please support the project
sirkai
Phoca Member
Phoca Member
Posts: 35
Joined: 15 Nov 2015, 11:25

Re: Rename Invoice Title

Post by sirkai »

The Override worked like a charm. Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Rename Invoice Title

Post by Jan »

Ok, great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply