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

Purchase Without Account help

This is a discussion on Purchase Without Account help within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi all, I've got a problem with PWA on my new site (not live yet - this is the change ...

      
  1. #1
    New Member
    Join Date
    Apr 2009
    Posts
    16
    Rep Power
    0


    Default Purchase Without Account help

    Hi all,

    I've got a problem with PWA on my new site (not live yet - this is the change from RC2 to the current version I am in the process of doing).

    When you enter your details on PWA (Order_Info.php) and submit, it goes to the Order_Info_Process.php page but redisplays the form. No errors are shown. When you submit that, it works and moves on to Checkout Shipping.

    I've gone through the code and something seems to be happening in checkout process around this block:

    Code:
          // +Country-State Selector
        if ($process) {
        // -Country-State Selector
        $error = false;
    If I put a trigger_error before this block, it displays. If I put it after the brace it doesn't, and if I put it outside the end of the brace it doesn't! I can't seem to get anything to work after this line and I'm throughly confused!

    Any thoughts on why the checkout process isn't working as it should?

    Many thanks

  2. #2
    New Member
    Join Date
    Apr 2009
    Posts
    16
    Rep Power
    0


    Default Re: Purchase Without Account help

    Ok, almost fixed but still need some help please...

    The problem is when I select a country the form sets the action to refresh and should reload but it isn't doing so. It is setting the action to refresh but not refreshing - any ideas why?

    Thanks.

  3. #3
    New Member
    Join Date
    Apr 2009
    Posts
    16
    Rep Power
    0


    Default Re: Purchase Without Account help

    Solved! Sorry to have wasted anyone's time who read this but hopefully it will help the next person to have the problem...

    It wasn't refreshing because the function refresh_form in form_check.js.php was setting the value form.name.state.value which I didn't have on my form because I had removed it as I was in the UK!

    commenting out the statement

    //form_name.state.value = '';

    works!

    thanks again.

Similar Threads

  1. Purchase Without Account
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 03-09-2009, 01:00 AM
  2. Purchase Without Account
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 07-19-2008, 10:00 AM
  3. Purchase Without Account
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 07-18-2008, 11:51 AM
  4. Purchase Without Account
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 03-07-2008, 01:11 PM
  5. purchase without account please
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 11-12-2003, 05:16 AM

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
  •