Active
Project:
Ubercart 2 VAT support
Version:
6.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2011 at 10:54 UTC
Updated:
7 Mar 2012 at 02:12 UTC
VAT inclusive prices are showing correctly on the wish list page when there are no attributes attached to it but when attributes come into play this becomes another story.
Say I have a product worth $100, I'll attach an attribute to it worth $150. I will add this to my wish list but total is showing as $225 instead of $250. I'm a bit short of $25 there which is the VAT (at 20% inclusive) of $150. It is noted that cost and price of attributes are inclusive of VAT. What gives?
Using uc_wishlist with uc_vat module and using the following variables to print the VAT inclusive price on the wish list page.
$context['revision'] = 'altered';
$context['type'] = 'cart_item';
$context['subject'] = array(
'cart' => $contents,
'cart_item' => $item,
'node' => node_load($item->nid),
);
$item->price = uc_price($product->sell_price, $context); I would really appreciate any advice. Thanks.
Comments
Comment #1
halloffame commentedHello?
Comment #2
halloffame commented