boba56 Posted February 3 Share Posted February 3 Hello, Im looking to modify the design of the add to cart button. I would like that it only displays "add to cart", and when the customer add the products, it changes to delete/decrease and add units. Like the image. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 8 Share Posted February 8 Le 03/02/2024 à 5:56 PM, boba56 a dit : Hello, Im looking to modify the design of the add to cart button. I would like that it only displays "add to cart", and when the customer add the products, it changes to delete/decrease and add units. Like the image. You need to develop it in javascript Link to comment Share on other sites More sharing options...
boba56 Posted February 8 Author Share Posted February 8 1 hour ago, Prestashop Addict said: You need to develop it in javascript Thanks, I was looking for some developers and figure it out that. Any idea of how hard is to program that code? Link to comment Share on other sites More sharing options...
boba56 Posted February 8 Author Share Posted February 8 1 hour ago, Okkabeautydubai said: For example, you might want to replace the Add to cart button for products that aren't currently for sale, or for products that are made to order. I dind't understood what you mean, but I need to change the funtional design of the add to cart button. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted February 9 Share Posted February 9 You need to add javascript / smarty code that change the design of the button according to product present or not in cart. 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