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

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?

1 Like

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

Buy now

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

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.

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

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

All the best,

CedCommerce

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