loggro-erp-integration

Synchronizes product catalog data between One Star e-commerce and Loggro ERP via SKU prefix grouping.

Updated May 22, 2026
One-click install
npx skills add https://github.com/Asygnuz-S-A-S/one-star --skill loggro-erp-integration-asygnuz-s-a-s
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: loggro-erp-integration
Source: https://github.com/Asygnuz-S-A-S/one-star/tree/main/.agents/skills/loggro-erp-integration
Command: npx skills add https://github.com/Asygnuz-S-A-S/one-star --skill loggro-erp-integration-asygnuz-s-a-s

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Loggro ERP uses a flat data model where every size/color combination is an independent item, while One Star uses a hierarchical model of parent products with variants. This Skill defines the architecture and rules for reconciling these two models so catalog synchronization does not create duplicate products or overwrite curated store content. ## Core Features & Use Cases - SKU Prefix Grouping: Splits Loggro SKUs at the first hyphen (e.g., CAM01-M-ROJ) to group variants under a parent product with slug CAM01. - Safe Upsert Rules: Synchronization updates price, unit of measure, variant stock, and erpId while never overwriting images, enriched descriptions, web categories, or banner positions. - Adapter-Based Architecture: All Loggro access goes through the loggro.adapter.ts adapter behind the generic IERPAdapter interface, keeping business logic decoupled from the ERP client. - Use Case: When a developer modifies the product sync flow in erp-sync.service.ts, this Skill ensures they follow the grouping rules and never import LoggroClient directly into business logic. ## Quick Start Review the Loggro ERP integration rules and refactor the product synchronization service so all ERP access goes through the IERPAdapter interface.

Frequently Asked Questions about loggro-erp-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync products between Loggro ERP and an e-commerce store?▼

Synchronization runs through erp-sync.service.ts, which groups Loggro items by SKU prefix into parent products with variants. All ERP communication goes through the loggro.adapter.ts adapter implementing the IERPAdapter interface.

How does SKU grouping work for product variants in Loggro integration?▼

SKUs are split at the first hyphen: the prefix becomes the parent product slug (e.g., CAM01) and the suffix defines the variant's size and color (e.g., M-ROJ). SKUs without hyphens are treated as single products with a unique variant.

Does Loggro sync overwrite product images and descriptions?▼

No, the upsert process only updates base price, unit of measure, variant stock, and the erpId link. Images, enriched descriptions, web categories, and hero banner positions managed in the admin panel are never overwritten.

Can I import LoggroClient directly in business logic?▼

No, business logic must never import LoggroClient directly. All ERP access is injected through the generic IERPAdapter interface, and database mutations happen only in erp-sync.service.ts, not in the adapter.

What happens to products without a hyphen in their Loggro SKU?▼

Products whose Loggro SKU contains no hyphen are treated as standalone items. The sync assigns them a default variant labeled as unique rather than grouping them under a parent product.