tdarkangel4141 Posted June 4, 2015 Share Posted June 4, 2015 I wish to remove "add to cart" button in single product view, but i didn t found anything to solve this. i wish to remove this button: any help is accepted! Link to comment Share on other sites More sharing options...
pishkus Posted June 4, 2015 Share Posted June 4, 2015 If you wish only to remove the add to cart button from product page, open /themes/your_theme/product.tpl file and look for <p id="add_to_cart". It's the block with the add to cart button. But if you wish to completely remove the buying option and make your webshop into online catalog, go to Preferences -> Products and enable "Catalog mode". Link to comment Share on other sites More sharing options...
tdarkangel4141 Posted June 4, 2015 Author Share Posted June 4, 2015 If you wish only to remove the add to cart button from product page, open /themes/your_theme/product.tpl file and look for <p id="add_to_cart". It's the block with the add to cart button. But if you wish to completely remove the buying option and make your webshop into online catalog, go to Preferences -> Products and enable "Catalog mode". i actually enabled the catalog mode, but it's still there the button! ^^' that is why of my question! By the way i m going to change the file. thanks for the answer! Link to comment Share on other sites More sharing options...
pishkus Posted June 4, 2015 Share Posted June 4, 2015 When catalog mode is enabled, in the default theme the add to cart button has a class unvisible . Maybe you have a custom css file and the class unvisible is missing? Link to comment Share on other sites More sharing options...
tdarkangel4141 Posted June 4, 2015 Author Share Posted June 4, 2015 i have no custom css file, i just installed 2 themes, may this be a problem? Link to comment Share on other sites More sharing options...
pishkus Posted June 4, 2015 Share Posted June 4, 2015 (edited) Yes, my guess is that your current theme is missing unvisible class in its css file. The unvisible should be in global.css file, and it is there in your default themes global.css file http://chesterton1953.com/themes/default-bootstrap/css/global.css But unvisible is not in your current themes global.css file http://chesterton1953.com/themes/et_poostyle/css/global.css So you have two options: either edit the product.tpl file, or add unvisible declaration to your current themes global.css file Edited June 4, 2015 by pishkus (see edit history) Link to comment Share on other sites More sharing options...
tdarkangel4141 Posted June 4, 2015 Author Share Posted June 4, 2015 i've tryed with adding the class, but was unsuccessfull. so i changed up the product.tpl file and worked pretty well, the only problem is about a grid that is still there, i' ll try to clean it up asap, i really think is about the theme the "unvisible problem", anyway thanks for your help ^^ i hope i can fix it alone now! Otherwise i' m going to quote you tomorrow ^^ thanks for your help pishkus! 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