How can I edit my checkout page to display a message (see below) on the top of it that says we do not ship international orders. Furthermore, how do I remove all countries except the United States from the list of countries in the Country dropdown list?
THIS SHOPPING CART IS FOR USA ORDERS ONLY
WE SHIP TO THE BILLING ADDRESS OF THE USA CREDIT CARD ONLY
We have had too many problems with fraudulent orders and we have decided to only ship to U.S. addresses.
TIA for any help!
How to Edit Checkout Page
Re: How to Edit Checkout Page
In AbleCommerce Gold all checkout pages are located under site /Checkout folder. You have to edit EditBillAddress.aspx.cs Page_Init() method and change Country.DataSource to only load U.S.
Mike Kolev
Re: How to Edit Checkout Page
Thanks for the reply! Is there any way to post a simple message on the checkout page as well?
Re: How to Edit Checkout Page
Ok, I got the text added on the page, no problem. Now I'm trying to locate the country data source. I don't see any countries listed in any of the cs files. Is there a country table in the db I need to edit?
Re: How to Edit Checkout Page
In EditBillAddress.aspx.cs Page_Init() method replace:
//Country.DataSource = CountryDataSource.LoadAll();
Country.DataSource = CountryDataSource.SearchByName("United States");
//Country.DataSource = CountryDataSource.LoadAll();
Country.DataSource = CountryDataSource.SearchByName("United States");
Mike Kolev
Re: How to Edit Checkout Page
Thanks Mike! Deleting all the other country rows in the DB worked too! We'll never ship to any other countries from our shopping cart so no need for any existence of any other country information at all. Thanks again for your help!