Remove add to cart functionality, not the button

I have a client who wants their add to cart button + the product cards on the main page to direct you to purchase the product on another website as they are no longer selling their product direct, but through a major retailer.

I’ve got the button/PDP directing to the other page, however the problem is the item is still added to the customers cart on Shopify when they click the button. This means they can still checkout on the Shopify page, which is not something we want them to do.

Any suggestions?

www.screenbreakz.com is the client page and I’m using the Dawn Theme.

1 Like

Just checked and the link is correct. The functionality of clicking the product cards on the main page and sending you away is currently turned off, as I don’t want someone getting through and putting an order in by mistake, so I have all the product marked as sold out at the moment.

Hey @Ronin

This type of functionality is quite complex but possible at the same time as well and will require a lot of custom coding in your theme files so I highly suggest you to hire a Shopify developer who can help you out in accomplishing this task for you. Feel free to let me know if you want me to help you out and I would be more than happy to help you.

Best Regards,

Moeed

Hello @Ronin ,

It’s simple but just needs a little customization in the product cart and PDP page.

Here you need to create a metafield which will appear in each product and where the store owner can define/add destination URL.

And then through the code in product card, PDP page and search page we need to just detect in which product destination URL is available.
If we found it then we will hide the atc button and other cart features from it and on click redirect the customer to the destination URL.

If problem solved don’t forget to Like it and Mark it as Solution!
And if you need help with customization/code part you can contact me for services

You can find the email in the signature below.

Thanks