Products
Overview
The Products feature is the foundation of every Siyahfy store. It lets vendors create, manage, and organize their product catalog — from simple single-item listings to complex variable products with multiple variants (size, color, material, etc.). Products support rich media, SEO metadata, categories, tags, pricing rules, and downloadable files.
Whether you are listing five products or five thousand, Siyahfy provides individual product creation, bulk CSV upload, and one-click Shopify import so you can get your catalog online fast.
How It Works
Product Creation Flow
- Form submission — The vendor fills in name, description, price, SKU, images, categories, and variant options.
- SKU uniqueness check — The system verifies the SKU does not already exist in the
productsorproductsSkutables. - Image upload — Images are uploaded to Cloudflare R2 (or Backblaze B2 for legacy accounts) and the resulting URLs are stored.
- Database insert — A new row is inserted into the
productstable with all metadata. - Inventory initialization — Corresponding rows are created in
product_inventory(one per variant combination) with initial stock of zero. - Variant handling — If the product has variants, every combination is generated and stored in
variation_productsJSON and individual inventory rows.
Product Types
| Type | Description |
|---|---|
| Simple | A single product with one price and one SKU |
| Variable | A product with multiple variants (e.g., Small/Red, Medium/Blue) |
| Downloadable | A digital product with download limits and expiry |
Key API Endpoints
Vendor (Admin Panel) APIs
Storefront (Customer-Facing) APIs
Bulk Upload
Database Tables
| Table | Purpose |
|---|---|
products | Main product data — name, slug, price, description, images, categories, variants, SEO fields |
productsSku | SKU uniqueness registry (both parent and variant SKUs) |
product_inventory | Stock tracking per product/variant — available, on_hand, committed, unavailable |
inventory_items | New inventory system with location-based stock tracking |
product_metafields | Custom metadata key-value pairs for products |
Related Features
- Inventory — Stock tracking, locations, and low-stock alerts
- Bulk Operations — CSV upload, Shopify import, bulk delete
- Orders — Products drive order creation and fulfillment
- Analytics — Product performance metrics and leaderboards
- Storefront — How products appear to customers