By Chris Moggia on Thursday, 24 January 2019
Posted in General Issues
Replies 5
Likes 0
Views 587
Votes 0
Is it possible to restrict the list of countries in PayPlans to just the United States? I don't want users to have to select from a list of 186 different countries when I am only going to get potential customers from California here in the United States. Can't I make that a default setting? It would speed up the payment process.
Hey Chris,

Currently there is no setting to select default country in list and other option should not be shown . But you can do this by some of customization in template. You can select united state by default in coutry list and select box to only readonly mode by doing some customization in template.
For this go to root/components/com_payplans/themes/wireframe/checkout/default/company.php, near line no. 55, find below mentioned line of code
[gist type="php"]
<?php echo $this->html('floatlabel.country', 'COM_PP_CHECKOUT_COUNTRY', 'preference[business_country]', $country, '', array('data-pp-company-country' => '')); ?>
[/gist]

Replace with
[gist type="php"]
<?php echo $this->html('floatlabel.country', 'COM_PP_CHECKOUT_COUNTRY', 'preference[business_country]', 223, '', array('data-pp-company-country' => '', 'disabled' => '')); ?>
[/gist]

Let me know if you have any query.
·
Friday, 25 January 2019 11:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Chris,

Let me know which app you are using EU Vat ot basic tax app. I've tried to access your site admin but it seems i can't access,
[code type="markup"]
This request is blocked by Admin Tools. Please change this message in the component's options. If you are the administrator of this site and have blocked your own IP address on accident please visit https://www.schooltechnologyleadership.com/administrator/index.php?admintools_rescue=you@example.com where you@example.com is the email address of your (Super User) account. This URL will only send you an email if the IP address from which you are accessing it is being blocked by Admin Tools. If you are not blocked no email will be sent; you don't need an email with instructions to unblock your IP if your IP is not blocked./code]
·
Thursday, 24 January 2019 15:25
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm actually working on a different site Manisha. Sorry for the confusion. It's my CASDAAP.org site.

I'll also temporarily turn off admin tools so you can access it.
·
Thursday, 24 January 2019 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey ,

Can you send me the backend credential of site on which you are working.
So i'll be able to check.
·
Friday, 25 January 2019 10:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manisha. Thank you for your quick reply. I have added the admin credentials to my second account in the site info hidden area since this is a public ticket. Thanks!
·
Friday, 25 January 2019 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post