Forums / Developer / Different prices for different user groups

Different prices for different user groups

Author Message

Eirik Alfstad Johansen

Wednesday 13 October 2004 3:20:56 am

Hi,

I have a potential client who needs to be able to present different product prices depending on which user group the user belongs to. My first idea was to make two attributes in the product class based on the ezprice datatype, and then manually select one when adding and updating the shopping cart. However, this would envolve modifying the kernel, so I was wondering if anyone has another idea. Perhaps someone has done something similar before?

Thanks in advance !

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eirik Alfstad Johansen

Tuesday 19 October 2004 1:27:57 am

Bump.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Wenyue Yu

Tuesday 19 October 2004 2:29:56 am

Hi,

Is it possible to use "Discount" achieving your result?

Example:
1. Go to shop/Discount and make a group 'G1".
2. Go to group "G1" and add a rule "rule1" which might specify having 12% discount of product X to these discount group.
3. Adding user groups to these discount group.

Then if the price for other groups is 100 kr, the discount group will get 88 kr.

Regards,
wenyue

frank dege

Tuesday 19 October 2004 3:18:20 am

hi erik,

we had a similar problem. discount-groups doesn´t fit the needs of our customer, because the prices are not calculatet by discount rules. the basket-module of ez also takes the first element of the class, which has the datatype "Price" and takes that price out of the product-object.

we implemented an extension. the extension provides some "basket" functions like adding one or more articles to the basket. we "copied" the basket-module to the extension and added some more functions.

frank

Espen Pedersen

Saturday 27 November 2004 4:10:37 am

Frank could you provide me with some more details about how this is done?
Can you do this without "hacking" in the kernel?

-Espen