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

halloffame’s picture

Hello?

halloffame’s picture

Category: support » bug