DISCOUNT FUNCTION :HOW TO USE PAYMMENT METHOD TO APPLY DISCOUNT

DISCOUNT FUNCTION :HOW TO USE PAYMMENT METHOD TO APPLY DISCOUNT

1563704123
Shopify Partner
3 0 1

I AM STUCK ON THIS POINT NOW FOR A VERY LONG TIME I WANT TO REMOVE THE AUTOMATIC DISCOUNT THAT IS APPLIED TO THE CHECKOUT USING DISCOUNT FN I WANT TO CREATE A  LOGIC WHERE IF USER SELECT LETS SAY A PAYMNT BY (CREDIT CARD ) THEN THE AUTOMTIC DISCOUNT SHOULD BE APPLIED AND ONCE THE USER SELECT CASH PAYMENT THE DISCOUNT SHOULD BE REMOVED I TRIED DOING IT FROM (CHECK UI EXTENSION ) ALSO  BUT THOSE HOOKS CAN BE USED FOR REOMVING OR APPLYING DISCOUNT THAT IS APPLIED USING A CODE 

THERE ARE NO INPUT TO USE PAYMENT METHODS ELSE IT WHOULD BE EASIER TO HANDLE THIS PROBLEM 

Replies 0 (0)