Complete Help & Documentation Center
The Weight-Based Products system enables your store to sell items like meat, fruits, and vegetables by weight using EAN-13 barcodes that encode both product identity and weight.
Type
(Meat)
Product
Code
Weight
(1500g)
Check
Digit
Complete step-by-step instructions to set up the system from scratch. Covers database migration, product creation, testing, and deployment.
How to integrate with different types of scales. Covers label-printing scales, external printers, Android/Tablet, and PC-based solutions.
Specific setup instructions for popular scale models including CAS, Bizerba, Toledo, Avery Berkel, and Digi scales.
In-depth technical documentation covering system architecture, database schema, API endpoints, and price calculation logic.
Simple guide for counter staff. Print and laminate for quick access at butchery, produce, and deli counters.
Master index with links to all documentation, quick start guide, and navigation to specific topics.
Add weight-based product fields to your database:
cd C:\dev\cnperp-python
.\.venv\Scripts\Activate.ps1
python add_weight_based_products.py
Create weight-based products:
Tip: Create 5-10 sample products to test with.
python scripts/scale_simulator.py
Follow interactive prompts to simulate complete workflow.
Export products to import into your scale:
Next: Import CSV to your scale via USB, Network, or manual entry. See Configuration Templates for your specific scale model.
python scripts/scale_simulator.py
Create and configure weight-based products with pricing and constraints.
Manage Products| Endpoint | Method | Description | Action |
|---|---|---|---|
/api/v1/weight-products/weight-products |
GET | List all weight-based products (filter by category optional) | Test |
/api/v1/weight-products/parse-weight-barcode |
POST | Parse barcode and return product with calculated price | |
/api/v1/weight-products/export-for-scale |
GET | Export products as CSV for scale import | Download |