home / shop

product_variants

Price variants/sizes for each product

6 rows where product_id = "8col7wm74l"

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ product_id price description sort_order
9063 Exotic Oransje 8col7wm74l 315.0 7 stk 1
9064 Exotic Oransje 8col7wm74l 540.0 12 stk 2
9065 Exotic Oransje 8col7wm74l 675.0 15 stk 3
9066 Exotic Oransje 8col7wm74l 880.0 20 stk 4
9067 Exotic Oransje 8col7wm74l 1350.0 30 stk 5
9068 Exotic Oransje 8col7wm74l 2250.0 50 stk 6

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 5.123ms