On line 224:

  echo t('(!price each)', array('!price' => uc_currency_format($product->price)));

This should be changed to use uc_price() instead of uc_currency_format().

Comments

cha0s’s picture

Assigned: Unassigned » cha0s
Status: Active » Needs review
StatusFileSize
new2.71 KB

Changed that (with a context logic correction) and a couple of examples in the hook docs.

Island Usurper’s picture

StatusFileSize
new2.91 KB

I noticed that the revisions weren't in the $context either, and the first 'location' looked like a mistake. Here's those fixes as well.

Island Usurper’s picture

Status: Needs review » Fixed

OK, it works. Committed.

Status: Fixed » Closed (fixed)

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