For a long time, the biggest challenge in responsive design has been serving images correctly for users on different devices. Serving the biggest image available to mobile users is a waste of bandwidth and pagespeed. Fortunately there’s a well-supported solution in the form of the srcset + sizes attribute on the …
When you create a custom ui component is sometimes happens that they don’t get reinitiated after a ajax reload of the content. This post shows you multiple ways to fix this issue.
This post shows you how to add the customer address fields to the customer registration page.
This post shows you how to create an csv file in a Magento 2 controller and return a download response.
In Magento 2 the best way to get a product collection is to use the product repository. Here is an example on how to get a product collection in a block class.
In some cases, i hope not to0 many, you want to get content from a static block in Magento 2. You can use the following code snippet in your block to get the static block info by identifier name.
A little blog on how to use the file-uploader.js uicomponent. Case: Let’s say you want customers to be able to upload a csv with products and qty to order.