AFCPS Posted July 7, 2020 Share Posted July 7, 2020 I would like to hide the quantity selection box on specific products. I have found this code from an archived post on version 1.6 however doesn't seem to work if i insert it into /themes/classic/templates/catalog/product.tpl: Quote {if $category->id==3} <script type="text/javascript"> $("#quantity_wanted, #quantity_wanted_p, .button-minus, .button-plus").css( "display", "none" ); $("#quantity_wanted").prev().css( "display", "none" ); </script> {/if} Expand I'm happy to hide them using categories or product ID's, whichever works. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now