close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Australia selected but US states showing

Thread began 1/30/2012 9:36 pm by studio366170 | Last modified 2/06/2012 11:37 am by Jason Byrnes | 1963 views | 23 replies |

studio366170

Australia selected but US states showing

Hi, how do I make the Australian states show up when Australia is selected.... thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

on the webassist/plugins/side_menu/nested_accordion/sidemenu.php page, find the following line:

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




and change it to:

<script type="text/javascript" src="../accordion/js/accordion.js"></script>
<script type="text/javascript" src="functions.js"></script>
Sign in to reply to this post

studio366170

Thanks Jason. I tried that but now get a weird message 'tba' where the states should be ? What has gone wrong? (screenshot attached)

Sign in to reply to this post

Jason ByrnesWebAssist

send a link to your site please.

Sign in to reply to this post

studio366170

onceonneveroff.com.au

Sign in to reply to this post

studio366170

...also, is there any way to get the checkout page to display as two pages? Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

you have edited the state form element o the checkout page to be a text box instead of a select list. For it to work properly and show the australian states, it needs to be a select list like it was originally.

the original checkout form uses a select list for the states and is populated by a recordset. by changing it to a text box, you have broken the functionality that populates the list with the appropriate states for the selected country. you will need to revert back to the original checkout page.



No, power store does not support using a two page checkout form.

Sign in to reply to this post

studio366170

I am not sure what you mean, as I didn't do anything except add the code you said - or did I add it to the wrong place?

How do I get it back to being what you say it needs to be, as I am copying and pasting the code you recommend (however may have put it in the wrong place?)

If you can post the code for that page in total, as it needs to be that may be the quickest way to resolve this.

Or is the checkbox thing something that happens from within the database itself?

Thank you,
Simone

Sign in to reply to this post

Jason ByrnesWebAssist

did you edit the ps4_regions table in the data base? that table is used to populate the states list, if that table does not contain any recordset, the states list will get replaced by a text box.


attached is an sql script to recreate the ps4_regions table. see the "How to import a MySQL (.SQL) file to your database " tutorial on the learning resources page for details on using the script:
resources.php?utm_campaign=Forum_header&utm_medium=Forums&utm_source=WebAssistForums

Attached Files
ps4_indexes.sql.zip
Sign in to reply to this post

studio366170

Yes, unfortunately I went in to the database and deleted the countries she did not want to have on her site.... and must have accidentally deleted the regions....

Thank you for the sql file and the link - I will get onto this today and hopefully fix it!

Best wishes,
Simone

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