Results 1 to 10 of 28

Threaded View

  1. #1
    Join Date
    Jul 2006
    Posts
    496
    Plugin Contributions
    0

    Default bypassing create account success with empty cart

    I was wondering if this is possible and if it isn't a time consuming pain, can someone please guide me...

    I changed my filenames.php file to bypass the create account success page and go directly to checkout_shipping. But if the person has an empty cart and is just signing up for an account, they get a "Login Time Out ---
    Whoops! Sorry, but you are not allowed to perform the action requested. "

    Is there some kind of "if" statement I can add to the create account.php that directs the customer to checkout_shipping if there are items in the cart and to maybe the home page or something if their cart is empty? (I could easily put a little note near the submit button on the create account page that lets them know which places they will be directed to depending on their circumstances)

    Any help would be greatly appreciated

    (or even better... could we change back the filename.php file back to normal and have the new "if" statement I mentioned above have the create account success page appear only if there are no items in the cart, and then have it not appear and just go to checkout_shipping if there are items in the cart?)

    P.S. I hope I'm not confusing you!!
    Last edited by craftzombie; 14 Dec 2006 at 11:45 AM.

 

 

Similar Threads

  1. Bypass create account success page and go to My Account instead?
    By dealbyethan.com in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 3 Dec 2007, 01:50 PM
  2. Replies: 59
    Last Post: 30 Dec 2006, 05:24 PM
  3. By-pass Account Create Success Page
    By s_mack in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 22 Dec 2006, 02:12 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