Store Community Support Documentation
Bong B
Option to Disable/Enable Country instead of deleting them.
IF Disabled or Locked for one country only. EX: USA
*Location selection is for States or Provinces only.
-Let's say I want the members of my site for one country only. If choose in cPanel is USA. In registration or any other module USA as country will not show instead States will show or Provinces for other countries that's of course we have to add.
As Normal, IF Enabled - All countries are available for the location selection.
Bong B
#1
As Normal, IF Enabled - All countries are available for the location selection.
- Option to select one country as default: Ex: US Selected
IF US is selected: In registration or marketplace US should be selected by default.
Robert
#2
Hi Bong B,
Thanks for your feedback. We will put them to our pooling features list and consider to implement in the future.
Bong B
#3
Thanks Robert, hopefully in the next version release.
#4
Not only one country, there should be option to select which countries need to be enabled. list all the countries in a box with All option. double clicking one country move it into other box. If All is clicked all the countries are moved to the enabled countries box.
Bong B
#5

Hi Bong B, Thanks for your feedback. We will put them to our pooling features list and consider to implement in the future.

 

Hi Robert,

Any plans on this feature?  Thanks

JohnJr
#6

What I did was go into the database and delete all the other countries except US.  Then I went into the user table and set default for country as US.  Seems to work fine now :)

Bong B
#7

What I did was go into the database and delete all the other countries except US.  Then I went into the user table and set default for country as US.  Seems to work fine now :)

Hi JohnJr,

Thanks for the info but I cannot find the user table. Is there any link? 

JohnJr
#8

the table is called "phpfox_user" and the field name is "country_iso" and change default from "NULL" to "US"

Bong B
#9

Hi JohnJr,

So if I do this the available location for selection will be STATES for US and Provinces for others instead of countries as degfault.

Is it correct?

JohnJr
#10

Sorry I guess I forgot about the other child table they call it.

I also went into phpfox_country_child and only kept the 50 states and deleted the others. That way the dropdown box only included the 50 states I wanted to show.  If you only need one state then delete all but one.  Remember to always to an export either in csv or sql so you have a back up of the table in case you mess it up you can always delete all the records in the table and then import your back up table.  If you do a sql export then you will have to open it up in a text editor and remove all the create table stuff in the beginning of the file and only keep the records.  For beginners the .csv is probably easier.

Bong B
#11

Thanks JohnJr, Too complicated for me but I'll give it a try.

I hope PHPFox will implement these options in AdminCP for next versions. I think this is necessary. What do you think guys?