• I’d like to suggest a feature where we can apply custom amount or percentage discount to the order via dashboard or API.

    In the REST API we have a discount field but its read only.

    Scenario – give a customer a discount on an order without having to create a coupon for it. happens a lot of times.

    What do you think?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Claudio Sanches

    (@claudiosanches)

    This is at least in MY personal plans right now. I want to propose soon some way to add discounts like we add fees in orders.

    Thread Starter fid

    (@fid)

    Thanks Claudio. Do you think is there a workaround for this right now without creating a coupon?

    By the way, I’m amjad0 on github ??

    Plugin Contributor Claudio Sanches

    (@claudiosanches)

    For now I’m using a negative fee, that is pretty bad, since don’t have support in many payment gateways. I do it in this plugin: https://www.ads-software.com/plugins/woocommerce-payment-discounts/
    That’s the reason why I want this on core ??

    Thread Starter fid

    (@fid)

    lol, I tried that too but definitely not a pretty workaround. For now what I do is, I send the discount amount as an order meta custom field and send the discounted total amount via the API. Not pretty but have to make it work somehow. I then display these custom fields using hooks in the order information.

    Would love to have a core funtionality that does it though!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[API] Add Custom discounts instead of Coupons only’ is closed to new replies.