I found it, Basically there is a Block Magento\Sales\Block\Adminhtml\Order\Invoice\Totals.php which extends Magento\Sales\Block\Adminhtml\Totals, so I override this block Magento\Sales\Block\Adminhtml\Order\Invoice\Totals.php
You're close, this is just a path issue on how to override *.phtml files of modules from within a theme. Your current file:
The path should be as follows:
I think in this case adminhtml_sales_order_create_process_item_before is best events.
At this event you can get
$eventData = [
'order_create_model' => $this->_getOrderCreateModel(),
'request_model' => $this->getRequest(),
'session' => $this->_getSession(),
Request params using $observer->...
You just need to replace your construct function with this
class View extends \Magento\Catalog\Block\Category\View
public function __construct(
Sadly there seems to be no possibility to get rid of one of the elements by creating a new sections.xml to delete a previous defined action...
The XSD file for sections.xml is located in
And if you take a deeper look into that file, well, then you will see that there is not any other attribute or tag, that can be used, ...
Further explanation of Mohit Kumar Arora's answer, where he said;
Now the only problem remaining is redirecting to correct URL if
reCaptcha validation fails. Currently, I have redirected to
Note: Keep in mind the answer from Lokesh Rathore also
Create your custom class to redirect to the product page, it is pretty easy but ...
To use a custom implementation of an existing Magento or custom vendor JS component that's not defined in the requirejs-config.js copy the custom component source file to your theme JS files: