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
314 Exotic Oransje 8col7wm74l 280.0 7 stk 1
315 Exotic Oransje 8col7wm74l 477.0 12 stk 2
316 Exotic Oransje 8col7wm74l 590.0 15 stk 3
317 Exotic Oransje 8col7wm74l 780.0 20 stk 4
318 Exotic Oransje 8col7wm74l 1140.0 30 stk 5
319 Exotic Oransje 8col7wm74l 1800.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 7.848ms