close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Deleting the Country Field From Checkout

Thread began 8/30/2009 6:20 pm by jcmiyake381521 | Last modified 8/31/2009 1:38 pm by Jason Byrnes | 902 views | 3 replies |

jcmiyake381521

Deleting the Country Field From Checkout

My store will not be shipping to any countries outside of the US, so I would like to remove the "country" field entirely from my store.

Can you please let me know all of the instances that I need to delete to maintain the checkout functionality?

Sign in to reply to this post

office172461

Dreamweaver Tip

While you're waiting for a definitive answer from Webassist, in Dreamweaver you can press Ctrl-F for find and replace,
Change,
Find in: to Entire Local Site
Search: Source Code
Find: whatever variable your are searching for
And click Find Next
This will quickly identify every place in the entire site where that variable is used.

You will probably want to change it to hidden on the form and set it to US so it won't mess anything up.

Sign in to reply to this post

jcmiyake381521

@office172461
I appreciate your help, but I think I might need some more specific input from the WA folks.

Sign in to reply to this post

Jason ByrnesWebAssist

On the checkout page, delete the country and shipping_country select lists. The add two hidden form elements using the same name and set the value to US:

html:
<input name="country" type="hidden" value="US" />
<input name="shipping_country" type="hidden" value="US" />



You'll want to do the same on the users_registrsation_full.php page, delete the UserCountry select list and rep[lace it with a hidden form element of the same name with the value set to US:

html:
<input name="UserCountry" type="hidden" value="US" />
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...