Skip to content

admin

Auto Added by WPeMatico

sales by payment type reports display in dashboard in magento 2

Block-> <?php namespace Block; use MagentoPaymentApiPaymentMethodListInterface; class AllPayment extends MagentoFrameworkViewElementTemplate { protected $_paymentConfig; protected $_scopeConfigInterface; public function __construct( MagentoBackendBlockTemplateContext $context, MagentoPaymentModelConfig $paymentConfig, MagentoFrameworkAppConfigScopeConfigInterface $scopeConfigInterface, array $data = [] ) { $this->_paymentConfig = $paymentConfig; $this->_scopeConfigInterface = $scopeConfigInterface; parent::__construct($context, $data); } public… Read More »sales by payment type reports display in dashboard in magento 2

Can’t access terms and condition from amdin panel

I try to access terms and condition from admin panel but I get the following error Error: Cannot instantiate interface MagentoCatalogModelLayerFilterableAttributeListInterface in /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50 how can I debug this kind of errors ?

Magento 2.3: Error on admin product save after changing attribute set

I am getting this error after I change the attribute set and save the product: Fatal error: Uncaught Error: Call to a member function getBackendTable() on boolean in /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-catalog/Model/ResourceModel/Product.php:350 Stack trace: #0 /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-catalog/Model/ResourceModel/Product.php(331): MagentoCatalogModelResourceModelProduct->deleteSelectedEntityAttributeRows(Object(MagentoCatalogModelProductInterceptor), Array) #1 /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-catalog/Model/ResourceModel/Product.php(304): MagentoCatalogModelResourceModelProduct->removeNotInSetAttributeValues(Object(MagentoCatalogModelProductInterceptor)) #2 /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1942):… Read More »Magento 2.3: Error on admin product save after changing attribute set

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