New answers tagged

0

With below code you can override CreditmemoSender.php file Step 1: Create di.xml file PackageName/Module/etc/ <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Magento\...


0

The directory path of your module is wrong. It should be Schraubermarkt/Sales/Model/Order/Pdf/CustomInvoice.php Schraubermarkt/Sales/etc/di.xml Schraubermarkt/Sales/etc/module.xml Schraubermarkt/Sales/registration.php instead of schraubermarkt/module-sales


1

This cannot be done using a custom module as the file is theme specific. if you update your theme etc/view.xml and include the additional elements this should create the additional required images you need


0

You're overriding a Plugin so will need to disable or overwrite the Mageplaza one in the module di.xml <type name="Mageplaza\LazyLoading\Plugin\Model\Template\Filter"> <plugin name="filter" disabled="true" /> <plugin name="mysite_filter" type="MySite\LazyLoading\Plugin\Model\Template\Filter&...


1

As per Magento documentation you need to put the layout file under "layout/override/base". Try this example ( tested on Magento ver. 2.3.5) <theme_dir>/Smile_ElasticsuiteCatalog/layout/override/base/catalog_category_view_type_layered.xml will override vendor/smile/elasticsuite/src/module-elasticsuite-catalog/view/frontend/layout/...


1

please try:- override view.xml in your theme path:- app/design/adminhtml/Vander/your-them/etc/view.xml


Top 50 recent answers are included