debut theme/put quantity selector and add to cart on the same line

New Member
8 0 0


how can i put the quantity selector and add to cart on the same line in debut theme?


now, it looks like this

Screenshot 2024-04-04 at 06.05.04.png

i would like to have the following result

Screenshot 2024-04-04 at 06.06.09.png


Replies 3 (3)

Shopify Partner
8020 1564 1587

Hi @Calisto 

Could you share your store URL so I can check and give you the solution?


Best Regards,

Dan from Ryviu



- Helpful? Like and Accept solution to let me know or Buy me coffee
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

New Member
8 0 0



thanks for your help.

New Member
8 0 0

Sorry , i am not good at the code edit. I just copy the code here, please tell me what i should change. Thank you


{% unless product == empty %}
<script type="application/json" id="ProductJson-{{ }}">
{{ product | json }}
<script type="application/json" id="ModelJson-{{ }}">
{{ | where: 'media_type', 'model' | json }}
{% endunless %}

<div id="backToCollection"></div>

// Override default values of shop.strings for each template.
// Alternate product templates can change values of
// cartcart button, sold out, and unavailable states here.
theme.productStrings = {
addToCart: {{ 'products.product.add_to_cart' | t | json }},
soldOut: {{ 'products.product.sold_out' | t | json }},
unavailable: {{ 'products.product.unavailable' | t | json }}