How can I remove the cart button on the Studio theme?

Topic summary

Merchant selling a single digital product wants to remove the cart in the Studio theme and show only a “Buy Now” button.

Proposed approach:

  • Edit the Shopify theme code. Go to product-template.liquid (the product page template).
  • Locate the code that renders the “Add to cart” button.
  • Replace it with a “Buy Now” button so customers purchase directly without using the cart.

Missing detail:

  • The example code for the “Buy Now” button was referenced but not actually provided in the post (empty code block), so no ready-to-use snippet is available.

Requested info/next steps:

  • A helper requested the store URL and password (if the store is protected) to offer more specific guidance or implement the change.

Status:

  • Unresolved. Requires either a working “Buy Now” code snippet or access to the store for tailored assistance.
Summarized with AI on January 26. AI used: gpt-5.

I am only selling one digital product, so I do not need a cart. Is there a way that I can remove the cart, and only have a buy now button? I am currently using a free theme called “studio”

  1. In the code editor, navigate to the product-template.liquid file.
  2. Look for the code that generates the “Add to cart” button for the product.
  3. Replace that code with the code for a “Buy Now” button.

You can use the following code as an example to create a “Buy Now” button:


Hi,
Please share your store URL and if your store is password protected then also provide password too.
Thank you.