Dawn Theme: Adding a dropdown quantity selector on the product page

Hello everyone, I am trying to have a dropdown menu on the product page to add quantities to my shopify store. I am using the dawn theme. I want to have these options below to be added as quantity in the cart when I click add to cart button. Please advise me on this issue to help me achieve my objective. Thanks in advance!

My Code: I have added this in the main-product.liquid page which does not add the quantities in the cart, after I click submit button, it just goes to an error page.


             

 Choose a bulk quantity 

       
  

What you are looking for is adding a Options to an item. You choose Option NAME and can choose multiple Values. in your case. You can do Pack Size and then 1,6,12,18 bottles. Don’t use ‘Quantity’ name since that’s Reserved for how many of that item customer wants.

1 Like

Thank you very much for your advice.
Alternatively, Is it possible to use the product pack size as quantity metafield and use them as a button on the product page to add the quantity to the cart?

The purpose is that when the customer clicks the pack size 6 metafield button, the quantity in the cart will be added as 6 items, for “pack size 12 metafield” the quantity will be 12 items. Using the item as variant pack size is not an option for me since this shows the item as 1 item when I add that variant to cart.