Abraka Posted December 14, 2013 Share Posted December 14, 2013 Hello everybody, my problem is the overburdening method of discount rule creation at several parameters. Is there any faster way (modules, etc.) to create really lot of rules? Is it possible to prevent the accumulation of discounts? Here is the exact job I need to do at a bookstore: Discount groups: 1. guests and normal members: 0% basic 2. institutes: 10% basic 3. club members: 20% basic Discount parameter one: every year of publishing means n*10% discount: 1. 2013-2012: 10% 2. 2011-2010: 20% and so on till the maximum 50% (it means 5 different types). But the 2. and 3. group (institutes/club members) basic discount shall NOT to add to these discounts, which means every group shall get the same (or if the basic is higher than that) discount percentage (i.e. if a book was published in 2011 it gives 20% discount to all three groups, and the club members don't get a total 40%!)The main problem starts here: Discount parameter two: not every, just some book categories are discounted (total 8) Discount parameter three: not every, just some exact publishers are discounted (total 10). So, now I would had to create 5*8*10 (every goup except the institutes and club members) + 4*8*10 (institutes) + 3*8*10 (club members) discount rule, which is insane and impossible to create manually without fails in an acceptable time.Because it means 400 + 320 + 240 = 960 different discount rules!It's easier to give discount item by item, which is unacceptable because a massive amount of books.So have you any advise how to solve it?I would love to have a simple way:In one discount rule the AND and OR function together HELP please! Link to comment Share on other sites More sharing options...
Abraka Posted December 15, 2013 Author Share Posted December 15, 2013 The current system, as far as I know, works as the following (with the above mentioned criterias):1. 10% discount if 1. publishing year: 2011AND2. publisher: XYZ AND 3. category: non-fiction OR 2. 10% discount if 1. publishing year: 2011AND2. publisher: XYZ AND 3. category: yound adult OR ...960. 50% discount if...It simply couldn't be, would make the whole admin side a messWhat I (and anybody with the same problem) need:1. 10% discount if1. Publishing year: 2011 OR 2010AND2. Publisher: XYZ OR ZYX OR YXZ OR ABC OR...AND3. Category: Young Adult OR Non-fiction OR Short stories OR...OR2. 20% discount if1. Publishing year: 2009 OR 2008AND2. Publisher: XYZ OR ZYX OR YXZ OR ABC OR...AND3. Category: Young Adult OR Non-fiction OR Short stories OR... Than it would be say 7 or 8 cart rules. Instead of 960!Technically I need a discount module where the OR could be implemented in the selected rule next to the AND. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now