Price per role is being managed per node so far.
It means that price must be set every node. If "uc_attribute" is used on the node/product. Prices per role on those options must be set on "node/%node/edit/option_prices" page for every node.
This behaviour is not user-friendly, mainly if the same price per role should be used on all products.
Implementing defaults for option prices per role makes the workflow much nicer and standard-like.
Default prices for options are being set on page: "admin/store/products/classes/%uc_product_class/options", so I suggest to administer/manage the options default prices per role on the same page.
Comment | File | Size | Author |
---|---|---|---|
#4 | uc_price_per_role_default_option_prices-2696543-4.patch | 802 bytes | dabbor |
#2 | uc_price_per_role_default_option_prices-2696543-2.patch | 3.47 KB | dabbor |
Comments
Comment #2
dabbor CreditAttribution: dabbor at Morpht commentedProviding patch with implementation what was mentioned in issue's description.
It works for me nice.
Comment #3
dabbor CreditAttribution: dabbor at Morpht commentedComment #4
dabbor CreditAttribution: dabbor at Morpht commentedAdding new minimalistic patch that adds drupal_alter into function uc_price_per_role_load_option_prices($nid):
This way "options default prices per role" can be managed in custom module and just a minimum change to the "Ubercart Price Per Role" contrib is required.