We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Debut theme - Product page - Remove buy buttons - replace with redirect link

Debut theme - Product page - Remove buy buttons - replace with redirect link

jlovelace1
Shopify Partner
6 1 2

On each product page are "Add to cart" and "Buy with paypal" buttons. I want to delete these and replace with a button that says "Buy" and when the customer clicks the button, it takes them to a different website to complete purchase. Is this possible?

Screenshot 2023-06-01 094435.jpg

Replies 4 (4)

made4Uo
Shopify Partner
3877 719 1235

Hi @jlovelace1 

 

Yes, that is possible, but you need to add an html code to your product page and remove the dynamic button option. 

 

You can use this code as reference to show another button

<a href="outside_website_link">Buy now</a>

 

If you are having trouble finding the code for the buttons, I suggest you hire a developer to do this for you

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

Zqdo
Shopify Partner
803 32 64

You can definitely make this change. It will work in two ways, first you'll have to hide those buttons, and then show a link to where you want to take the website visitor.

 

Is there an option on your product page to hide both buttons? There is usually a checkmark that allows you to toggle between hiding and showing these buttons.

banned
Zqdo
Shopify Partner
803 32 64

Hi there, just checking to see if you still needed help. Thanks.

banned

Cedcommerce
Shopify Partner
718 77 117

Hello @jlovelace1

 

Yes, this is possible. You can add an HTML code to your product page and remove the dynamic button option to get this done.

 

Follow the below steps to get this done. 

 

  • Go to the Edit code and search the file name main-product.liquid.
  • Then search the buy now button and paste the below code.
  • You can utilize the below-provided code :

 

<a href=”another link paste here”>Buy Now</a>

 

Hope this works. Let us know if you need any further help. 

 

All the best,

CedCommerce 

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here