Express Theme: Add to Cart - redirect to checkout

CaitlinHuxley
New Member
5 0 0

My site: https://huxleystrategies.com/

I would like to reduce the number of clicks needed to download my ebooks. Currently, you need to click 4 times, and each time you need to hunt for the next button to click. Nearly half of the people who click "Add to Cart" never go any further. I need to make a change.

When you click "Add to Cart" on one of my guides, I'd like it to either pop open the cart drawer, or automatically link to checkout. (though it would be ideal if they got a suggestion to add other items or something)

Is there an easy way to do this myself? Is there an app that does something similar?

0 Likes
DanielAkinyemi
New Member
4 0 0

In product-template.liquid find the following code:

<span id="AddToCartText-{{ section.id }}">

Make a backup of your file and right underneath it enter this code:

 <input type="hidden" name="return_to" value="/checkout/" />

Hope this helps

Shopify Expert | Data Scientist
0 Likes
CaitlinHuxley
New Member
5 0 0

There is no product-template.liquid in the express theme.

There is a product.liquid under the template section, but inside that there is nothing called "AddToCartText"

0 Likes
CaitlinHuxley
New Member
5 0 0

There is no product-template.liquid in the express theme.

There is a product.liquid under the template section, but inside that there is nothing called "AddToCartText"

 

0 Likes
CaitlinHuxley
New Member
5 0 0

Is there no way to do this?

0 Likes