Disclaimer: my understanding of Ubercart isn't good enough to tell if adding a price handler (http://drupal.org/node/619386) would solve this issue; feel free to mark as duplicate, in case.
I need to show the original sell_price along with the role-based one.
In uc_price_per_role_nodeapi the original price disappears. I think a quick workaround is to add something to the $node/product object that wouldn't break anything else and would be available for those interested.
Here's a patch. Simply adds $node->roleindependent_sell_price to the $node object at node_load. It applies to the dev version, though I only tested it on the release. A little documentation of the new value would also be a fair complement.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | uc_price_per_role-788258.patch | 426 bytes | pinolo |
Comments
Comment #1
webmystery commentedI agree. When I am logged in as a user in the manager role I see only my discounted price. The manager is responsible for running the web site and once the discount is applied we cannot see what the regular price is - it doesn't even show when we edit the order unless the price per role discount is removed. I don't want to have to log in a two different user to perform different functions to work around this.
Comment #2
mrsimonelliott commentedHi Pinolo,
Can you add your patch pease.
thks
Comment #3
gengel commented+1
Comment #4
pinoloSorry everyone! Somthing ate my patch. Here it is.
Comment #5
longwaveCommitted, thanks.