QUOTE(alexng2208 @ Nov 18 2015, 09:38 AM)
can add function for :
i wanna buy an item costing RM_________. and the best discount in absolute amount.
actually I've thought of this last night too
QUOTE(AmeiN @ Nov 18 2015, 10:37 AM)
Took longer than I thought thanks to some complications
Lazada Best Voucher PickerLink:
http://lazada.programmerjokes.com/So just put the amount that you will buy and click submit then it will show the vouchercode with the best savings.
1st result is the one with the best savingsI am showing all of it sorted by the most saving voucher because:
1. Some are time use only and you've used it so you need the next alternative
2. Some are limited to certain category of goods(like food, electronics, n etc)
3. Some are for first time customers
Anyway, test it out and tell me if you found any mistakes in the calculations
btw, I didn't show the amount after savings which is:
your amount - savings = total payable amount
This post has been edited by wcypierre: Nov 18 2015, 02:42 PM