Active
Project:
Ubercart 2 VAT support
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2011 at 17:59 UTC
Updated:
15 Aug 2011 at 17:59 UTC
Presently
I am using $node->sell_price = round($sell_price, 2); $sellprice = round($sellprice, 2); print $sellprice; to get the selling price, works fine but for including taxes I used, after reading the documentation $context = array(
'revision' => 'themed',
'type' => 'product',
'class' => array('product', 'sell_price'),
'subject' => array('node' => $node),
);
print uc_price($node->sell_price, $context);
The price displayed is $ 0 Vat not applicable here. Can anyone tell me how to go about fixing this?