The theme function theme_uc_product_form_prices() in the product module renders the three core price fields into a table. However, because of its specific rendering, if you add any elements to the prices array, those don't get rendered on the form. I ran into this when creating a reseller price field and had to come up with the attached patch to get my price field to display. It will also accommodate any other modules adding fields to this array, even if it doesn't really theme them.

CommentFileSizeAuthor
uc_product_form_prices.patch448 bytesrszrama

Comments

rszrama’s picture

Status: Active » Needs review
rszrama’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -theme layer

Automatically closed -- issue fixed for 2 weeks with no activity.