Peter.31 Posted February 8, 2023 Share Posted February 8, 2023 Can anyone advise me how to hide the "Add to cart" button on the category page if the product has attributes? PrestaShop 1.7.8.8. Link to comment Share on other sites More sharing options...
juanrojas Posted February 8, 2023 Share Posted February 8, 2023 Store parameters>Product settings>Product page>Show the "Add to cart" button when a product has attributes This works for categories, but I'm not sure if it will work for what you show that looks like a module (maybe inside the module configuration) Link to comment Share on other sites More sharing options...
Peter.31 Posted February 8, 2023 Author Share Posted February 8, 2023 I have already tried what you suggest. It works, but instead of the cart icon not showing, the "Product is unavailable" icon is showing. Then it looks like the product is sold out. Link to comment Share on other sites More sharing options...
juanrojas Posted February 8, 2023 Share Posted February 8, 2023 It occurs to me then that the combination that is by default does not have stock and that is why it shows you that, a possible solution would be to hide the icon with css Link to comment Share on other sites More sharing options...
Peter.31 Posted February 8, 2023 Author Share Posted February 8, 2023 The icon will be displayed for all combinations even if they are in stock. Link to comment Share on other sites More sharing options...
Peter.31 Posted February 8, 2023 Author Share Posted February 8, 2023 9 minutes ago, juanrojas said: It occurs to me then that the combination that is by default does not have stock and that is why it shows you that, a possible solution would be to hide the icon with css How do I edit it using css? 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