How to replace "Add to Cart" with "Buy It Now" button

Topic summary

A user wants to modify their Shopify product page so the primary button bypasses the cart and sends customers directly to checkout.

Current situation:

  • Dynamic checkout buttons are already enabled in the theme settings
  • The “Add to Cart” button currently adds items to cart as expected

Attempted solutions:

  • Initial suggestion to enable dynamic checkout buttons (already active)
  • Suggestion to edit buy-buttons.liquid file to change button text from “Add to Cart” to “Buy It Now”

Remaining issue:

  • Changing the button text alone doesn’t modify its functionality
  • The core request—making the button trigger immediate checkout instead of adding to cart—remains unresolved

The discussion is ongoing, with no working solution provided yet for the actual checkout redirect functionality.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

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.