Skip to content

admin

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

Add view button in admin grid to open a view page in slide window in Magento 2

I want to create View Slider in Admin For that I’m following This my files are view/admin/ui_component/marketplace_stores.xml <actionsColumn name=”action” class=”AppthaMarketplaceUiComponentListingColumnViewStoreAction”> <argument name=”data” xsi:type=”array”> <item name=”config” xsi:type=”array”> <item name=”bodyTmpl” xsi:type=”string”>ui/grid/cells/html</item> <item name=”viewUrlPath” xsi:type=”string”>marketplaceadmin/grid/view</item> <item name=”urlEntityParamName” xsi:type=”string”>store_id</item> </item> </argument> </actionsColumn> Ui/Component/Listing/Column/ViewStoreAction.php <?php… Read More »Add view button in admin grid to open a view page in slide window in Magento 2

How i can display all available payment methods in multi select dropdown on customer edit page Admin?

I want to display all payment methods in multi select field on customer edit page (Admin From). How it is possibe ? Darshit/ShipByCustomer/view/adminhtml/layout/customer_index_edit.xml <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceBlock name=”customer_form”> <block class=”DarshitShipByCustomerBlockAdminhtmlCustomerEditTabView” name=”disable_payment_method”> <arguments> <argument name=”sort_order” xsi:type=”number”>100</argument> </arguments> </block>… Read More »How i can display all available payment methods in multi select dropdown on customer edit page Admin?

How can i get order data using credit memo plugin in Magento 2?

Here I used the credit memo plugin for updating the order data after refund success so how can I get order data in that function? etc/adminhtml/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”MagentoSalesApiCreditmemoRepositoryInterface”> <plugin name=”add_data_custom” type=”VendorModuleModelPluginCreditmemoAddData”/> </type> plugin file public… Read More »How can i get order data using credit memo plugin in Magento 2?