Support » Plugin: WooCommerce » How to match variable quantity to quantity in cart

  • Resolved mjugarte


    i have some of my products set up as a variable where each variation is a quantity, and each quantity has a different price. but in the cart the qty shows as 1 even if the variation is 2. it looks like woocommerce sees it as 1 order of 2.

    how can i get the cart to show qty is based on variation number so they match in the cart.

    now shows as: PRODUCT: Rustic 3-Bean and Brassica Soup – 2 QTY: 1

    would like to show as: PRODUCT: Rustic 3-Bean and Brassica Soup – 2 QTY: 2


    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi!

    Variable products can’t be used to increase quantities of a specific product since they’re treated as separated products. So what you’re trying to achieve won’t be possible with Variations.

    The thing is you should be able to offer quantities of a product to your customers by default. If you create a simple product and you have enough stock, a field pops up and your customers can choose how many products they want, like this example:

    That product is a simple one, with no variations.

    So I’m inclined to think that the Product Template you theme is currently using doesn’t show quantities. In order to check that, could you temporary switch your Theme to Storefront? You can get it for free at:

    If you can see quantities by using Storefront, then the problem is in your Theme and you should contact the authors or switch it to another one.


    yeah, it’s a tricky one. i don’t want the customer to be able to chg their quantity in the cart on products that have variable pricing. thus i’ve checked “Enable this to only allow one of this item to be bought in a single order”, and it works as expected. meaning it just displays a qty, and can’t be changed by the customer. i just want the qty to match the variable number.

    the quantity function works fine on single products….. just trying to match up the QTY column with the VARIABLE amount in the cart. obviously it works fine when variable is “1”, but anything other than “1” does not.

    is that possible? thx!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to match variable quantity to quantity in cart’ is closed to new replies.