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

Category: support » bug
VanessaM’s picture

I am having the same problem.
can someone help.
my qc website is:
http://qc.mytinok.com/wishlist/1

the price noted there is 70.68, but this is the price minus the vat, since when adding to the cart, the correct price appears as 81.99

naveenvalecha’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.