VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: sealion on May 06, 2015, 15:01:57 PM

Title: Minor error in the orders list template
Post by: sealion on May 06, 2015, 15:01:57 PM
There is a small  error in components/com_virtuemart/views/orders/tmpl/list.php

where you have

if (count($this->orderlist) == 0) {
//echo vmText::_('COM_VIRTUEMART_ACC_NO_ORDER');
echo shopFunctionsF::getLoginForm(false,true);
} else {


it should be

if (count($this->orderlist) == 0) {
//echo vmText::_('COM_VIRTUEMART_ACC_NO_ORDER');
echo shopFunctionsF::getLoginForm(false,true);
?>
</div>
</div>   
     <?
} else {


it's a small thing, but the lack of closing </div> tags creates a problem with the html which can create a problem with the display, depending on the template.
Title: Re: Minor error in the orders list template
Post by: Milbo on May 06, 2015, 15:05:58 PM
confirmed, thx