VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: mailblade on November 13, 2017, 16:46:58 PM

Title: Remove "Recent Status Changes" on Order page?
Post by: mailblade on November 13, 2017, 16:46:58 PM
Good day

The title says it all really. Once you've confirmed an order and click on the "VIEW ORDER" button, the order page has a "<ul id="tabs">" just below the shipping/billing address.

How can I only remove the "Recent Status Changes"?

Latest VM
Joomla 3.6
Title: Re: Remove "Recent Status Changes" on Order page?
Post by: AH on November 13, 2017, 18:54:41 PM
Create an override for this page


views\orders.php

remove the tab array


<?php

$tabarray = array();

$tabarray['items'] = 'COM_VIRTUEMART_ORDER_ITEM';
$tabarray['history'] = 'COM_VIRTUEMART_ORDER_HISTORY';

shopFunctionsF::buildTabs $this$tabarray); ?>




Replace with


    <?php echo $this->loadTemplate('items'); ?>



Title: Re: Remove "Recent Status Changes" on Order page?
Post by: mailblade on November 14, 2017, 06:46:22 AM
Thanks a lot mate appreciate it!
Title: Re: Remove "Recent Status Changes" on Order page?
Post by: AH on November 14, 2017, 09:43:57 AM
You are very welcome  :)