I’m looking to add “Add to Cart” button for each product on my collection pages. And I would like the button to appear on the product photo when hovering over it.
It’s amazing how simple this shopify platform is. It’s just navigating around the different, what seems like, “component” files and sorting the mess of code in the browser that makes it more difficult.
This code works, however the buttons are all uneven in height from one another. Is there a code to adjust the text boxes above the add to cart buttons, making them uniform throughout. This would be one way to solve it. Or if there is another way to have the buttons on the same plane as one another I would love to know. Any help would be appreciated.
Hi, so I used the code you provided for mine as well but the button doesn’t align in the center underneath the products right. They are more towards the left instead of being centered, how do I center all of them? Also when the customer click on the “add to cart button” I want it to say “added” so they’ll know it’s been added to there cart and instead of it taking you straight to the checkout page I want it to stay on that same page so that the customers can continue shopping?
I have not looked into that. I realize that the link directs to the cart page. At the cart page I have added a continue shopping button for this reason. However, your approach seems better. I am not a developer, therefore will need to look into this as well. If I find out how I will let you know.