I would like to see the ability to provide additional prices for a products based on the role of the user account.

For example:

1. authenticated user would see $10 for a product.
2. wholesaler user would see $4 for a product.

This way, one can have resellers or wholesalers purchasing products based on the prices they are authorized for.

CommentFileSizeAuthor
#6 role_pricing_1.zip2.96 KBwpd

Comments

shane birley’s picture

Title: Difference Prices Based On Role » Different Prices Based On Role

Of course, I meant: "different prices based on role".

Ludwig’s picture

I agree. I would be REALLY HAPPY to see this feature.
This would make the e-commerce side of drupal as useful as most other CMS systems shop systems.

gordon’s picture

This can be done now, but only at the global level.

see administer > store > settings > payment > adjectment.

wpd’s picture

Price based on role was on of the out of the box features that I really liked about VirtueMart/mambo-phpshop.

I think the most common complex pricing scheme is retail/wholesale with quantity breaks.
For example:
Widget A:
Qty 1: Retail $5 Wholesale: $4
Qty > 10: Retail $4.50 Wholesale: $3.25
Qty > 100: Retail: N/A Wholesale: $3.00

There may be other pricing schemes where you tiered-levels of customers, but I think that is just an extension of the above.

Things to think about for implementing this:

  • Do you REQUIRE a separate set of prices for each role?
    Probably not, but how do you identify which price gets precedence? A user will likely be both a 'wholesale customer' and an 'authenticated user'.
  • If a wholesale price does not exist does that mean the retail price applies?
  • The tax module would have to modified to deal with different roles. Wholesale customers are generally tax exempt (at least in the US).
  • Specials or sales have to be defined for each price level.
  • In general, business 2 business sites need to gather different data: company name, tax id, purchase order#, etc

What else?

wpd’s picture

This is related, but not the same as this issue:
http://drupal.org/node/62097

This code provides this functionality:
http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/recidive/

wpd’s picture

Version: master » 4.7.x-1.x-dev
Component: other » -- other --
Status: Active » Needs review
StatusFileSize
new2.96 KB

Here is a module tentatively called role_pricing.
It adds the ability to supply a role based discount for each product and allows for multple roles to have a discount.
It is written for 4.7 because I am going to deploy it on a 4.7 site.

Originally, I wanted to allow prices instead of discounts (i.e. deltas), but I could not figure out how to do it.

Do NOT use this on a real site! It is still in the very early days.

wpd’s picture

The version posted has the function role_pricing_view commented out. You need to remove the comments for the module to work.

sime’s picture

Component: -- other -- » new module

fixing component

brmassa’s picture

Version: 4.7.x-1.x-dev » 5.x-3.x-dev
Status: Needs review » Fixed

Guys,

on v3, there is a module called role_discount.

regards,

massa

Anonymous’s picture

Status: Fixed » Closed (fixed)