thanks for this module, greatly appreciated! It's working fine, even the taxing of the line items.. Marvellous! ... one question on custome tpl: I' using prices inclusive vat which is working in $content but not if I'm using <?=uc_currency_format($node->sell_price)?> . What do I have to pull instead?
Comments
Comment #1
nchase commentedwow, no one?
Comment #2
longwaveYou need to use uc_price() with a correct context - probably type 'product' - and ensure that you pass the $node object in the context 'subject'. Full documentation for this is being worked on, see http://api.ubercart.org/api/function/uc_price/2 and #449546: uc_price() is a new complicated thing and needs explaining for now.