Support » Plugin: FoxyShop » [Plugin: FoxyShop] Quantity added to cart always '1' regardless of quantity entered

  • Resolved KerriM

    (@kerrim)


    I have a custom product loop that just displays three products, their description, a quantity field, and an add to cart button for each.

    When the product is added to the cart, only one unit is added for each click of the “add to cart button” , regardless of the quantity that was entered into the quantity field.

    I have a bunch of custom javascript set up, too, to modify cart behavior (suppress the Color box, etc), but I’ve tried removing all of that, and the same issue still exists.

    Of note: one of the items I’ve had to set up in my javascript is to remove the quantity of ‘1’ that automatically populates the quantity box. I’m not sure why this box is being automatically populated with ‘1’ as well.

    This is the code for my product loop: http://pastebin.com/pwkQ2rbJ
    …but maybe I’ve just missed a setting when setting up the products in the FoxyCart Admin?

    Thanks for your help!

    http://wordpress.org/extend/plugins/foxyshop/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author sparkweb

    (@sparkweb)

    Hi KerriM,

    (So sorry for the delay on response. Please email directly via foxy-shop.com for quicker support.)

    The issue here is that you don’t have a form setup – the add to cart is just a link. So I’d grab some of the code from the single product template to create your form for each product inside of the loop.

    KerriM

    (@kerrim)

    Thanks! That was exactly what the issue was.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: FoxyShop] Quantity added to cart always '1' regardless of quantity entered’ is closed to new replies.