In order to control how an option price prints to help with themeing e.g. "Option, £4.00" into "Option, £4.000" you have to alter core ubercart.

Would be great if you didn't have to. Not sure is using a t() string is best here, or a theme function.

Comments

tr’s picture

Version: 6.x-2.4 » 7.x-3.x-dev
Component: Code » Products
Issue tags: +Ubercart theme layer, +Novice

New features will go into 7.x-3.x first.

Anyone want to provide a patch for this?

wodenx’s picture

I think this is already fixed in 7.x - I believe there is now a theme_uc_attribute_option().

tr’s picture

Status: Active » Closed (duplicate)

@wodenx: Yes, you're right. That was fixed in 7.x-3.x in #1376724: Refactor _uc_attribute_alter_form(). Marking this current issue as a duplicate, and marking that other as "to be ported".