<legend><?php echo JText::_('QTC_STORE_CUSTOMER_DETAIL'); ?> </legend> <?php } ?> <?php /* if user is on payment layout and log out at that time undefined order is is found in such condition send to home page or provide error msg */ // Dont allow to display is user in not autorize $helperobj = new comquick2cartHelper(); $result = $helperobj->getStoreOrdereAuthorization($this->store_id, $this->orderid); $result = !empty($result) ? 1 : 0; if (empty($this->store_authorize) || $result == 0) { ?> <div class="well" > <div class="alert alert-error"> <span ><?php echo JText::_('QTC_NOT_AUTHORIZED_USER'); ?> </span> </div> </div> </div> <?php return false; }