Skip to Content Skip to Menu

Customizing invoice

10 years 2 months ago #247670 by MacPhotoBiker
Customizing invoice was created by MacPhotoBiker
Hi,

I have a bilingual site (French and English), and I managed to pretty much customize the invoice language dependent, even the logo changes according to language preferences.

However, there are few things which I did not manage to adjust:

1) Invoice title format:
This fields consists of the fixed word "Invoice" and the dynamically created invoice number. I tried several "tricks", but I could not figure out how to change the word "invoice" AND have the invoice number dynamically created.
As a workaround, put "Facture/ Invoice # [INVOICENUMBER]", but I'd prefer to show either Facture or Invoice, not both.
Can this be done?

2) Plan description ("Item")
Plan description is always showing in English, no matter the language selection. (Note: When a user is signing up for membership, then the plan shows properly in English or French).
How could I show the plan description in the selected language?

Thanks for any advice.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
10 years 2 months ago #247758 by krileon
Replied by krileon on topic Customizing invoice

1) Invoice title format:
This fields consists of the fixed word "Invoice" and the dynamically created invoice number. I tried several "tricks", but I could not figure out how to change the word "invoice" AND have the invoice number dynamically created.
As a workaround, put "Facture/ Invoice # [INVOICENUMBER]", but I'd prefer to show either Facture or Invoice, not both.
Can this be done?

I believe that's the "Invoice title format" parameter within CBSubs > Settings > Display > Invoices. You should be able to provide a language string or define then translate it, but I'm not entirely sure language translations work there. Example as follows.

Code:
'Invoice [INVOICENUMBER]' => 'Facture [INVOICENUMBER]'

2) Plan description ("Item")
Plan description is always showing in English, no matter the language selection. (Note: When a user is signing up for membership, then the plan shows properly in English or French).
How could I show the plan description in the selected language?

It shows as the correct language during registration, but not when logged in? Please clarify further as it should always display in the language of the viewing user. If there is no viewing user then it's always displayed in the language of the site.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum