Apply discount to Least expense product
ravikanth | November 13, 2008“Buy X products, get a product free” is one of the discount type supported by commerce server. So, whenever user checkouts some products, he will get 100% discount one product. For example, the user added first product of 10$, second product of 20$ and third product of 30$ into basket and initiated checkout process then he will get discount of 30$.
By default, commerce server total pipeline is configured to provide discounts to most expensive product. If you want to give discount to least expensive product then perform following steps
Open commerce server pipeline editor.
Open “Basket” Pipeline
Right click on “OrderDiscount” and select properties.
Select “Least expensive first” option from the dropdown and press ok button (as shown below).