Hey, how can I replace the “Add to Cart” button with a “Buy It Now” button?
Basically, I want it to take me directly to checkout when clicked on that button, instead of adding the product to the cart.
My store: https://timcreator.myshopify.com/products/editing-masterclass
Thanks a lot for the help,
Tim
Hey Tim,
Could you you go to online store → customize → select the drop down in the top center of the screen that says “home page” and switch to “products” → select the template you would like to add it to. Then you can use the editor in the left hand side to find the object call “buy buttons” once selected you should see a settings panel on the RHS of the screen pop up which has the option to enable dynamic checkout buttons. Very similar to the first minute in this video!
Yeah, but I already have it enabled.
I just want to change the “Add to Cart” button to “Buy It Now” so when they click on it, it takes them directly to checkout instead of the cart.
Hey Tim,
Inside your theme code, search for buy-buttons.liquid and look for the code (command f): {{ ‘products.product.add_to_cart’ | t }}, you can then replace that with the text “Buy it now”
1 Like
Yeah, but that just changes the button text, right? What I want is that when they click the button, it automatically takes them to the checkout, not just adds the product to the cart.