Adding a column to the promotions grid in Magento
In this article, we will see how to add a new column to the promotion rules grid (cart rules grid) in Magento.
In this article, we will see how to add a new column to the promotion rules grid (cart rules grid) in Magento.
In this article, we will see how to apply custom coupon code in magento cart programmatically. For that, we will write a simple Magento plugin that programmatically applies a specific coupon when a user adds a particular product to the cart.
In this tutorial, we will show how to trigger a refresh in the mini-cart and the cart totals block.
In this tutorial, we will add a new field "Discount" to the mini cart. That is, if the customer got a discount in his cart, he would now be able to see it in the mini cart.
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.
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.