osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Reply

 

LinkBack Thread Tools
  #1  
Old 06-02-2009, 11:23 AM
New Member
 
Join Date: Apr 2009
Posts: 13
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 0
rc2user is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 06-02-2009, 11:49 AM
New Member
 
Join Date: Apr 2009
Posts: 13
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 0
rc2user is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-02-2009, 11:55 AM
New Member
 
Join Date: Apr 2009
Posts: 13
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 0
rc2user is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Purchase Without Account michael_s New osCommerce Contributions 0 03-09-2009 01:00 AM
Purchase Without Account michael_s New osCommerce Contributions 0 07-19-2008 10:00 AM
Purchase Without Account michael_s New osCommerce Contributions 0 07-18-2008 11:51 AM
Purchase Without Account michael_s New osCommerce Contributions 0 03-07-2008 01:11 PM
purchase without account please jloyzaga osCMax v1.7 Discussion 1 11-12-2003 05:16 AM


All times are GMT -8. The time now is 11:44 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design