Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2008
    Posts
    14
    Plugin Contributions
    0

    Default How can I bypass the shipping page?

    I have a site where all products are virtual (set up in admin this way) and we will never ship any items. I would like to bypass the shipping page completely. Right now, when you click the "go to checkout" button page on the shopping cart page, the shopping cart page reloads. I figure I can correct both issues by just bypassing the page completely.

    I'm guessing I need to make a change to the FILENAME_CHECKOUT_SHIPPING variable in tpl_shopping_cart_default.php, but I'm not sure what to change it to:

    <div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>

    I've dug around on the site - no luck.

    Thanks in advance for your help!

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How can I bypass the shipping page?

    Have you set the "skip shipping address" option for all of your products? If the shopping cart has only products with setting, it should skip the shipping page.

    I'm not sure that this is necessarily your issue though, as even if you didn't have them set, this would normally just result in you being plopped into the shopping page. That you're being returned to the shopping page is odd and suggests that there is a different problem here.

    Hacking the code to force your way through brute force would be one way through this, though unlikely to work (there is similar logic on each page to force visitors back to the shopping cart in the event of certain problems). Understanding what the problem is and dealing with it would be a better approach.

    Is your checkout modded in any way? Are you using a 3rd party template? Are you getting any error or warning messages? Do you have a link to your site with a test account, so that we can see this behaviour?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Mar 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: How can I bypass the shipping page?

    Figured it out . . .

    As an FYI, for the first test customer I was using I had placed all of my products in the cart (I only have 4 right now). After adding those to my cart, I entered my inventory items and two of them were out of stock. Since my cart had 4 items, two of which were sold out, it would not let me leave the page. I do think, however, that some sort of warning message should have displayed.
    Subsequent testing with a different test id showed that I was not allowed to add out of stock items to the cart, so it's probably a non-issue.

    Thanks so much for forcing me back through the steps. Sometimes it just takes a fresh set of eyeballs to help you see what's staring you in the face.

 

 

Similar Threads

  1. How can I bypass the checkout_shipping page?
    By remyrulez in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 24 May 2011, 09:53 PM
  2. How to bypass categories page?
    By blue65 in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 29 Oct 2010, 06:26 AM

Posting Permissions

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