Shop: pick photos, and colors from a drop-down #33

Merged
jcoffey-dev merged 2 commits from shop/photo-gallery into main 2026-10-17 01:12:39 +00:00
2 Commits
Author SHA1 Message Date
jcoffey-dev 89faa7b939 Shop: pick a color from a drop-down, and see its photos
ci / go (pull_request) Successful in 1m32s
ci / editor-ui (pull_request) Successful in 1m33s
A product whose sizes come in colors gets a Color drop-down. Only the
chosen color's sizes show, a size already picked carries over, and the
photos switch to that color's. The script ships with HotDog like the
cart's, only when some page has colors; without it the page lists every
color as before.

The Fourthwall import marks each photo with the color it shows, and
-photos now counts per color.
2026-10-16 17:33:19 -07:00
jcoffey-dev 5254cdc36b Shop: pick a product photo to see it large
Product pages put a small copy of every photo under the large one. Picking
one, with a click or the arrow keys, shows it large. Plain radio buttons
and CSS do it, with no script; a product with one photo shows no row.
2026-10-16 17:19:03 -07:00