How can I add quantity buttons to the Debut theme?

Hello,

I managed to follow the steps before but this one I got slightly confused.

I would love to change the quantity buttons in the cart page and not the cart popup.

You mentioned changing the input line. Where do I need to change it?

You need to do this code in section->cart-template.liquid file but this code only work for product page not cart page.

For that need whole new code with its different Js because on cart page we have multiple qty box t time so cant give you code for that.

Thank you for the quick response.

What JS do I need to add to have the same quantity boxes but in the cart page also.

Because my cart page looks like this at the moment.

You have to do design first and then we can create Js base on selector and for that need custom code.

1 Like

Yeah! It works. Thanks!

1 Like

Screenshot from Debut theme - go to customize option and then select ‘Product pages’ option from drop down menu. By default “home page” is selected here.

First need to select “Product pages” on right and then qty selector with pop up.

Good luck.

Hello! Where should I add this data field?

I don’t understand a lot of the grammar. I finally realized what was meant by comment code, but still have no idea what “that in between condition” means. This seems like an awful lot of code to simply add a different style of buttons next to the quantity field. I really doubt this is the best method.

Hi.

I activated the quantity in theme customize editor. Do I still need to do do input the code?

THANKS

If you have shopify default theme then you can enable just from theme editor no need code.

No need for any coding after that.

Thank you! this worked!

Hi,

Where do I insert the code when using the Empire theme as there is not product-template.liquid in the sections?

Thank you

hey i followed the code but nothing happened

finchdeal.com

pass: saiyam

Cant see any qty button on product page

I DONT KNOW HOW TO ADD I DID SOME OF YOUR CODING BUT COULDN’T GET IT

If you cant do your self then you have to hire developer to do this.

no i can do

Hi @Jasoliya , could you please write the instruction number 2 again, in a different way? I’m not sure I understand where to place your code.

This is the original I have in Debut theme - product-template.liquid

{% if section.settings.show_quantity_selector %}
              
                

                  
                  
                

              

            {% endif %}

Thanks a lot!

Comment from “

” to its end

and add my code in between “

”…to

1 Like