Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Purchase Without Account


rla128

Recommended Posts

I installed PWA .82, and it works fine.

 

However, on the page after you click checkout, where it gives you the option to "Proceed Directly to Checkout" is it possible to remove the two fields above that completely?

Link to comment
Share on other sites

I did this:

 

//Very easy installation for this add-on.

 

//Copy the file redirect.php to catalog/

 

//Go to and edit catalog/login.php

//before line 12 ?require('includes/application_top.php');? copy and paste

 

 

//Login redirect to checkout

require('./redirect.php');

 

...

 

And I now get this:

 

vDeck error

404 not found

 

The requested resource could not be found.

Link to comment
Share on other sites

take out the redirect edits...and open up shopping_cart.php and on line 41

 

Change:

 

<td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

to this:

 

<td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_ORDER_INFO, 'action=update_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

 

do that and you will be taken right to the order details :)

 

now what I'm trying to do is take out the "

NOTE: If you already have an account with us, please login at the login page."....anyone?

Edited by eghydro
Link to comment
Share on other sites

  • 2 weeks later...

This little hack sends customers straight to order info instead of making him choose between the 3 options.

 

if (PWA_ON == 'false') {
require(DIR_WS_INCLUDES . FILENAME_PWA_ACC_LOGIN);
} else {
   tep_redirect(tep_href_link(FILENAME_CHECKOUT, '', 'SSL'));
}

"Use no way as way, have no limitation as limitation." - Bruce Lee

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