Dear TrickyBug,
Let's first try to rephrase your shipping costs in a way that can be directly implemented. Please tell me if I misunderstood anything in your descriptions:
- If any products from categories 1 or 2 are bought, shipping is 23 (for the first article) + 12 for each additional article from categories 1 and 2; Articles from categories 3 and 4 are completely ignored
- If no products from categories 1 or 2 are bought, shipping is 10 (for the first article) + 2 for each additional article from categories 3 and for.
This can be directly written as a ruleset:
Comment="Cats 1/2 bought => ignore cats 3 &4"; Condition=contains_any(Categories, 1,2); Shipping=11 + 12*evaluate_for_categories(Articles, 1,2)
Comment="No Cat 1 or 2!"; Shipping=8 + 2*evaluate_for_categories(Articles, 3,4)
Please note that instead of " 23 for the first article and 12 for each further article", I used the equivalent formulation "11 fixed plus 12 for each article bought".
Best reagards,
Reinhold