VM 203G
The default layout of mod_virtuemart_product (with style "div based") incorrectly displays items the second and subsequent series of products:
<div class="vmproduct">
<!-- the first row -->
<div class="product floatleft width50 vertical-separator">...</div>
<div class="product floatleft width50 vertical-separator">...</div>
</div>
<div style='clear:both;'>
<!-- the second row -->
<div class="product floatleft width50 vertical-separator">...</div>
<div class="product floatleft width50 vertical-separator">...</div>
</div>
For a correct displaying (the second row in the div vmproduct) is required to change the template modules/mod_virtuemart_product/tmpl/default.php
from
if ($col == $products_per_row && $products_per_row && $col < $totalProd ) {
echo " </div><div style='clear:both;'>";
$col= 1 ;
to
if ($col == $products_per_row && $products_per_row && $col < $totalProd ) {
echo " <div style='clear:both;'></div>";
$col= 1 ;
Subrelease VirtueMart 2.0.3H: nothing has changed for this topic.
yes same thing here the layout goes beserk after the second row on random refreshes
joomla 1.7.5 & 2.5
VM 2.0.3h