This is a follow up of https://forum.oroinc.com/orocommerce/topic/can-i-add-actions-to-orders-screen.
I’m working through the creation of a new custom action and I’m having a few issues.
For the moment, what’s most important to me is to show a dialog when the action button is clicked (The button is showing correctly) to let the user enter a value I will later use for actually executing the action.
My configuration looks like this:YAML1234frontend_options:template: '@CollectOnDeliveryBundle/Resources/views/customDialogTemplate.html.twig'title: leeway.register_payment.operations.dialog.titleshow_dialog: true
When I click the button, I see that the action is being triggered (There’s a post being made via ajax to http://localhost:8000/admin/ajax/operation/execute/leeway_record_payment_operation?entityClass=Oro\Bundle\OrderBundle\Entity\Order&entityId[id]=8&route=oro_order_view).
The forum ‘OroCommerce’ is closed to new topics and replies.