kowal.info

Import / Export

Product page

Layered Navigation Suite — kowal.co

Description

Export four groups of navigation records to JSON and import them into a Magento database with matching catalog identifiers.

For whom

For developers and administrators comparing or transferring navigation settings between environments.

Features

  • Export filter settings, Shop By attributes, option pages and special contexts.
  • Create missing records and update matching records.
  • Read created and updated counts for each group.

Installation

This component is included in Layered Navigation Suite. Follow the suite installation instructions.

Configuration

  1. From the source Magento root, run bin/magento kowal:layered-navigation:export var/navigation.json.
  2. Before importing, compare store, attribute, option and Shop By attribute IDs with the destination. Export the destination settings to a separate file for comparison.
  3. On a staging copy, run bin/magento kowal:layered-navigation:import var/navigation.json and review the counts for each group.

Requirements / notes

The importer uses numeric references in option pages and does not remap them between catalogs. The JSON covers the four record groups, not the entire Magento configuration.

FAQ

Does importing remove destination records missing from the file?

The importer inserts or updates the rows supplied in each group. Other rows remain in place.

Verify the installation

bin/magento module:status Kowal_LayeredNavigationImportExport

Export a staging configuration and inspect the four arrays. Reimport the file into the same staging store and check the reported counts and one known option page.