I'm using a node checkout form for event registration with uc_price_per_role. It (node) references a product (event) and its options to determine price (full event, day one, day two ..etc). The proper option prices are displayed on the product page (of course), but default prices are displayed on the application (node checkout) form. The correct role price is used upon registration and displayed in the shopping cart, however, so this is purely a display issue.

Fixed in attached patch.

CommentFileSizeAuthor
uc_attribute_per_role.patch1.15 KBngstigator

Comments

longwave’s picture

I suspect this won't get committed to Ubercart core, but maybe could be reworked into a hook_form_alter implementation in uc_price_per_role itself to override the prices that uc_attribute has previously set.

longwave’s picture

Project: Ubercart » Ubercart Price Per Role
Version: 6.x-2.4 » 6.x-1.x-dev
Component: Module integration » Code

Moving to uc_price_per_role queue.