Checkout - Change Quantity

skymastersonskymasterson Member
in Help edited May 2010
I was wondering if it's possible to allow the user to change the quantity they want to buy in the checkout instead of the cart.

I'm only allowing users to buy one type of product at a time. However, I would like to let them change the quantity. If I could do this, it would eliminate the cart step and help with conversion just a bit.

Thanks for your help. I searched around for an answer and didn't see one so I hope this isn't duplicated.
Comments
  • lukeluke FoxyCart Team
    Absolutely. The "quantity" is a standard FoxyCart product attribute so you can add it to your product form or add to cart link just like the price or name. More info can be found here: http://wiki.foxycart.com/getting_started/adding_links_and_forms#standard_attributes
  • brettbrett FoxyCart Team
    @luke, I think that @skymasterson means an editable cart on the checkout. Is that correct, @skymasterson?

    If you want to allow the customer to choose their quantity _before_ the checkout, you can definitely do that like Luke said. Just modify your add-to-cart form with a quantity input.

    If you want to actually allow quantity changes on the checkout page itself, that gets a little tricky. It's possible, but unless you really want to dig in with some more advanced stuff it's recommended to do it the other way.
  • lukeluke FoxyCart Team
    Oh sorry... I totally missed that. Thanks Brett.
  • Hi-

    I'm looking to do the same thing -- allow quantity changes on the checkout page. Supposing I wanted to dig into the more advanced stuff, could you point me in the right direction of how to do it? Is there documentation on the site that explains it?

    Thanks,
    -Sandy
  • lukeluke FoxyCart Team
    No documentation currently because there are a LOT of gotchas. Taxes, shipping, discounts, coupons... without completely reloading the checkout page after making a change to the cart contents, there's no garuntee what the customer sees is what they will be charged. We have it here listed here on our requests page and it would probably be safer to wait for that to become a standard feature: http://requests.foxycart.com/forums/4162-general-requests/suggestions/80807-make-shopping-cart-editable-in-checkout-screen?ref=title
  • brettbrett FoxyCart Team
    edited July 2010
    @santheo, because you asked: http://forum.foxycart.com/comments.php?DiscussionID=3018&page=1#Item_3

    The basic idea isn't too difficult to grasp (assuming a decent level of JSONP experience), but I'll reiterate what Luke said: There are a lot of gotchas, especially wrt taxes and shipping.

    We definitely have this improvement on the radar, and there are some neat things I've been looking at to tie it into a real template language. We have some other pressing issues though (shipping and tax improvements), but this one is definitely in the plans for when we can get to it.
Sign In or Register to comment.