I found this in the archives and would like to use it on my site (1.301). but when i add the code, i have trouble with getting to the checkout. When i click go to checkout, it gets stuck trying to load the checkout_shipping page.
Can anyone help?
"If you only have one shipping method and one payment method and do not use coupons, it can be tedious to a customer click through the whole checkout process when they don't have any options on those screens. So here goes my shot at skipping the shipping and payment screens...
1. Open \includes\modules\pages\checkout_shipping\header_p hp.php
At the end (before the closing php tag) add this code:
Code:
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT));
2. Open \includes\modules\pages\checkout_payment\header_ph p.php
At the end (before the closing php tag) add this code:
Code:
zen_redirect(zen_href_link(FILENAME_CHECKOUT_CONFIRMATION));
This should just load those page defaults and then at the end redirect to the next page of the checkout process. The customer still gets the Change Address buttons if the billing or shipping is a different address so they can change that data, but this sets up a sort of express checkout."
Bookmarks