News:

Support the VirtueMart project and become a member

Main Menu

Remove "Recent Status Changes" on Order page?

Started by mailblade, November 13, 2017, 16:46:58 PM

Previous topic - Next topic

mailblade

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

AH

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'); ?>



Regards
A

Joomla 3.10.11
php 8.0

mailblade


AH

Regards
A

Joomla 3.10.11
php 8.0