Skip to content

[Feature] Load merchant catalog from YAML #5

Description

@moakilodash

Problem

The app currently uses hard-coded demo data, making it difficult for merchants and contributors to customize the storefront without code changes.

Proposed Change

Add a YAML loader that maps merchant metadata and products into the existing Python models. The app should accept a configuration file path and populate the catalog automatically.

Acceptance Criteria

  • App can start from a provided YAML file via CLI flag or config path
  • Validation errors point to the failing field with clear messages
  • README includes a sample command showing how to load a custom catalog
  • Existing hard-coded demo still works as a fallback

Related

See ROADMAP.md Phase 2 - Catalog and Merchant Config

Contributor Lane: Catalog & Config (Issue 1/2)
Difficulty: Medium
Related Phase: Phase 2 - Catalog and Merchant Config

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions