Prestige theme: add quantité next to add to cart / buy button

52 0 8

Hi, I'd like to add the quantity item next to the checkout button on the same line like so on my product page:


Screenshot 2024-05-27 at 13.41.46.png

This is my page:


Thanks for your help !

Replies 2 (2)

Shopify Partner
511 86 78



The following code will do what you want. You can change the values as you like. If you encounter any issues again, feel free to write, I'll help.


1) Navigate to the 'Edit Code' option in your theme settings, then search for 'theme.liquid' in the search bar.

2) Paste the following code below the '<head>' tag. Please refer to the attached screenshot for guidance.



[data-block-type="buy-buttons"] {
    display: inline-block;


[data-block-type="quantity-selector"] {
      display: inline-block;
          margin-right: 10px;









★ Looking for Dedicated Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 MONTH!
★ Get skilled Shopify developers at BUDGET-FRIENDLY RATES — explore for a rapid quote!
If my support was a lifeline for you, The COFFEE  
would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> | Software Engineer - Specializing In Advanced E-Commerce Websites
52 0 8

Thanks Terence thats very helpful however do you know why theres a slight size difference in height between the add to bag block and the quantity selector block ? see :Screenshot 2024-05-29 at 16.49.48.png