zanpo Posted March 2, 2017 Share Posted March 2, 2017 Hello, I am on PS 1.6.1.9 and trying to add the previous and next buttons in the page_header_toolbar.tpl, and also add the green markup when an order has the "gift wrapping" option added, but none of the buttons seem to work, they are grayed out and don't do nothing, also you can see that the order number is not displayed also. I just copied the code from admindirectory/themes/default/template/controllers/orders/helpers/view/view.tpl like this: <i class="icon-credit-card"></i> {l s='Order'} <span class="badge">{$order->reference}</span> <span class="badge">{l s="#"}{$order->id}</span> <div class="panel-heading-action"> <div class="btn-group"> <a class="btn btn-default{if !$previousOrder} disabled{/if}" href="{$link->getAdminLink('AdminOrders')|escape:'html':'UTF-8'}&vieworder&id_order={$previousOrder|intval}"> <i class="icon-backward"></i> </a> <a class="btn btn-default{if !$nextOrder} disabled{/if}" href="{$link->getAdminLink('AdminOrders')|escape:'html':'UTF-8'}&vieworder&id_order={$nextOrder|intval}"> <i class="icon-forward"></i> </a> </div> </div> and put it inside: admindirectory/themes/default/template/page_header_toolbar.tpl What am I missing? thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now