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

Calisto
New Member
8 0 0

hi,

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

 thanks

Replies 3 (3)

Dan-From-Ryviu
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.

Calisto
New Member
8 0 0

hi,

 

thanks for your help.  

https://www.laboutiquedecalisto.com/

Calisto
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-{{ section.id }}">
{{ product | json }}
</script>
<script type="application/json" id="ModelJson-{{ section.id }}">
{{ product.media | where: 'media_type', 'model' | json }}
</script>
{% endunless %}

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

<script>
// 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 }}
};