Link "buy" button to another site

Ross_Davis
New Member
2 0 1

Hi,

Sorry if this is the wrong forum - this is my first time posting here. My store was built for me by a Shopify partner so I've not yet had much need to spend time learning the backend in depth or understanding exactly which forum to use for which question type.

FYI my domain is https://hamtun.co

I have a product page, but for a period I will be taking pre-orders on another site (Kickstarter). I don't want to show "sold out" on the product page and on the "add to cart" button, but I don't hold stock and don't want to take orders via my site.

Ideally what I'd like to achieve is:

  1. On the profuct page, update the button text to "Pre-order on Kickstarter" and make it active
  2. When the button is clicked take the user to a custom URL of my choice
  3. Once the Kickstarter is over I'd like to change the button back to a regular Shopify "add to cart" button as I will then be selling directly

Is there any way of doing this? If so, is it something I can do or will I need to hire a specialist?

Thanks,
Ross

Lixon_Louis
Shopify Partner
1181 35 239

Hi Ross, you can use alternate templates for products. inbox me if you need any help. lixon@ecommercestudio.in

https://help.shopify.com/themes/customization/store/create-alternate-templates

Get help at lixon@ecommercestudio.in
0 Likes
M-Store
New Member
2 0 0

Hi there Lixon_Louis,  

I'm currently attempting to customize a 'Buy It Now' button to link off to an external URL (new tab), and remove the 'Add to Cart' button above it too. 

I've followed the steps you provided in the Help link below, up to Step 6, which is where I'm now lost. I'm hoping you can assist to advise where and how I would edit the text of the button, and input the URL in the code below? 


Code for Custom Button.JPG

 

Grateful for any code advice you can provide! 

Best, 
M.Store

0 Likes
Angelab
New Member
1 0 0

Hi there, Im trying to achieve the same thing - when a customer hits "buy now", I want them to be redirected to another site (via a trackable link), where they buy the product. Did you workout how to get the code right? Im using Debut free theme

0 Likes
Lixon_Louis
Shopify Partner
1181 35 239

@M-Store  @Angelab  As of Debut v16.5.5, the Add to cart button & Buy button are at line 200 - 226 inside product template.

 

Replace that part with your custom code. 

 

screenshot-nichegeek.myshopify.com-2020.05.22-11_32_10.png

 

 

Get help at lixon@ecommercestudio.in
0 Likes
TrailMagik
New Member
1 0 0

hi lixon_louis - how much does it cost to have you just do it for me?

 

I have the same question/need... for my 5 products, i'd like it so when you click buy now ---> it directs you to the kickstarter campaign...

0 Likes
Thrasybulus
New Member
2 0 0

I'm trying to figure out the same thing--that is, remove the "add to cart" language and redirect link to an external site for some but not all products. Did you ever find a solution? Thanks 

0 Likes