Active
Project:
Ubercart Price Per Role
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2010 at 14:54 UTC
Updated:
23 Oct 2010 at 21:47 UTC
If a user has multiple roles, I'd like from them to see each of those prices, with the weight set in the price per role settings still determining which price they actually pay. Is there any way to do this?
Comments
Comment #1
fenstratThis would be possible however you'll need to implement a custom module or theme override to output the multiple prices. You can access all role prices for a product node with $node->role_prices, you'd need to look through the current users roles then output any corresponding role prices from $node->role_prices.
Comment #2
longwaveImplementing this would likely coincide with #602604: change label of price field - alongside "enabled" perhaps there should be a "display" checkbox (or dropdown with "never", "if user has role", "always" options?) that adds selected prices to the node output.