You can easily get Current Store Date Time by injecting in your class constructor in instance of
When you want to use SOAP API calls to communicate with Magento 2 you want a overview of the available Web Services.
When you use swagger as your testing tool for the API, it is possible that you get the error Can’t read from file. This can easily be solved by installing the Experius ApiExtend module: https://github.com/experius/Magento-2-Module-Experius-ApiExtend
Sometimes you get an error in the checkout but you have no clue what the actual error is because you don’t get a good message and you can’t find it in the log files. The only thing you will see is An Error Occurred On The Server. Please Try To …
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.