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().
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | invoice_uc_price.patch | 2.91 KB | Island Usurper |
| #1 | 478426.uc_price_updates.2.x.patch | 2.71 KB | cha0s |
Comments
Comment #1
cha0s commentedChanged that (with a context logic correction) and a couple of examples in the hook docs.
Comment #2
Island Usurper commentedI noticed that the revisions weren't in the $context either, and the first 'location' looked like a mistake. Here's those fixes as well.
Comment #3
Island Usurper commentedOK, it works. Committed.