Fluent Commerce Logo
Docs

Module Recipe - Plugin Setup and Installation Guide

How-to Guide

Author:

Nandha Balaguru

Changed on:

15 Mar 2025

Key Points

  • Create the new module: `fluent module create -n <module-name> `
  • Populate the plugin structure in `plugins/`
      `rules/` - Contains rules, unit tests and GraphQL queries/mutations
      `types/` - Stores model classes and extended DTOs
      `util/` - Holds service classes and utilities
  • Build the module:  `./scripts/build-module.sh`
  • Install the module: `fluent module install dist/<module-name>-<version>.zip -p <profile> -r <retailer>`

Steps