berrypod/lib/simpleshop_theme_web
jamey 5c2f70ce44 add shipping costs with live exchange rates and country detection
Shipping rates fetched from Printify during product sync, converted to
GBP at sync time using frankfurter.app ECB exchange rates with 5%
buffer. Cached in shipping_rates table per blueprint/provider/country.

Cart page shows shipping estimate with country selector (detected from
Accept-Language header, persisted in cookie). Stripe Checkout includes
shipping_options for UK domestic and international delivery. Order
shipping_cost extracted from Stripe on payment.

ScheduledSyncWorker runs every 6 hours via Oban cron to keep rates
and exchange rates fresh. REST_OF_THE_WORLD fallback covers unlisted
countries. 780 tests, 0 failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 10:48:00 +00:00
..
components add shipping costs with live exchange rates and country detection 2026-02-14 10:48:00 +00:00
controllers add shipping costs with live exchange rates and country detection 2026-02-14 10:48:00 +00:00
live add shipping costs with live exchange rates and country detection 2026-02-14 10:48:00 +00:00
plugs add shipping costs with live exchange rates and country detection 2026-02-14 10:48:00 +00:00
admin_layout_hook.ex add admin sidebar layout with responsive drawer navigation 2026-02-12 08:35:22 +00:00
cart_hook.ex add shipping costs with live exchange rates and country detection 2026-02-14 10:48:00 +00:00
endpoint.ex add mobile swipe for product card images and fix dev asset caching 2026-02-10 12:24:52 +00:00
gettext.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
router.ex add shipping costs with live exchange rates and country detection 2026-02-14 10:48:00 +00:00
search_hook.ex fix search modal closing on keypress and add admin header icon 2026-02-13 16:02:25 +00:00
telemetry.ex add observability: LiveDashboard in prod, error tracking, JSON logging 2026-02-08 17:02:21 +00:00
theme_hook.ex fix search modal closing on keypress and add admin header icon 2026-02-13 16:02:25 +00:00
user_auth.ex fix signed_in_path to always redirect to /admin after login 2026-02-12 14:55:57 +00:00