Disabling the Magento MSI
In this tutorial we will show you how to easily disable the Magento MSI module.
In this tutorial we will show you how to easily disable the Magento MSI module.
In this article, I will show how to get the stock status of the product programmatically in Magento 2. I will also show how the new MSI feature in Magento 2.3 makes it a bit more complex to get the stock data and how to overcome this problem.
A year ago, we released the Magento 2.2 benchmark report. It showed the performance of the clean Magento 2.2.4 installation (with sample data) on Ubuntu 16.04, with PHP 7.0.33, MySQL 14.14, with FPC enabled. It showed the response times of the category page, the cart and the checkout on three different Digital Ocean droplets.
Today we are going to run an almost identical load test on Magento 2.3.0. The only difference will be the PHP version - PHP 7.2.11.
In this article, I will show you how to reshape/resize image files in Magento 2. We are going to turn an image into a square, by adding a white background to the smaller dimension of the image. That is, the rectangle image will turn into a square, where the smaller dimension of the image will be extended with a white background. Afterwards, we will save the resized image to a custom location. This way we will have two copies of the image - the original one and the resized one.
In this article, I will demonstrate two different solutions to how to make Varnish serve the page versions based on the user’s cookie.
In this article, I will show you how to pass data from a phtml file to a custom admin UI component js file. I will also show you how to pass the entity (in our example - cart rule) data to the js file, and how to use that data together with the data passed from the phtml file, to manipulate the behavior of a custom component.
In this article, I will briefly show how to use the “Update Attribute” feature of Magento 2 and will provide the possible reason why an attribute doesn’t show up in the “Update Attributes” screen.
Few weeks ago, one of our customers asked to benchmark one of our extensions. To do that, we first needed to perform a benchmark on a clean Magento installation – we chose Magento 2.2.4.
We created our benchmark test using Apache Jmeter. Jmeter is a very handy tool to perform benchmarks and load tests. It is very easy to create a test with Jmeter – it has a recorder tool that lets you record your test by listening to a browser. After recording the test, the Jmeter lets you run it and choose the load of your test (the “Ramp-up Period” and “Number of Threads” – those definitions are explained later on in the article).
In this tutorial we will show how to add a custom body class to a specific page (or every page) in a Magento 2 store.
The code provided in this article was tested on Magento 2.1.0
This extension provides the ability to download a PDF invoice from everywhere on the frontend, including the customer account.