Skip to content

magento2.3

Auto Added by WPeMatico

Should I change the Vendor file in magento ver 2.3.5 p2 for customization in sales order view page

I’ve to show the product thumbnail image in Admin order overview page in Magento 2.3.2P2 I am looking to customize default.phtml file of vendor module. /vendor/magento/module-sales/view/adminhtml/templates/order/view/items/renderer/default.phptml my required code is as below – <?php /** * Copyright © Magento, Inc.… Read More »Should I change the Vendor file in magento ver 2.3.5 p2 for customization in sales order view page

Use Custom Module collection in other custom Module magento 2

I want collection of one module in other module. I am doing it like use TestCompanyAddressesModelCompanyAddressFactory; class ReformatTelephoneField implements DataPatchInterface { protected $companyAddressFactory; /** * @param CompanyAddressFactory $companyAddressFactory */ public function __construct( CompanyAddressFactory $companyAddressFactory ) { $this->companyAddressFactory = $companyAddressFactory; }… Read More »Use Custom Module collection in other custom Module magento 2