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): MagentoCatalogModelResourceModelProduct->_afterSave(Object(MagentoCatalogModelProductInterceptor)) #3 /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/generated/code/Magento/Catalog/Model/ResourceMod in /chroot/home/aa8492ec/018d4ad51c.nxcli.net/html/vendor/magento/module-catalog/Model/ResourceModel/Product.php on line 350 Any help […]
Magento1
I want to display the product with the Image and the Price with the Product Name in the search bar while Searching in the Search bar.
I have created one UiComponent form using one datasource. Now i want to add the custom field inside this form but this field data will come from separate collection. So how can i use the different source for this new field? Any suggestions? Thanks
For example: The css classes applied to primary buttons are .primary and .action I know that because I inspected the element on a live page. I want to find the css classes applied to buttons with icons but I don’t have one on my page. How can I tell what […]
I have an issue ; Deprecated Functionality: explode(): Passing null to parameter #2 ($string). Can you please help? public function getEnabled() { return $this->_dataHelper->getEnabled(); } public function getRenderableAttributes() { if (!$this->getEnabled()) { return []; } $attributeCode = $this->_dataHelper->getAttributeCode(); $product = $this->getProduct(); $selectedFeaturesRaw = $product->getData($attributeCode); $selectedFeaturesSplit = explode(',', $selectedFeaturesRaw); $attr = […]
How can a developer prioritize a plugin’s execution, if possible? A. The developer can use sortOrder property by specifying a higher value than the target plugin. B. This cannot be achieved as the plugins are always executed by their module’s load order in app/etc/config.php file C. The developer can use […]
‘system’ attribute property tells if attribute is system defined or not. ‘user_defined’ attribute property tells if attribute is custom (define by developer) or not. It means, if ‘system’=0, the attribute is ‘user_defined’ and vice versa. So why Magento 2 uses two property (system, user_defined) for the same reason ? If […]
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. All rights reserved. * See COPYING.txt for license details. */ […]
I’m trying to export all products in my catalog on Magento and I have over 1k products in the catalog. On the export section with 0 filters applied it only shows 77 records. Running Magento ver 2.2.6 Export Screen: Entity Type: Products Export File Format: CSV Fields Enclosure: Unchecked Entity […]