Skip to content

admin

Auto Added by WPeMatico

How to add Custom JS in admin side?

I want to add custom JS on product edit page in admin side. After doing some R&D, i found a solution but that didn’t work. What I have done so far, app/code/Vendor/Module/view/adminhtml/layout/catalog_product_bundling_tags.xml <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” layout=”admin-2columns-left” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <head> <script… Read More »How to add Custom JS in admin side?

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