Active
Project:
Ubercart Ajax Attribute Calculations
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2011 at 09:50 UTC
Updated:
19 Aug 2011 at 09:50 UTC
I'm using the uc_vat module (http://drupal.org/project/uc_vat) , and i enter the price of a product including VAT.
I made a custom node-product.tpl.php.
This is the code that's displaying the price:
<div id="node-<?php print $node->nid; ?>">
<div class="product-info product display">
<span class="uc-price-product uc-price-display uc-price"><?php print uc_currency_format($node->sell_price); ?></span>
</div>
</div>
When i view a product, the first second it displays the price excluding vat, and after a second it changes to the price including vat.
So it flashes from excluding to including within a little seccond.
This is very confusing for the customer while it first show a smaller price and then it changes.
When i delete the node-product.tpl.php everything is working fine.
So what could be wrong with the code?
Thanx