Disable payment method for specific products

Disable payment method for specific products

spiritful
Visitor
1 0 0

Hi,

 

I'm using the official Digital Downloads app from Shopify to create digital assets I'm selling in my store. My main product range contains mostly physical products and only some digital ones.

I would like to disable a payment method if some specific product(s) are in the cart, because it makes no sense to buy a digital product with the Cash on delivery option. Unfortunately, there are such cases, and it makes me additional amount of work to handle these kind of customers.

Is there any way to handle this?

 

Thanks!

Replies 5 (5)

LGNOFTHELEPRCHN
Tourist
4 1 2

I would also like to know this as customers think they can use the shop pay installments with my pre-order items and shopify won't accept the payment which is fine, but it would be nice to remove it from that specific page and the checkout. If shopify doesn't accept shop pay for pre-orders, then shopify should give us the opportunity to either hide it, or remove the function so my customers aren't confused.

Kai33
Excursionist
18 1 2

Hello @spiritful ,

 

You can achieve it with the Kip: Customize Payment Methods app, which lets you hide payment methods based on conditions, and in your case you can configure it to hide Cash on delivery when your digital products are in the cart.

 

Here is a step by step on how to achieve this:

 

After installing the app, click the "Create hide rule" option:

Kai33_0-1702907727712.png

 

Then in the payment methods to hide, select Cash on Delivery (COD):

Kai33_1-1702907744151.png

 

In the condition section, select the "Cart item SKUs" condition, then you can enter the product SKUs in which you want the Cash on delivery to be disabled. In your case these should be the digital products:

Screenshot 2023-12-18 at 10.57.27.png

 

This will result in the Cash on Delivery method only being available in your physical products.

 

I hope you found this helpful!

AlexHeard
Shopify Partner
64 0 1

You are correct. It really doesn't make any senses to offer Cash on Delivery option for the digital products. You can hide COD option in the checkout if your customer has any digital products in their cart using PayRules: Hide Payment Methods app.

 

If you have a lot of digital products, then you can assign them into a particular collection and use that collection in the app's Collections field. If you have only a few digital products, you can add them directly in the app's Products field. Let me show you how you can achieve it.

 

  1. Choose Cash on Delivery from the Select payment methods field.
  2. Choose your desired collections and products in the Collections and Products fields like the screenshot below.

 

digital.png

 

In the above screenshot, if the order contains any products from Digital collections or if the Gift Card product exists in the order then COD option will be hidden in the Shopify checkout page. I hope this will help you. Cheers!

developerify
Shopify Partner
16 0 0

You can easily do that with Vista Payment Customization Rules.
Create a product tag for eg: "No_COD_Tag" and assign all those products to that tag.


Now go to Vista Payment Rules app

- select "Product Tags" condition

- Add product tag eg: "No_COD_Tag"

- Add COD as payment method

- Select "Hide"

- Save the rule

 

COD will always be hidden at checkout.

 

You can add other conditions as well such as low total order value or certain products.

 

developerify_1-1738257053302.png

 



 

bonyecommerce
Shopify Partner
33 1 3

Hi @spiritful ,

 

You can try with Bony: Checkout Rules & COD. After you install, please follow these steps:

 

1. Click on "Create rule" button and click on "Create payment rule"

bonyecommerce_0-1746543976791.png

 

2. Enter the name of the rule, select "When conditions are met", choose "Input 3". On the condition, please choose "Cart has digital product"

bonyecommerce_4-1746544046465.png

3. Choose "Hide specific payment methods" then select "Which name is" operator and enter "Cash on Delivery (COD)"

bonyecommerce_3-1746543976821.png

 

4. Published the rule and save.

 

Please let me know if you have any questions

Customize checkout payment and delivery methods with conditions for optimal user experience. Try it out! Bony Checkout Rules