Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    287
    Plugin Contributions
    0

    Default From cart directly to checkout

    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."

  2. #2
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: From cart directly to checkout

    If you don't need a shipping cost then make all of your products zero weight and turn on the freeshipper. The Cart will skip the shipping page automatically. No coding required.

  3. #3
    Join Date
    Oct 2005
    Posts
    287
    Plugin Contributions
    0

    Default Re: From cart directly to checkout

    Thanks Kim,

    We do add a fee for handling. Can i set it to fre shipping ( and skip the shipping page) but add the fee somewhere else?

    Mark.

 

 

Similar Threads

  1. Using TinyMCE Editor with Zen Cart
    By flambeau in forum All Other Contributions/Addons
    Replies: 39
    Last Post: 24 Jul 2009, 06:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •