Jump to content

How to make product-quantity buttons mobile friendly


Recommended Posts


The buttons in the vertical group up/down for the qty required are not very mobile friendly.

Ive looked in the "add-to-cart.tpl" and they are not in there, it seems they appear via javascript code.

Where is this code, and is it safe to remove and just place bigger buttons before (-) and after (+) the qty field in the "add-to-cart.tpl" instead.


Im after making the buttons like this image so they are better for mobile use.




Share this post

Link to post
Share on other sites

  • 5 weeks later...

OK, so I have got this far


by changing css.

I notice that the code is in the theme.js file and is here


can this code be removed and just place these buttons in the add-to-cart.tpl ? Or is there a reason for having to add some simple buttons via use of js ?

Thanks in advance

Edited by MerseyRay (see edit history)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More