Brighteyes Posted January 20, 2014 Share Posted January 20, 2014 When I set a quantity using attributes i'd like to remove the quantity box. Is this possible? Only for certain products so no editing of the tpl file. You'll see what I mean by the attachment... Link to comment Share on other sites More sharing options...
vekia Posted January 20, 2014 Share Posted January 20, 2014 it's possible but only with modification of product.tpl file there is no other way. you have to add there if condition, where you will check the id of product - if condition like: if id of product != product->id {if $product->id ==20} display:none css styles for quantity field. {/if} 1 Link to comment Share on other sites More sharing options...
gracenote Posted November 13, 2014 Share Posted November 13, 2014 Not sure if I'm doing something wrong as this fix did not work for me. I'm trying to accomplish the same thing for specific products. I tried this with product ID 21. I put the following code in product.tpl {if $product->id ==21} display:none css styles for quantity field. {/if} Link to comment Share on other sites More sharing options...
gracenote Posted November 13, 2014 Share Posted November 13, 2014 I ended up creating a new thread for my specific scenario. MEG Venture provided a solution! http://www.prestashop.com/forums/topic/380387-hide-quantity-field-on-select-product-pages/?do=findComment&comment=1866568 Link to comment Share on other sites More sharing options...
Recommended Posts