[SOLVED] Drop down address list -in pop up invoice

13 years 6 months ago - 13 years 2 weeks ago #144689 by AlexRag
I have a predefined choice of addresses, is it possible to add the data in the same xml file as the state and country data is stored?

In fact, I want to limit the choices for city, state and country to one - In other words I don't need to make these items to choose - Is it possible to delete all the choices for it, state, country.

Post edited by: AlexRag, at: 2010/10/23 09:34

Please Log in to join the conversation.

13 years 6 months ago #144775 by krileon
Replied by krileon on topic Re:Drop down address list -in pop up invoice

Is it possible to delete all the choices for it, state, country.

Yes, simply edit the XML file found at the following location.

components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/xml/edit.front.invoice.xml

Please be careful with your additions and maintain name/id of each element or you could break your invoicing.


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 to join the conversation.

13 years 2 weeks ago #161075 by saville
Replied by saville on topic Re:Drop down address list -in pop up invoice
Hi all.
I too have a need to edit this list- more precisely we want to remove the GB (Great Britain) listing and add the UK (United Kingdom) as this is the correct country for most users. Adding UK to the list was not a problem obviously, but where else do I need to make the adjustments? UK is listed when I try to join, but if it's selected it returns an error as if the field was left blank. Any help?
Ta in advance.

Please Log in to join the conversation.

13 years 2 weeks ago - 13 years 2 weeks ago #161139 by krileon
Replied by krileon on topic Re:Drop down address list -in pop up invoice
Changing from GB to UK you should simply change the title to United Kingdom and leave the value as GB. Don't believe CBSubs is set to validate the value of UK.


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.
The following user(s) said Thank You: saville

Please Log in to join the conversation.

13 years 2 weeks ago #161166 by saville
Replied by saville on topic Re:Drop down address list -in pop up invoice
Ta Muchly- we did that and it worked just fine. :)

Please Log in to join the conversation.

12 years 6 months ago - 12 years 6 months ago #179596 by AlexRag
Replied by AlexRag on topic Re:Drop down address list -in pop up invoice
Sorry, removed my original post to new topic

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.222 seconds

Facebook Twitter LinkedIn