Hey guys

I'm currently thinking about how to implement an "assorted discount" 
(Assortiert-Rabatt) how our customer calls it.

The idea behind is that their customers get a discount if they buy a certain 
amount of items throughout several products of the same group (grouped by a 
special code).
It's not much more than graduated prices (Staffelpreise).
So if a customer buys 5 different products which 3 of them have the same 
assorted discount code their amount should be accumulated and the resulting 
price should be applied to all products.

I've already added the special code field to oxarticle which get's filled 
properly by the ERP interface.

But what I'm currently looking for is which class and what method(s) to 
overload to get the best result (not recalculating too much but having always 
the right result).

Many thanks
Marc

ORCA Services AG
Herrenmattstrasse 26
CH-4132 Muttenz
Office Basel: Aeschengraben 10, CH-4051 Basel

[email protected]<mailto:[email protected]>
T. +41 61 205 80 80
T. +41 61 205 80 73 (direkt)
F. +41 61 205 80 81

www.orca.ch<http://www.orca.ch>, 
www.orca-services.ch<http://www.orca-services.ch>

"We convert your visitors into customers."

_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to