VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: rustle on January 26, 2017, 16:31:50 PM

Title: Looking to NOT display order item & order history in tabs - front end order view
Post by: rustle on January 26, 2017, 16:31:50 PM
Hi Guys
I need help with calling  the order item & order history in separate div's as opposed to the current tab system... is this possible?

I can see the call for the tabs in the front end, but I am unsure of the syntax to call both the order items & order hisrtory separately

Please help fellow virtuemarters 8)

<div class="spaceStyle vm-orders-items">
   <?php

      $tabarray = array();

      $tabarray['items'] = 'COM_VIRTUEMART_ORDER_ITEM';
      $tabarray['history'] = 'COM_VIRTUEMART_ORDER_HISTORY';
               
      shopFunctionsF::buildTabs ( $this, $tabarray); ?>
               
</div>
Title: Re: Looking to NOT display order item & order history in tabs - front end order view
Post by: rustle on January 26, 2017, 21:51:18 PM
oops forgot to mention
j3.6.5
VM 3.0.18
Title: Re: Looking to NOT display order item & order history in tabs - front end order view
Post by: rustle on February 05, 2017, 22:29:29 PM
SOLVED

To call the  order history in the front end
<?php echo $this->loadTemplate('history'); ?>

To call the  order items in the front end
<?php echo $this->loadTemplate('items'); ?>

To call the order the front end
<?php echo $this->loadTemplate('order'); ?>