slyv Posted March 23, 2011 Share Posted March 23, 2011 Hi everyone,I would simply delete the button "Add to Cart " from the product list and product, with PS 1.4.I found some good solutions for earlier versions, which I reproduce here for convenienceIn product.tpl I replaced this quantity == 0} style="display:none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p> whit this {* quantity == 0} style="display:none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>*} Unfortunately I can not do it with 1.4.Is there anyone who would know adaptation? Link to comment Share on other sites More sharing options...
jeckyl Posted March 23, 2011 Share Posted March 23, 2011 Hello,Why try to remove the button on the 1.4??Want to make a simple catalog or you want to remove the button for specific products? Link to comment Share on other sites More sharing options...
slyv Posted March 23, 2011 Author Share Posted March 23, 2011 I want to remove the button.I can not use the catalog mode because I do not see the price ... :-( Link to comment Share on other sites More sharing options...
jeckyl Posted March 23, 2011 Share Posted March 23, 2011 delete line 363 from product.tpl quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p> Link to comment Share on other sites More sharing options...
slyv Posted March 23, 2011 Author Share Posted March 23, 2011 Sorry, don't work (( Link to comment Share on other sites More sharing options...
slyv Posted March 23, 2011 Author Share Posted March 23, 2011 oops, sorrty, IT WORKS!I forgot forcing compilation from back office!Thans! Link to comment Share on other sites More sharing options...
tommyx_x Posted May 21, 2011 Share Posted May 21, 2011 hello, you can disable the button add to cart users not logged in? Link to comment Share on other sites More sharing options...
jeckyl Posted May 21, 2011 Share Posted May 21, 2011 hello, you can disable the button add to cart users not logged in? hi,wich version of Prestashop ? Link to comment Share on other sites More sharing options...
tommyx_x Posted May 23, 2011 Share Posted May 23, 2011 Hi jeckyl,my version of prestashop is 1.4.1Thanks Link to comment Share on other sites More sharing options...
leszekem Posted May 24, 2011 Share Posted May 24, 2011 tommyx_x-somethin like this?www.gecona.nlno prices untill you login, and accepted by admin.perfect solution for wholeselers.Lee Link to comment Share on other sites More sharing options...
Recommended Posts