2

I have a requirement to disable the payment method based on a custom product attribute in the cart and payments page, whose value is stored in the cookie local. Till Now I have been able to get a cookie value in the JS, but how can I disable the particular payment like for example "checkmo" OR "purchaseorder" from JS in the cart and the payment page?

Thanks in advance.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.