Files
jcoffey-dev f34c3e2ec5
ci / editor-ui (pull_request) Successful in 25s
ci / go (pull_request) Successful in 1m34s
Shop pack: a product catalog with checkout links
Products with photos, a price, options and a Buy button that opens the payment provider's own checkout (Stripe Payment Links, PayPal, Square). No cart, no card details on the site, no script. Product data for search engines (price, currency, in stock or sold out), and a money template function: 24 "USD" is $24.00, 9 "SEK" is 9.00 SEK.
2026-10-11 17:29:04 -07:00

10 lines
356 B
HTML

{{ define "main" }}
<link rel="stylesheet" href="{{ asset "packs/shop/shop.css" }}">
<section class="wrap page shop">
<h1>{{ .Title }}</h1>
{{ with .Content }}<div class="prose">{{ . }}</div>{{ end }}
<ul class="shop-grid">{{ range .Paginator.Items }}{{ template "product-card" . }}{{ end }}</ul>
{{ template "pagination" . }}
</section>
{{ end }}