Author Topic: Remove "Recent Status Changes" on Order page?  (Read 92 times)

mailblade

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
Remove "Recent Status Changes" on Order page?
« 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

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2625
  • VirtueMart Version: 3.2.5
Re: Remove "Recent Status Changes" on Order page?
« Reply #1 on: November 13, 2017, 18:54:41 pm »
Create an override for this page


views\orders.php

remove the tab array

Code: [Select]
<?php

$tabarray = array();

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

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



Replace with

Code: [Select]
    <?php echo $this->loadTemplate('items'); ?>


regards
A

Joomla 3.8.2
php 5.6 + php 7

mailblade

  • Jr. Member
  • **
  • Posts: 56
  • A beginner
Re: Remove "Recent Status Changes" on Order page?
« Reply #2 on: November 14, 2017, 06:46:22 am »
Thanks a lot mate appreciate it!

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2625
  • VirtueMart Version: 3.2.5
Re: Remove "Recent Status Changes" on Order page?
« Reply #3 on: November 14, 2017, 09:43:57 am »
You are very welcome  :)
regards
A

Joomla 3.8.2
php 5.6 + php 7