Buy x get y logic in Sales Invoice
||May 1, 2020
I want to customize sales invoices items, with a custom logic of buy x get y discounts.
What we'll do is, we check the checkbox in item child table "is_buyx_gety_item", and enter qty of x and y and enter discount code, one discount code can have only one combination of x and y like buy 2 get 1.
what you need to do is, if buy x and get y is condition is fulfilled, then it find the lowest price item among them, and apply the discount equally in both item.
Please read carefully and contact if you have done similar job or have much experience to this.
You must register and login to view contact details
Post a New Job