Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

getting rid of confirmation after opening account


Guest

Recommended Posts

Posted

IF somebody has something in their cart...

 

how can i get rid of the "your account has been created..." page and take them directly to the checkout_shipping page?

Posted

Put the code to check the cart in the top of create_account_success.php.

 

You can then redirect the customer if the cart has anything in it - if cart empty then the create_account_success.php page continues to load.

Your online success is Paramount.

Posted

how can i check if they have anything in their cart?

Posted

Try:

 

if ($cart->count_contents() > 0)

{

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));

}

Your online success is Paramount.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...