Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PWA Straight to Checkout


crchi

Recommended Posts

I installed PWA most current version, it works fine. Then I installed the PWA add-on to go straight to checkout, and it doesn't seem to work... it tries to go to shipping and I get a "page not found".

 

Can anyone help? I have to have the visitors purchase without an account and go straight to checkout.

 

I'm running out of time on this project. :(

Link to comment
Share on other sites

  • 3 years later...

I made that change but it redirects to the store's index page rather than the Order Info page...

 

The PWA worked before the add-on.

 

Is there something I'm missing that I should've done? :huh:

Sharlene K.

 

Did you hear about the dyslexic agnostic insomniac that stayed up all night wondering if there was a dog?

Link to comment
Share on other sites

I found a way to go straight to checkout with PWA without the add-on:

 

Find this in checkout_shipping.php:

if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
 }

 

And change to:

if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_ORDER_INFO, '', 'SSL'));
 }

 

That'll take someone from your checkout button straight to the PWA's order info page.

Sharlene K.

 

Did you hear about the dyslexic agnostic insomniac that stayed up all night wondering if there was a dog?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...