Tổng Bài đăng: 8 Karma: 40 Đã tham gia: 10/08/2009 Vị trí: Belgium Hello, Is it possible to give a discount based on the total price? Whe a customer orders above 100 euro, he gets a discount of 10 euro for example. I didn't find this in the documentation, so I guess it is not included in nopCommerce yet. Unless I overlooked it. Is it hard to implement it? Regards, Jurgen
Tổng Bài đăng: 585 Karma: 3231 Đã tham gia: 14/06/2009 Vị trí: New Zealand No this is not avaliable (from what I can see either). Unforunately there doesn't look to be a Discount Provider you can hook into either. I'm sure you could get this done with relatively ease if you a developer and had some time on your hands.
Tổng Bài đăng: 8 Karma: 40 Đã tham gia: 10/08/2009 Vị trí: Belgium Yes, I did found my way in the code to inject a custom piece of code. Thanks.
Tổng Bài đăng: 585 Karma: 3231 Đã tham gia: 14/06/2009 Vị trí: New Zealand Maybe you could explain what you did in case anyone else is looking for the same thing??
Tổng Bài đăng: 8 Karma: 40 Đã tham gia: 10/08/2009 Vị trí: Belgium Off course, but it is maybe not the most elegant solution... On the ShoppinCartManager.cs code file, function GetOrderDiscount, I've added just before the return: if (orderSubTotal - SubTotalDiscount > 100) { SubTotalDiscount += 10; }