Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the Checkout Link


Gowans007

Recommended Posts

Posted

I'm almost there one last change, 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

 

 

What's the best way to do this?

 

or am I going to have to make a new checkout_shipping.php that just redirects to checkout_confirmation.php ?

Posted

Set the shipping to virtual. Look at the checkou_shipping page and you'll find the necessary code.

Posted

Thanks got me on the right track, now to remove the navigation links at the bottom and I'm done :)

 

Bugger I have a problem now that is isn't auto adding the mandatory shipping cost.

 

Help?

 

What I changed it to

 

// 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'));
//  }

Archived

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

×
×
  • Create New...