1

How can I apply the discount for total order in custom order create for the customer?

Note : My discount amount may vary for every order

Is possible?

  • you are creating the order programtically? – Qaisar Satti Feb 6 '18 at 5:36
  • No, manual order creates by admin. – zus Feb 6 '18 at 5:46
  • follow this tutorial excellencemagentoblog.com/blog/2012/01/27/… – Qaisar Satti Feb 6 '18 at 5:51
  • Above link only for fees, not about order discount.. Please correct me if it is. – zus Feb 6 '18 at 6:01
  • 1
    To be honest, no . You want to create an order from backend and want to apply some discount. OK. Have you tried price rules or coupon codes? Please spent some effort before ask. You dont need to be a programmer, but you can try to put it in words to narrow down the solution. – sv3n Feb 8 '18 at 20:45
0

Will the same discount amount be applicable for every order created via admin? If your answer is yes then
1. add a checkbox in the form titled something like - Give discount
2. In observer sales_order_place_after , check the value of this input
3. If set to yes calculate the discount and set it to discount amount

Hope it helps!

|improve this answer|||||
  • No, my discount may vary from each order. – zus Feb 5 '18 at 9:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.