Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout Shipping


schnauzer

Recommended Posts

Posted

I'm trying to change the order the pages appear when you checkout.

 

I want the order to be shopping cart > Create account > create account success > checkout shipping address > checkout shipping > checkout payment and so on.

 

I can't make the jump from create account success to checkout shipping address work. Instead it skips to checkout payment. I think it's because of the following code:

// if the order contains only virtual products, forward the customer to the billing page as
// a shipping address is not needed
 if ($order->content_type == 'virtual') {
if (!tep_session_is_registered('shipping')) tep_session_register('shipping');
$shipping = false;
if (!tep_session_is_registered('sendto')) tep_session_register('sendto');
$sendto = false;
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
 }

 $error = false;
 $process = false;
 if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'submit')) {

 

But if I change checkout_payment to checkout shipping address it times out and never works. I don't understand the comments about virtual products and how I would make it understand that I don't use virtual products.

 

Please help!!

Posted

Give up now. The whole checkout process is so inter-linked that you have to rewrite all of it in order to redorder how it works.

 

Vger

Archived

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

×
×
  • Create New...