Per user discount (& module documentation)

Events happening in the community are now at Drupal community events on www.drupal.org.
jax's picture

Hello,

Is there a ec4 module that allows to assign a discount (% on the listed product price) per user?

Also, here (http://groups.drupal.org/node/17377) is a nice list of all the modules but I can't seem to find a (brief) description of them. Can we document those somewhere?

Comments

ec charge

gordon's picture

Hi,

Yes ec charge will do this without any issues. But just to make sure can you please explain the discount a bit more as I may need to add a componet so that you can build the charge. There is not a UID filter ATM but this is would only be a couple of line of code to implement. There is a role filter so you can create a charge based upon a users role.

Just make sure the charge type is "Product" and it will do what you want.

--
Gordon Heydon

--
Gordon Heydon

The idea is to configure a

jax's picture

The idea is to configure a percent per user (not per role), eg. 5%. When the user isn't logged in (or the discount is set at 0% which is the default) he sees the normal price. When he is logged in you could have two options, either list the default price and his discounted price or only the discounted price. When a product is put into the cart it should also be the discounted product.

Another solution would be to apply a discount at checkout, which might be a whole lot easier.

I have a lead for an e-commerce site that will be needing this so I'm seeing if I'll have to develop it or if it's already there.

If you need it done by user

gordon's picture

If you need it done by user then a filter can be written which will give you a x% discount. But for me this sound like a lot of work, when you could just create a couple of roles for the discount level like 5% discount, 10% discount and then the admin just assigns these manually.

It also means that they do not need access to the store store to edit the charge.

--
Gordon Heydon

--
Gordon Heydon

A x% discount per role, is

jax's picture

A x% discount per role, is that covered with the ec_role module?

No the ec_role module

gordon's picture

No the ec_role module assigns roles upon purchase.

The ec_charge module will allow you to filter by role to create additional charges on the transaction. A charge can also have a negative charge which is also a discount or a credit.

--
Gordon Heydon

--
Gordon Heydon

I have a similar

Hawkcode's picture

I have a similar question?

Wa are an association and want to Charge Members 1 price and Non-members another. SO can there be 2 prices for each product? The prices can't be calculated as they are not all the same discount.

Thanks

Rich

role based prices

stefan81's picture

I am also interested in role based prices.
1 Product, different prices depending on each role:

For example to achieve:
- Role 1: Not buyable
- Role 2: Buyable, price A
- Role 3: Buyable, price C

Would require a price field per role.

e-Commerce Module

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week