home / shop

product_variants

Price variants/sizes for each product

5 rows where product_id = "ut7fj2bd38"

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ product_id price description sort_order
2752 Dusk Delight ut7fj2bd38 549.0 (ca 10 stk) 1
2753 Dusk Delight ut7fj2bd38 780.0 (ca 15 stk) 2
2754 Dusk Delight ut7fj2bd38 999.0 (ca 20 stk) L 3
2755 Dusk Delight ut7fj2bd38 1889.0 (ca 40 Stk) Som Vist 4
2756 Dusk Delight ut7fj2bd38 2399.0 (ca 50 stems) XL 5

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE product_variants (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    product_id TEXT NOT NULL,
    price REAL,
    description TEXT,
    sort_order INTEGER,
    FOREIGN KEY (product_id) REFERENCES products(id),
    UNIQUE(product_id, sort_order)
);
Powered by Datasette · Queries took 6.021ms