Hello all,
I'm looking to disable a line item adjustment based on the currently selected payment gateway. This adjustment is currently being applied inside of a line item script.
The use case I have is that we offer a financing option and discounts are not eligible when that financing option is used.
I see that during the payment scripts I can read the entire gateway list, but I'm not seeing how to determine which one is currently selected by the user.
Can someone please help me understand how I might accomplish this task?
Hey Jack,
As far as I know this is not possible, you can not disbale or remove a line item from scripts. What you would be able to do is filter out payment methods based on the coupon and/or discounts the cart has on the payment method Scripts. I hope Im making sence here haha. If not ask :P
Cheers!