J! 2.5.14
VM 2.0.24
VirtueMart Shopping Cart module 2.0.24
with Options Show product price set to Yes
When the first product is added to the cart the 'billTotal' is not shown in the Ajax cart - see screenshot 1
If the page is refreshed (or another product is added) the the 'billTotal' is shown correctly - see screenshot 2
In the cart default.php at line 46
<?php if ($data->totalProduct and $show_price and $currencyDisplay->_priceConfig['salesPrice'][0]) { ?>
<div class="total" style="float: right;">
<?php echo $data->billTotal; ?>
</div>
$data->totalProduct is 0 before the refresh and 1 after
Is this some kind of Ajax timing problem?
[attachment cleanup by admin]
Probably some JavaScript conflict. Try js debugging.
I should have said that this occurs in a clean install of Joomla! 2.5.14 and VM 2.0.24 with sample data but no additional extensions.
There are no errors in the Chrome browser console.
Any pointers as to which js code I should investigate?
Did you resolve this?
No not sorted, problem still exists in VM 2.6.18
But in VM 3.0.8 total shows immediately item added to cart