As noted in #708434-2: Attributes Pricing in 6? price formatting needs to be updated to use uc_price().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fenstrat’s picture

Status: Active » Needs review
FileSize
6.05 KB

Attached patch implements uc_price().

It also standardises the use of "Default price" when referring to the normal Ubercart sell_price field (rather than "Standard price" as it was called sometimes.

fenstrat’s picture

FileSize
6.06 KB

Updated patch - only change is to add array_filter() when checking if the uc_price_per_role_enabled variable is empty.

fenstrat’s picture

FileSize
6.2 KB

Hmm, always test patches no matter how trivial the change!

Attached is the correct fix for checking for the empty uc_price_per_role_enabled variable.

longwave’s picture

Status: Needs review » Fixed

Committed with a minor change to hook_uninstall, thanks.

fenstrat’s picture

Thanks longwave.

Status: Fixed » Closed (fixed)

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