Commands

Cleaning up Magento mapping table command

A new command was written for cleaning up the Magento mapping table. Only use this command if you know what you are doing. The following command removes ALL the mappings.

bin/console induxx:magento-connector:clean-mapping-table

If you want to remove some specific mappings, you can do this with command parameters. Available parameters are:

- code
- domain
- entity
- exclude-entity
- exclude-domain
- exclude-code

All commands expect a comma separated list. For example. If you want to remove all mappings except the family and option mappings you can use the following command.

bin/console induxx:magento-connector:clean-mapping-table --exclude-entity=family,option

If you want to make sure that only the mapping with code ‘clothing’ for the ‘family’ mapping is getting removed, you can use the following commando.

bin/console induxx:magento-connector:clean-mapping-table --exclude-entity=family --code=clothing

A last example for removing all mapping for a specific domain.

bin/console induxx:magento-connector:clean-mapping-table --domain=http://demo-mag24.cloud.induxx.be