Add quantity selector to dawn theme

sambhavchopra
New Member
8 0 0

Screenshot 2021-10-18 at 05.47.57.png

Hey. I am using Dawn theme of shopify

This is how I've added add to cart button to the all products page. I also want to add per unit price, and quantity selector on this page. How do I do it?

Secondly, I also want people to stay in the product/catalog page when they are adding to cart, and not go to the cart everytime. How do I make this change? Thank you!

Replies 17 (17)
sambhavchopra
New Member
8 0 0

I don't want to go to quick shop for that, can I get a catalog/shop page with quantity selector and add to cart like this.

Screenshot 2021-10-20 at 08.49.45.png

suyash1
Shopify Partner
3690 407 606

@sambhavchopra- for this we need to edit code, it can be done

You are welcome to contact me, my email - suyash.patankar@gmail.com
My timezone is GMT+5:30
sambhavchopra
New Member
8 0 0

Can you help with that please?

suyash1
Shopify Partner
3690 407 606

@sambhavchopra- can you give me collaborator access? I will send request also if you want we can talk on email for quick communication

You are welcome to contact me, my email - suyash.patankar@gmail.com
My timezone is GMT+5:30
sambhavchopra
New Member
8 0 0

Thanks a lot! I have sent an invite to - suyash.patankar@gmail.com

 please feel free to email me at sambhavchopra@gmail.com 

suyash1
Shopify Partner
3690 407 606

@sambhavchopra- sent email, checking it now

You are welcome to contact me, my email - suyash.patankar@gmail.com
My timezone is GMT+5:30
mstav2u
Excursionist
16 0 1

I want to get my quantity selector to show what quantity is actually in stock instead of when you click quantity it goes on for ions and then you push add to cart and it says you can't add more products.  What the?  When I go to buy items online and I click on the quantity, it'll only let me click so many, when there is a limit in stock, so this is what I'd like to accomplish.  I am trying to get Dawn set up to try as I already have Debut and neither have this option.  I assume a code needs to be put in to make this happen.  For example if I have 8 of an item in stock, this is all that will show on that particular item and if I have 2 in stock of an item, this is the only quantity that will show up to buy.  How can a person make this happen?  Thanks in advance.

mjdubarr
Tourist
30 0 2

I added this code to the product.card.iquid:

 

<form method="post" action="/cart/add">
<input type="hidden" name="id" value="{{ product.variants.first.id }}" />
<input type="submit" value="Add to cart" class="btn" />
</form>
</div>
</div>

 

but my product align vertically instead of horizontally like before and the button doesn't match the colors I chose for my button theme.

 

how do I fix this?