product_variants
3 rows where product_id = "nug2yrs6ej"
This data as json, CSV (advanced)
| id ▼ | product_id | price | description | sort_order |
|---|---|---|---|---|
| 54 | Bicolor Carnation Supreme nug2yrs6ej | 300.0 | small (20 stems) | 1 |
| 55 | Bicolor Carnation Supreme nug2yrs6ej | 450.0 | medium (30 stems) | 2 |
| 56 | Bicolor Carnation Supreme nug2yrs6ej | 600.0 | large (40 stems) | 3 |
Advanced export
JSON shape: default, array, newline-delimited, object
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)
);