Jump to content
Sign in to follow this  
rla128

Purchase Without Account

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?

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×