Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SHOW_SHOPPING_CART_COMBINED - combine shopping cart

    It works perfectly fine to empty the shopping cart when the customer logs in ...

    Have you tried it?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #2
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    125
    Plugin Contributions
    0

    Default Re: SHOW_SHOPPING_CART_COMBINED - combine shopping cart

    Quote Originally Posted by Ajeh View Post
    It works perfectly fine to empty the shopping cart when the customer logs in ...
    Have you tried it?
    Thanx!

    I was unsure weather it is still valid because I found the relevant line among many If statements ... and the date was 2006 ...

    Of course it works great!

    Kind regards,
    orange_juice

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SHOW_SHOPPING_CART_COMBINED - combine shopping cart

    Thanks for the update and confirming that this did work for you to empty the customers cart when they sign in ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    125
    Plugin Contributions
    0

    Default Re: SHOW_SHOPPING_CART_COMBINED - combine shopping cart

    Quote Originally Posted by orange_juice View Post
    Of course it works great!
    Actually I just found a problem ...

    When -as a guest- I have some contents in my shopping cart and try to checkout I will be redirected to the login page.

    When logging in successfully, I get the following error:

    Login Time Out
    Sorry, but you are not allowed to perform the action requested.
    You are still logged in to your account and may continue shopping. Please choose a destination from a menu.

    Tricky!

    Kind regards,
    orange_juice

  5. #5
    Join Date
    Apr 2009
    Location
    Athens, Europe
    Posts
    125
    Plugin Contributions
    0

    Default Re: SHOW_SHOPPING_CART_COMBINED - combine shopping cart

    Quote Originally Posted by orange_juice View Post
    Actually I just found a problem ...

    When -as a guest- I have some contents in my shopping cart and try to checkout I will be redirected to the login page.

    When logging in successfully, I get the following error:




    Tricky!

    Kind regards,
    orange_juice
    Commenting out the line
    PHP Code:
          // restore cart contents
          
    $_SESSION['cart']->restore_contents(); 
    in includes/modules/pages/login/header_php.php
    seems like it gets the job done.

    Kind regards,
    orange_juice
    http://www.dodeca.eu/
    Zen Cart is simply Jamming

 

 

Similar Threads

  1. Do Not Combine Cart
    By bacbladerunner in forum General Questions
    Replies: 4
    Last Post: 18 Jun 2011, 08:49 PM
  2. Combine Shopping Cart & Login/Address info Page
    By britneycook in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Jun 2011, 04:16 AM
  3. How to turn off "Combine Shopping Cart"?
    By ttmb33 in forum Customization from the Admin
    Replies: 3
    Last Post: 4 Feb 2010, 02:19 AM
  4. Replies: 1
    Last Post: 10 Sep 2009, 09:14 PM
  5. Is it possible to combine zen cart with existing shop database
    By optimalwebsite in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Sep 2008, 02:59 PM

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