Post by stokeyblokey » Wed Feb 19, 2014 4:46 am

As part of my site clean up I wanted to change 'State / Region' to County as my webstore only operates within the UK.

I also wanted to restrict my Country choice to only the UK on all the address fields to stop non-UK customers registering and attempting to order.

The vQmod linked to below achieves the first objective and replaces all 7 instances as well as the 7 error messages relating to the field.

Only tested on default theme but will work on OC1.5.4 to OC1.5.6.1 inclusive.

The text file inside the download tells you how to run an SQL query to disable all countries, then simply re-enable UK and you should be set for a UK-only OC webstore - enjoy! ;D

Stokey

DOWNLOAD HERE

EDIT: Made as a vQmod so it is easily reversible in future if plans change - same with the SQL query, full instructions on how to change back are included.

Stokey


User avatar
Active Member

Posts

Joined
Sat Aug 31, 2013 10:19 pm

Post by TAC » Wed Feb 19, 2014 6:40 am

This sounds rather awesome, I shall be giving it a try :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by stokeyblokey » Wed Feb 19, 2014 8:04 am

Hope it works out for you, it certainly ticked off another couple of issues from the list (aka the wife's nag list of what she didn't like about the site lol).

Any problems, drop me a mail.

Stokey

Stokey


User avatar
Active Member

Posts

Joined
Sat Aug 31, 2013 10:19 pm
Who is online

Users browsing this forum: No registered users and 2 guests