Frappe Cloud Support Partners Foundation

Pricing rule on Product promotion

when customer buy product ABC with qty of 9 to 17 he gets a product ABC with qty 1 and if he is buying 18 to 26 he gets 2 qty of ABC.

like BUY 9 GET 1 and its multiple.Any help would be appreciated.
Thank you