BOOC Readytheme Select a Country
Posted by , Last modified by on 12 May 2016 01:17 PM

Disclaimer: This will work for stores on Miva Version 9.4 or newer. Note that this will require making template changes. Make sure you make sure you are aware of what version was active before any changes are made. These edits are low-risk but if you feel uncomfortable with making these changes then we advise you to seek help from a developer.


Objective: If you unassign all countries but one, For Example: US, when you get to OCST you cannot select a country and the country selected is ‘Country’. 


Issue(s):The issue is that Miva automatically disables the country field where there is only a single value which was causing issue with our floating labels   



Add this code within the init function of jsOCST in the scripts.js file:;


$(window).on('load', function (){

if ($('#ShipCountry:disabled')) {



if ($('#BillCountry:disabled')) {




(2 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako