Jump to content

BO - Add Order - Hide Carts and only show Last Orders


qqlaw

Recommended Posts

 

When I am in BackOffice and I Add Order, i want the Carts tab to be hidden and to only show the Orders tab along with the last order history. 

 

 

In my admin/themes/default/template/controllers/orders/form.tpl i have:



<ul id="old_carts_orders_navtab" class="nav nav-tabs">
    <li style="display:none">
     <a href="#nonOrderedCarts" data-toggle="tab">
      <i class="icon-shopping-cart"></i>
      {l s='Carts'}
     </a>
    </li>
    <li class="active">
     <a href="#lastOrders" data-toggle="tab">
      <i class="icon-credit-card"></i>
      {l s='Orders'}
     </a>
    </li>
   </ul>


This code hides my Carts tab and it only shows the Orders tab. Which is good.

BUT, the table that is showing under the Orders tab is actually the Carts table... anyone has any idea what am i missing here?

 

If this is the Orders table it should actually show the Payment, Total Paid etc...but it showing the Carts table..

post-1308952-0-16387200-1487784664_thumb.jpg

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...