I need to set a discount price to products only when payment method is cash.
I created a price attribute called
discount_price and put it in the product attribute set. If customer is paying in cash I want the new discounted price to be set in cart.
I also created another yes/no attribute called
has_discount is set to yes cart rule activate and for example I can get 10% of discount in products paid in cash. But what I want is set the price of the attribute
Can anyone help me with this?