darren Posted January 24, 2020 Share Posted January 24, 2020 I need the help of someone with a superior brain to mine please.. In prestashop 1.7.6 I need to hide the quantity field for certain products (some have quantity as a combination) - I hoped i could add to the product.tpl something like.. {if $product_id=34} <script type="text/javascript"> $(".bootstrap-touchspin").css( "display: none" ); </script> {/if} But this doesn't work - something similar DID work in PS 1.6, s I must be messing up somewhere. Any advise GREATLY appreciated! Link to comment Share on other sites More sharing options...
NemoPS Posted January 25, 2020 Share Posted January 25, 2020 did you find the div with class "qty" in product-add-to-cart.tpl? You should be able to use a similar syntax with $product Link to comment Share on other sites More sharing options...
darren Posted January 27, 2020 Author Share Posted January 27, 2020 I'll have a look! Thank you so much for your help NemoPS. 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