Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Vue Storefront Magento Vsbridge Indexer 1.1.0

Compare
Choose a tag to compare
@afirlejczyk afirlejczyk released this 11 Jul 06:36
· 308 commits to develop since this release

Install with composer
composer config repositories.divante vcs https://github.com/DivanteLtd/magento2-vsbridge-indexer
composer require divante/magento2-vsbridge-indexer:dev-master

Important

By default exporting data to ES is disable, so if you are upgrading module please remember to enable new setting in the configuration

Go to the new ‘Indexer’ section (Stores → Configuration → Vuestorefront → Indexer), available now in the in the Magento Panel, and configure it in the listed areas:

General settings → Enable VS Bridge

Fixed

  • Fix bug causing empty product URL paths - @indiebytes (#63)
  • Changed ElasticSearch password to be obscured, encrypted, and considered sensitive (will dump to env.php instead of config.php) - @rain2o (#69)
  • Fix exporting values for multiselect option arrays as integers (instead of strings)
  • Fix getting stock_status value for products
  • Magento Commerce - fix getting configurable_children

Changed/Improved

  • Change mapping for "category.name" field in product type
  • Remove dependency from catalog_product_price and cataloginventory_stock indexer. On product save multiple request has been send
  • Change "Use Short Catalog Urls" setting option to "Use Catalog Url Keys"
  • Add option to generate product/category slug base on Magento Url Key and ID. By default slug (and url_key) field is generated base on NAME and ID.

Added

  • Adding support for video data. Small change will be needed in VSF #19
  • Add support for "product_count" in category. When products are reassign to category, category data is not updated automatically in ES.
    There is not need really, VSF only has to know if product_count > 0, so if you already had products assign to categories (before running bin/magento indexer:reindex vsbridge_category_indexer)
    category will be visible in menu sidebar.
  • Add support for reviews. Reviews are exported without ratings (VSF does not support ratings for now)
  • Add support for custom options.
  • Add option to enable/disable exporting data to ES.
  • Add ProductCategory indexer to partially update product data in ES (category, category_ids fields). Trigger after changing products positions in category.
  • Add the ability to choose between Store ID and Store Code to be used at the end of index names.
  • Add label for configurable option value. Note: When You modify any configurable attribute label or option label in Magento You should reindex all products manually.
{
  "attribute_id": 93,
  "attribute_code": "color",
  "label": "Color",
  "values": [
    {
      "value_index": 61,
      "label": "Gray"
    },
    {
      "value_index": 66,
      "label": "Purple"
    },
    {
      "value_index": 69,
      "label": "Yellow"
    }
  ]
}
  • Add new command php bin/magento vsbridge:reindex which will run all Magento indices which names start with "vsbridge_" (experimental).
Description:
  Rebuild indexer in ES.

Usage:
  vsbridge:reindex [options]

Options:
      --store=STORE     Store ID
      --delete-index    Delete previous index and create new one (with new mapping)