Project the image gallery to front(150%) without using extra images(while making responsive)

While we are making a site responsive, we can make too many alterations especially while making image gallery responsive. My requirement was to make each of the image project 150% to the front in small devices. One image should occupy the entire row and next image after the other. The cod used here to change… Continue reading Project the image gallery to front(150%) without using extra images(while making responsive)

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