cancel
Showing results for 
Search instead for 
Did you mean: 

change existing fuctionality of processing,packaging button order view page in admin

change existing fuctionality of processing,packaging button order view page in admin

Earlier i have added new buttons(dispatch,delivered) to order view page in admin panel but now i would like to change existing functionality of processing,packaging button or else if removed those button that is also fine for me but unable to change/delete buttons. Please help me on this ASAP.

 

processing button link on html page:

<button id="order-shipp" title="Processing" type="button" class="action-default scalable custom-button" onclick="setLocation('http://127.0.0.1/dnourm2/admin/changestatus/ohgod/index/order_id/50/')" data-ui-id="paypal-order-view-order-shipp-button">
<span>Processing</span>
</button>

 

To remove/update button i used below plugin code

1. $buttonList->remove('order-shipp');

2. $buttonList->update('order-shipp', 'class', 'edit');

 

Above code not working anyone please guide me on this.