How can I disable the quantity selector on a cart page?

I am building a store for a client, and I am looking for a way to remove the ability to change the quantity of an item from within the shopping cart. I figured out how to remove the selector entirely but am looking to keep it visible if possible. This is using the minimal theme, the CSS for the selector is as follows:

{{ 'cart.label.quantity' | t }}

Add readonly just before the closing tag of the .

Updated code below:


Let me know if that works!

1 Like

That worked perfectly, thank you so much!

Hi I have the same issue. I have a Debut theme, can you please walk me step by step where I can put this code?

Thank you!