Plugin Support
Fernando a11n
(@fhaps)
Automattic Happiness Engineer
Hi @islamfotouh,
Something like this would require custom coding in order to get it working the way you describe.
Doing a bit of research, I found the following thread, which seems to contain a code snippet that matches the description of what you are attempting to do:
https://stackoverflow.com/questions/50412379/disable-specific-shipping-method-if-cod-payment-is-chosen-in-woocommerce
I haven’t tried this myself, so I would suggest you proceed with caution (only doing this on a staging version of your site, after backing everything up); but it might be worth a try.
Hi @islamfotouh,
We haven’t heard back from you in a while, so I’m going to mark this as resolved.
If you have any further questions, you can go ahead and start a new thread.