The ColorPicker Ui Component

A hidden component to choose and implement color values

As part of the contributions I'm currently doing to the Adobe Stock Integration Project I recently had to implement a search filter for the color attribute.

Continue reading...

This week I had the task to build an alternative success page for customers who pay with a specific payment method. If the customers select Bank Transfer method they should be redirected to https://magento2.test/checkout/banktransfer/success. If any other payment method is selected the customer sh...

Continue reading...

These code snippets will show you how to ask the Magento REST API and retrieve some data.
In this example I will query the Magento REST API to retrieve all products updated since 2018-10-09 00:00:00.

This method assumes:

  • You are using an admin user to generate the token.
  • You have a Magento2 instance running in your local environment.

Continue reading...

Recently I faced the situation where I needed the information of a second table in my collection and the first thought that crossed my mind was let's rewrite the collection to add my on stuff but... is that really the right approach?

First, by rewriting the core collection class I am going to af...

Continue reading...

To be able to output warnings, error and notice messages in our modules we have to use the following interface \Magento\Framework\Message\ManagerInterface.

The best way to use it is through Dependency Injection in the constructor as follows:

Continue reading...