Integrations / Platforms / Magento 2 / Magento Features Compatibility

Magento Features Compatibility

Catalog Permissions and B2B Shared Catalog

The extension now supports Catalog Permissions and B2B Shared Catalog features.

With Catalog Permissions enabled, the extension will add the catalog_permissions attribute to product or category records. This attribute contains an object with customer groups and whether the product or category is visible for this group.

For your search, a condition is added that filters out products that are not visible for the end-users’ customer group.

Magento Inventory (MSI)

Magento Multi Source Inventory (MSI) feature, recently renamed Magento Inventory, is added in version 2.3.x of Magento and helps you manage everything related to your inventory.

You can find more information about MSI on the Magento documentation.

The MSI features include:

  • Different configurations for merchants whose inventory originates from single or multiple sources
  • Stock tracking through assigned sources
  • Concurrent checkout protection
  • Shipment matching algorithms

In a nutshell, you are now able to create multiple inventory sources and stocks to manage the availability of products in your stores. This introduces a lot of behind-the-scenes changes to Magento.

Compatibility

MSI introduced changes to the way a product is determined in stock or not. To support that new behavior and to keep backwards compatibility with older versions of our Magento 2 integration, we decided to create a new optional module, Algolia_AlgoliaSearchInventory.

It can be downloaded separately with composer and used on top of the extension.

Requirements

You should download Algolia_AlgoliaSearchInventory if:

  • You are using Magento 2.3.x
  • You are using multiple sources / stocks to manage your inventory

The Algolia_AlgoliaSearchInventory module can be used with version 1.12.x and higher of the Algolia extension. In any other case, you can continue to use and update the extension without adding the new module.

Downloading the Algolia_AlgoliaSearchInventory module if you do not use MSI will not break your indexing process, but it may slow it down. We don’t recommend installing the module unless you use MSI.

Installing the Algolia_AlgoliaSearchInventory module

You can install the Algolia_AlgoliaSearchInventory module with composer:

$
$
$
$
composer require algolia/algoliasearch-inventory-magento-2
php bin/magento module:enable Algolia_AlgoliaSearchInventory
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy # in case you’re on production mode

That’s all it takes to integrate Algolia with MSI. You can use the extension as you did before, your multiple sources and stocks will be handled as expected.

The code for the Algolia_AlgoliaSearchInventory module is open source and can be found on Github

As Magento has begun to fully support Elastic Search as the default search engine, this external module was created to make the Algolia Magento 2 extension compatible with Elastic Search for backend rendering. We choose to make this a separate extension as not all versions of Magento will include Elastic Search by default. We advise that this module should only be installed on versions where Elastic Search is required by default which is Magento >= 2.3.1 and >= 2.2.8.

Additionally, it is not necessary for you to install this module if the configuration for “Stores > Configuration > Algolia Search > Advance > Make a backend search query” is set to No.

Installing the Algolia_AlgoliaSearchElastic module

You can install the Algolia_AlgoliaSearchElastic module using composer:

$
$
$
$
composer require algolia/algoliasearch-magento-2-es-compatibility
php bin/magento module:enable Algolia_AlgoliaSearchElastic
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy # in case you’re on production mode

The code for the Algolia_AlgoliaSearchElastic module is open-sourced on Github.

Did you find this page helpful?