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”
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.
- In the code editor, navigate to the
product-template.liquidfile. - Look for the code that generates the “Add to cart” button for the product.
- 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.