product_variants
3 rows where product_id = "w3o8423h1q"
This data as json, CSV (advanced)
| id ▼ | product_id | price | description | sort_order |
|---|---|---|---|---|
| 1137 | Tropisk Kistedekorasjon w3o8423h1q | 2200.0 | Liten | 1 |
| 1138 | Tropisk Kistedekorasjon w3o8423h1q | 3100.0 | Medium | 2 |
| 1139 | Tropisk Kistedekorasjon w3o8423h1q | 4200.0 | Stor | 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)
);