Magento 2 attribute value is empty (or must be set). Set the attribute and try again.

The “Attribute_name” attribute value is empty. Set the attribute and try again or The value of attribute “is_new” must be set error may happen when you create a new configurable product or migrating from Magento 1 to Magento 2, or after you import products. Some sample error message you may see: The “Is New” attribute value is empty.… Continue reading Magento 2 attribute value is empty (or must be set). Set the attribute and try again.

Adding a Plugin to call before customer API

sometimes when we need to modify the last name or first name after the API call to the website we may create a plugin to interrupt the call and modify the data before creating on the website create a di.xml file inside etc in a vendor modulelocation vendor/module/etc/webapi_rest/di.xml plugin location Vendor/module/plugin here done an example… Continue reading Adding a Plugin to call before customer API

What is a Lottie animation?

A Lottie is a JSON-based animation file format that allows you to ship animations on any platform as easily as shipping static assets. They are small files that work on any device and can scale up or down without pixelation. LottieFiles lets you create, edit, test, collaborate on, and ship a Lottie in the easiest way… Continue reading What is a Lottie animation?

Published
Categorized as Magento

What is Window.requestAnimationFrame() in JavaScript?

The window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser calls a specified function to update an animation before the next repaint. The method takes a callback as an argument to be invoked before the repaint. Example: In this example, an element is animated for 2 seconds (2000… Continue reading What is Window.requestAnimationFrame() in JavaScript?

Published
Categorized as Magento

viewport

Not all devices are the same width; you should make sure that your pages work well in a large variation of screen sizes and orientations. The viewport is the user’s visible area of a web page. The viewport varies with the device, and will be smaller on a mobile phone than on a computer screen.… Continue reading viewport

Published
Categorized as Magento