Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!- I need to skip steps in Checkout


Gowans007

Recommended Posts

Posted

I'm trying to streamline my checkout process and I want to change the checkout link from going to checkout_shipping.php to checkout_confirmation.php as all the use needs to do is click continue on easy as there is one set shipping option and one method of payment (that happens after the checkout_confirmation page).

 

 

I tried editing the checkout_shipping page which almost had me there

 

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;
//    $sendto = false;
   tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'));
//  }

 

However it was not adding the additional shipping cost to the checkout_confirmation.php page (also I believe the delivery address was missing).

I need it to add the shipping.

 

 

So how can I set this so when the user clicks on checkout it goes to the checkout_confirmation.php page as though the user had clicked continue of the previous pages?

Posted

look at add-ons the add on called Checkout redux and you will find the codes there

Posted

look at add-ons the add on called Checkout redux and you will find the codes there

 

Awesome, looks exactly what I need, cheers

Archived

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

×
×
  • Create New...