magento2

How to keep the customer custom attribute filled in case of validation error Magento 2

ZendClient class is deprecated in Magento version 2.4.6

3 years ago
After upgrading to Magento version 2.4.6, many times we get an error of ZendClient class is deprecated like the following screenshot: 1 exception(s): Exception #0 (Exception): User Deprecated Functionality: Class is deprecated in /var/www/html/vendor/magento/framework/HTTP/ZendClient.php on line 27 Exception #0 (Exception): User Deprecated Functionality: Class is deprecated in /var/www/html/vendor/magento/framework/HTTP/ZendClient.php on line 27 <pre>#1 trigger_error() called at […]
Read More

Create Custom Js Component – Magento2

3 years ago
To create a custom Js component we need to create the below file as per folder structure. first, we create our test-component.js(view/web/js/test-component.js) file, define([ 'jquery', 'uiComponent', 'ko' ], function ($, Component, ko) { 'use strict'; let testComponent = Component.extend({ self: this, defaults: { template: 'Mage2_CustomRouter/test' }, initialize: function () { let self = this; this._super(); […]
Read More

Create custom product link type in Magento 2: Part 3

3 years ago
How to add products to a custom product link type grid in Magento 2? The dataprovider is set to $scope . '_product_listing' in vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Related.php – getGrid($scope) function, we need to create UI component like, so as per our example the custom link type code is ‘parts’ we need to create parts_product_listing.xml UI component. File Path: […]
Read More

Create your account

chatsimple