I've written an export tool for some transport provider in the Netherlands, but I am searching for a location to put my button. Ideally I would like to do the following:
Is there any way to edit these screens for custom tooling?
Some context: My goal is to use the 'select and search orders' screen, and give my customer the same UI whether he is searching/deleting/capturing or exporting (with our custom piece).
The UI file is in Umbraco\Plugins\tea-commerce\Views\Orders\SearchOrders.aspx
You can change the UI BUT can't change the behaviour. So you properly have to make your button do an ajax call and send the different parameter from the UI to that method. Then generate the csv and return it.
Or you can make a custom node in the tree and make your entire own UI.
Thanks for your reply; I already thought it was not possible, but it doesn't hurt to ask ;) We will try to implement a new node, which is a nice workaround.
Pulling this off with AJAX is a bit messy I think, because if a TeaCommerce update comes along, our button will disappear.
Extending 'SearchOrders.aspx' in backend
Hi guys,
I've written an export tool for some transport provider in the Netherlands, but I am searching for a location to put my button.
Ideally I would like to do the following:
Is there any way to edit these screens for custom tooling?
Some context: My goal is to use the 'select and search orders' screen, and give my customer the same UI whether he is searching/deleting/capturing or exporting (with our custom piece).
Thanks in advance for your reply,
Kind regards,
Peter Rombouts
Hi Peter
The UI file is in Umbraco\Plugins\tea-commerce\Views\Orders\SearchOrders.aspx
You can change the UI BUT can't change the behaviour. So you properly have to make your button do an ajax call and send the different parameter from the UI to that method. Then generate the csv and return it.
Or you can make a custom node in the tree and make your entire own UI.
Kind regards
Anders
Hi Anders,
Thanks for your reply; I already thought it was not possible, but it doesn't hurt to ask ;)
We will try to implement a new node, which is a nice workaround.
Pulling this off with AJAX is a bit messy I think, because if a TeaCommerce update comes along, our button will disappear.
Kind regards,
Peter Rombouts
is working on a reply...