How to remove add to cart button only on this one product page?

Topic summary

A user needs to modify the \

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

I need to remove the “add to cart” button only on this one product page:

https://empiricalwater.com/products/starter-kit

The user must only be able to go directly to checkout. Must apply only to this product page.

Thanks.

Hi @empiricalarby ,

Here are the steps you can follow:

1, Navigate to Online Store > Themes > Edit Code.

2, Locate and open the theme.liquid file.

3, Paste the code snippet provided below right before the closing head tag, then save your changes.


We hope this assists in resolving the issue.

If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!

2 Likes

Hey, thanks so much for the solution. I actually came up with a different idea: I removed the dynamic checkout button already and only left the add to cart button. Can you make it so that the add to cart button adds the item to cart, AND takes the user directly to checkout, bypassing the cart page entirely? Only for this one webpage, I mean: https://empiricalwater.com/products/starter-kit

I’d love to mark that as a solution as well.