I’m working on Magento 2.3.2 and am trying to override a block in adminhtml.
I overrode the template file perfectly fine, but it seems layout updates are being ignored?
This is the class that gets displayed with template hints with block class hints enabled:
The template path shows as my theme.
The theme’s directory for overriding the template is:
Which contains a folder for Block classes, a folder for templates and the last being for layout.
I copied the layout file from the
module-grouped-product folder into my layout folder and made a change:
<block class="VendorModuleBlockFieldsetGrouped" name="product.composite.fieldset.grouped" before="product.composite.fieldset.options" template="Magento_GroupedProduct::catalog/product/composite/fieldset/grouped.phtml" />
If I go to
app/code/Vendor/Module/Block I can see the
FieldsetGrouped class I made. However, after a full
php bin/magento command list, still no changes.
I also copied the Block class into the
Magento_GroupedProduct folder to see if it would work that way and it didn’t seem to make a difference.
The area I’m specifically trying to update is the pop-up you get when clicking “configure” on grouped products when creating an order and adding products:
How do I tell Magento to listen to my xml update?