home / shop

product_variants

Price variants/sizes for each product

7 rows where product_id = "qax9e9s7yd"

✎ View and edit SQL

This data as json, CSV (advanced)

id ▼ product_id price description sort_order
3537 Spring Pastel Wreath qax9e9s7yd 1500.0 Small 1
3538 Spring Pastel Wreath qax9e9s7yd 1800.0 As Displayed 2
3539 Spring Pastel Wreath qax9e9s7yd 2000.0 Medium 3
3540 Spring Pastel Wreath qax9e9s7yd 2200.0 Large 4
3541 Spring Pastel Wreath qax9e9s7yd 2500.0 Large+ 5
3542 Spring Pastel Wreath qax9e9s7yd 2800.0 Deluxe 6
3543 Spring Pastel Wreath qax9e9s7yd 3000.0 Deluxe+ 7

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.039ms