osCmax v2.5 User Manual
Results 1 to 3 of 3

order_info.php minor html problems

This is a discussion on order_info.php minor html problems within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Sorry if these are dumb questions, coudln't find specific answers.. I have only one country in my list>>Canada. When someone ...

      
  1. #1
    New Member
    Join Date
    May 2006
    Posts
    14
    Rep Power
    0


    Default order_info.php minor html problems

    Sorry if these are dumb questions, coudln't find specific answers..

    I have only one country in my list>>Canada.

    When someone choses it from order_info.php it clears the email address...anyway around that? That doesn't happen in create account.

    Also, if they click back on 'Please Select', not that they would, they get this error:

    1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by zone_name' at line 1

    select zone_name from zones where zone_country_id = order by zone_name

    [TEP STOP]

    I'm assuming cause there isn't a zone named 'Please Select'.

    So...
    How can i fix this?

    These things aren't happening on create account pages.

    Thanks

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default RE: order_info.php minor html problems

    First of all I would check the PHP files to make sure any editing done/FTPed up - did not muck up the file.

    Next - HOW did you get to have Canada only (from MAX's Admin or using a back end tool)? Restore atlease US and try again. AND/OR check your "default" language and country in ENGLISH.PHP files and in the MAX's admin panel.

    Is is not because of "Please Select". But a lack of a matching country.

    Backup is your friend - restore a full copy and then do your editing - when you find an error - ether compare to prior backup copy - or do a restore and then carefully redo your editing untill you isloate your bug.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    New Member
    Join Date
    May 2006
    Posts
    14
    Rep Power
    0


    Default

    well i don't think it's an ascii/binary FTP upload problem.. i deleted all the other countries cause i currently cannot ship to anywhere other than canada legally and wanted to forcibly block other countries from going in on orders...
    so i manually deleted the other countries.

    The create account page with the same situation backend country wise is working nominally, but not sure why it's doing it on the checkou without account page...

    is there a way for me to block the rolling back onto "please select" from calling a jump menu action?

    i can't add another country for the reason i mentioned above.

    also do you know by chance how to block the email entry from resetting to blank like all the other fields do when they select the country from the dropdown menu which is generally after they've entered that info..it's working properly like the other isse on the create account page but not on the checkout without account page.

    Your help is appreciated.

Similar Threads

  1. osCMax RC 3.0.1 minor update
    By michael_s in forum Announcement Discussions
    Replies: 0
    Last Post: 01-02-2007, 03:11 PM
  2. Help with HTML & PHP OSCommerce
    By genijan in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 03-05-2005, 09:54 AM
  3. Really Simple HTML Help
    By braydonhouse in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-22-2004, 06:25 AM
  4. Tried it out - looks good - some minor points...
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 08-15-2003, 11:18 AM
  5. HTML?
    By West in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 05-05-2003, 03:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •