Use variantpicker as a quantity button

AVmaster
New Member
8 0 0

Hi,

i want to use the variant picker as a button to change the quantity. So as you can see in my screenshot, when the customer clicks on Double 2 cleaners the quantity has to change to 2 and if they click on family 3 cleaners the quantity has to change to 3. 

Is there somebody who can help me with this using code? Im using the craft theme

 

Scherm­afbeelding 2023-10-29 om 09.27.47.png

Reply 1 (1)
Dan-From-Ryviu
Shopify Partner
5446 993 1011

It will affect to total price in cart page if you do that. 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now