+ Reply to Thread
Results 1 to 5 of 5

Thread: Add to cart behavior with Options

  1. #1
    Client
    Join Date
    Dec 2010
    Posts
    16
    Squirrelcart version
    not specified!

    Add to cart behavior with Options

    Well, in the new 3.4.1, the option to have multiple products listed in a table and add a bunch of stuff to the cart at once is great! We have several products, each with several options, and being able to add a few of each is great.

    See this page as an example of what I am referring to.

    There are 2 areas for improvement:
    1) After add to cart, client is returned to the category or product page, but the options and numbers purchased are still reflected. So, if they want to add a different option, they might inadvertantly add everything twice. For example - we have shake mixes - vanilla, chocolate, strawberry. If they purchase 5 strawberry, when it returns to the category or product page, the count is still at 5 - should be zero'd out after adding to cart.

    2) Ability to add multiple options:
    It would be nice to be able to add 1 chocolate, 2 strawberry at same time. However, if do this, then can't get the number ordered correct - so adds 2 options, but still order quantity - like 3 cases of chocolate option, but then still have to select number of shakes.

    3) Documentation - where to find options in the orders was very confusing! Suggest adding a paragraph stating to click on the order itself, not on the edit order, for the printable receipt which will reflect selected options - it would be nice also if the selected options were reflected in the text if you click on edit order.

  2. #2
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    Quote Originally Posted by elazarus3 View Post
    Well, in the new 3.4.1, the option to have multiple products listed in a table and add a bunch of stuff to the cart at once is great!
    Thanks! Glad you like it.

    1) After add to cart, client is returned to the category or product page, but the options and numbers purchased are still reflected. So, if they want to add a different option, they might inadvertantly add everything twice. For example - we have shake mixes - vanilla, chocolate, strawberry. If they purchase 5 strawberry, when it returns to the category or product page, the count is still at 5 - should be zero'd out after adding to cart.
    I am a bit surprised that this has never been mentioned by anyone else. While the view you are using is new, this also occurs when you click on a product to get to its page and add the item to the cart from there, if you have the Add to Cart Behavior setting set to stay on product page. I agree that it would be better for the form to reset to defaults. This will be in the next version. To add to your version:

    a. Open squirrelcart/functions/storefront/common/checking_out/sc_checkout_add.func.php in an editor

    b. Find this line towards the bottom of the file:
    PHP Code:
    // return info to sc_checkout() 
    c. Before that, add:
    PHP Code:
        // this allows the product to go back to it's default options, so the product page is not populated with the choices they just made
        
    unset($_GET['add_to_cart'], $_GET['quantity']); 
    d. Save the file

    e. Open squirrelcart/functions/storefront/common/checking_out/sc_checkout_multi_add.func.php in an editor

    f. Find this code towards the bottom of the file (around line #149):
    PHP Code:
            // to display the category page as it was (sorted correctly, and with correct starting page)
            // we need to put $_GET back to the way it was
            
    $_GET $get_saved
    g. Add this below it:
    PHP Code:
            // this allows the product to go back to it's default options, so the product page is not populated with the choices they just made
            
    unset($_GET['multi_add']); 
    h. Save the file


    2) Ability to add multiple options:
    It would be nice to be able to add 1 chocolate, 2 strawberry at same time. However, if do this, then can't get the number ordered correct - so adds 2 options, but still order quantity - like 3 cases of chocolate option, but then still have to select number of shakes.
    I'm not sure I understand this one. Are you using the method explained here under Allowing Multiple Selections with Quantity Fields?
    http://www.squirrelcart.com/help/?Ad...%20Option.html

    That would allow them to enter quantities for each option choice. If you are using that feature, you will need to make sure that you are running v3.4.1, OR that you are running v3.4.0 with all the available bug fixes for v3.4.0 listed in these forums under Bug Reports > Confirmed, as there is at least one bug that prevents that feature from working properly in v3.4.0.


    3) Documentation - where to find options in the orders was very confusing! Suggest adding a paragraph stating to click on the order itself, not on the edit order, for the printable receipt which will reflect selected options - it would be nice also if the selected options were reflected in the text if you click on edit order.
    I agree that this is confusing. We will most likely be improving the way orders are handled in the control panel in version 4. We do have documentation that explains how to open the order in both modes:
    http://www.squirrelcart.com/help/?Viewing%20Orders.html

    That doesn't fully explain exactly where to see option info. I'll update that in the future.

  3. #3
    Client
    Join Date
    Dec 2010
    Posts
    16
    Squirrelcart version
    not specified!

    Smile Thanks! - Also, explanation regarding options quantity

    Jamie:
    1) Thanks! The fix for the cart worked perfectly.

    2) Options - so if you look at the instructions link you sent me, it is still a little funny. After adding the 5 soaps (1 lavender, 2 oatmeal, 2 watermelon), there is still a quantity field below. So if the quantity below the option choices is "2" does that mean you want 10 soaps?

    For us, If I have 3 flavors of shakes, chocolate, vanilla, and strawberry, and somebody selected 2 chocolate and 1 vanilla in the options number, but then for quantity put 3, does than mean they actually want 3 sets of 2 chocolate and 1 vanilla?

    Unfortunately, that makes it unusable. It would work great if the quantity below the option choices could be turned off for situations like this.

    Otherwise, working great! Thanks again.

  4. #4
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,829
    Squirrelcart version
    v3.3.7
    so if you look at the instructions link you sent me, it is still a little funny. After adding the 5 soaps (1 lavender, 2 oatmeal, 2 watermelon), there is still a quantity field below. So if the quantity below the option choices is "2" does that mean you want 10 soaps?
    That example is a gift basket. If you set the quantity to 2, you would be ordering 2 gift baskets configured the same way.

    For us, If I have 3 flavors of shakes, chocolate, vanilla, and strawberry, and somebody selected 2 chocolate and 1 vanilla in the options number, but then for quantity put 3, does than mean they actually want 3 sets of 2 chocolate and 1 vanilla?
    Yes, if you had it configured like the example.

    Unfortunately, that makes it unusable. It would work great if the quantity below the option choices could be turned off for situations like this.
    Yes, that would be good. We may add that in the future.

    Otherwise, working great! Thanks again.

  5. #5
    Client
    Join Date
    Apr 2012
    Location
    NC
    Posts
    9
    Squirrelcart version
    v3.4.2
    Quote Originally Posted by Jamie View Post
    I am a bit surprised that this has never been mentioned by anyone else. While the view you are using is new, this also occurs when you click on a product to get to its page and add the item to the cart from there, if you have the Add to Cart Behavior setting set to stay on product page. I agree that it would be better for the form to reset to defaults. This will be in the next version. To add to your version:
    I have the next version but the form does not reset to defaults. Did this update make it to the next version?


    elazarus3
    2) Options - so if you look at the instructions link you sent me, it is still a little funny. After adding the 5 soaps (1 lavender, 2 oatmeal, 2 watermelon), there is still a quantity field below. So if the quantity below the option choices is "2" does that mean you want 10 soaps?

    For us, If I have 3 flavors of shakes, chocolate, vanilla, and strawberry, and somebody selected 2 chocolate and 1 vanilla in the options number, but then for quantity put 3, does than mean they actually want 3 sets of 2 chocolate and 1 vanilla?

    Unfortunately, that makes it unusable. It would work great if the quantity below the option choices could be turned off for situations like this.

    X2. I wish I could use this feature too, but my situation is the same as the client above.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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