[SOLVED] Question about Invoice address informations
- gtrennert
- OFFLINE
- Posts: 133
- Thanks: 4
- Karma: 0
J3.4.3
CB2.0.10 (latest nightly)
CBSUB4.0.1 (latest nightly)
1)
I would like tu remove the enterprise field or at least not show it - how can I do this ?
2)
I created some custom address fields , one of them is cb_invadrpay for the country
I noticed the following : If I put in "France" the value is copied to the CBSUB country field, if I write the country with a mistake (something like "Frrance") The value is not copied and so I see only a "-" - so I suppose that I need to accept only correct country names. So what I want is to make a drop down - but how can I relate to the CB country values ?
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68605
- Thanks: 9108
- Karma: 1434
The only way to remove CBSubs invoice address fields is to hide them with CSS or remove them from the XML. The XML file can be found below.1)
I would like tu remove the enterprise field or at least not show it - how can I do this ?
components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/xml/edit.front.invoice.xml
To remove them with CSS right click and inspect element on them to see their container div CSS classes/ID, which can be used to set their display to none.
You can have a dropdown with the exact same values CBSubs is looking for using CB Query Field. You'd need to create a new field as follows.2)
I created some custom address fields , one of them is cb_invadrpay for the country
I noticed the following : If I put in "France" the value is copied to the CBSUB country field, if I write the country with a mistake (something like "Frrance") The value is not copied and so I see only a "-" - so I suppose that I need to accept only correct country names. So what I want is to make a drop down - but how can I relate to the CB country values ?
Field Type: Query Drop Down (Single Select)
Query:
Label Column: country_name
Group Column: country_region
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.
- gtrennert
- OFFLINE
- Posts: 133
- Thanks: 4
- Karma: 0
1) Solved
2) I changed the field type as you said and so I get this country list
But then when I come to the next step the previously selected country is not copied
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68605
- Thanks: 9108
- Karma: 1434
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.
- gtrennert
- OFFLINE
- Posts: 133
- Thanks: 4
- Karma: 0
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68605
- Thanks: 9108
- Karma: 1434
Inspecting the country invoice input it's using the 2 letter country code, but the database seams to be storing the full country name; try the below usage.
Field Type: Query Drop Down (Single Select)
Query:
Label Column: country_name
Group Column: country_region
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.