Skip to content

admin

Auto Added by WPeMatico

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?