close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Country and State/Province defaults

Thread began 5/09/2011 7:31 pm by Maplemac | Last modified 5/13/2011 12:11 pm by glozinski107205 | 1548 views | 9 replies |

Maplemac

Country and State/Province defaults

In the registratin form the country is set to US and Alabama as default. When you change to Canada the Provinces load.

In the checkout billing and shipping info form the country is set to Canada but the State is set to Alabama. You have to select a different country and then select Canada again to get the Provinces to load.

Is there anyway of setting these so they are Canada and Ontario by default.

users_registration.php
Thanks

Sign in to reply to this post

Maplemac

It's okay I figured it out.

Sign in to reply to this post

Martin

Actually I have just experienced that same issue! I am attaching screenshots to show you. When I proceed ahead to the billing and shipping summary, it shows up as Alabama on the billing and Alberta on the shipping.

Any idea what is happening?

I have strategically blurred out any person info.

Thanks,
Martin

Sign in to reply to this post

Maplemac

Hi Martin
In the webassist>>plugins>>shopping cart>>checkout_form.php do a search in the source code for US and change it to CA.
You should find the two lines below that show US as the country code.
Once changed to CA the problem was fixed.

$countryparam_Regions = "CA";

$countryparam_ShipRegions = "CA";

Sign in to reply to this post

Martin

Hi Maplemac,

Thanks for the info. I found the line in question down on 154.

I changed US to CA and uploaded the file.

I have just tried testing it again and the country code comes up as Canada, but in the Billing Section the province comes up as Alabama.

I have to change the country to some other one and then reselect Canada then the province lists correctly.

I can also reload the page and it says Alabama again as the province...

Martin

Sign in to reply to this post

Maplemac

There should be two instances to change one for country and one for the region.
Did you change both of them?

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/plugins/side_menu/nested_accoridon/sidemenu.php file, change:

<script type="text/javascript" src="functions.js"></script>



to:

<script type="text/javascript" src="../accordion/js/accordion.js"></script>
<script type="text/javascript" src="functions.js"></script>




if you still have problems, send a link where i can see your page.

Sign in to reply to this post

glozinski107205

Originally Said By: Maplemac
  There should be two instances to change one for country and one for the region.
Did you change both of them?  



okay, did that and now error
Failed to load source for: checkout_failure.php?shipping=fail&country=false
thank you

Sign in to reply to this post

Maplemac

Change it back and follow Jason's instructions above!

Sign in to reply to this post

glozinski107205

Originally Said By: Maplemac
  Change it back and follow Jason's instructions above!  



I did that but I am testing locally and it just keeps looping and I cannot continue
Thanks in advance.

Sign in to reply to this post
loading

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...