Hi in this guide, I will show you how you can remove or hide country in whmcs order form, many developers or whmcs users want to hide some fields which are not optional in whmcs but I have always a solution for everything you need with whmcs!

Steps To Hide WHMCS Orderform Field (Country)

First Login to your hosting or FTP

then go to /templates/orderforms/standard_cart

and then edit checkout.tpl

now you can find country find searching from the code.

now replace your country section with

this code

Done that’s all

<!--<select id="country" name="country" class="form-control">

                                       <option value="US" selected="selected">United States</option>

                               </select>-->
<input type="hidden" name="country" value="US">

If you are unable to do or don’t have time to do this task you can hire me
Hire Me Now

Categorized in:

Uncategorized,

Last Update: October 5, 2022