How I can dynamically change payment providers as per product

drona2938
Shopify Partner
1 0 0
I have some products
where I am giving automatic payments and COD both

whereas I have some products in my store where I want to limit COD , only automatic payment is available

how can I do this?
Replies 2 (2)
Mircea_Piturca
Shopify Partner
1493 42 320

If you are on Plus you can use Shopify Scripts to modify gateways based on cart contents.

Please see: https://help.shopify.com/en/manual/apps/apps-by-shopify/script-editor/shopify-scripts

 

If you are not on Plus I do not see a way as you do not have access the the checkout code.

Finally—Add variant descriptions to your products
MarcoReleasit
Shopify Partner
148 14 39

Hi @drona2938 

Unfortunately it's not possible to limit the COD option on Shopify's Checkout for only specific products.

It's possible to limit COD to only specific products if you use a separate order form to collect Cash on Delivery orders! If you install our app QuickForm you will be able to create a separate order form for your Cash on Delivery orders and you can limit the form to only the products that support COD on the Visibility settings here:

MarcoReleasit_1-1635930695443.png

With this solution COD will only be available for the products you want because your customers will use our order form if they want to pay with Cash on Delivery and for products that do not have COD your customers can use the normal Shopify Checkout to pay with prepaid payment methods.

You can install QuickForm for free on the Shopify App Store here: https://apps.shopify.com/releasit-cod-order-form (you can also find a demo store on the App Store where you will be able to try the app)

If you need help or you have any doubts or questions you can always contact me on the app, we offer 24/7 support via email, WhatsApp and Telegram!

Hope this helps!

Marco