Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Bähr committed Sep 27, 2023
1 parent 05c0e1b commit 20546b0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
Adds new console command to spryker, which uses the imported category data to generate a navigation_node.csv based on the category-tree.

## Usage:
```
vendor/bin/console data:generate:navigation-node
```
### Configuration:
1. Register console command: add `NavigationGeneratorConsole` to `Pyz\Zed\Console\ConsoleDependencyProvider::getConsoleCommands()`
2. Run command:
```
vendor/bin/console data:generate:navigation-node
```
## Configuration:
* `NavigationGeneratorConstants::OUTPUT_PATH` (Default: `APPLICATION_ROOT_DIR . '/data/import/common/common/navigation_node.csv'`)
* `NavigationGeneratorConstants::FALLBACK_LOCALE` (Default: `de_DE`, is used when for a configured locale no category data is available)
* `NavigationGeneratorConstants::NAVIGATION_KEY` (Default: `MAIN_NAVIGATION`)

0 comments on commit 20546b0

Please sign in to comment.