81e70de70fbc8560e07fcacdb681321c38accb6d
CLAUDE.md: localization now describes core's locale middleware, $currentLocale/$altLocales and storefront.* Language Lines (there are no lang/ files or SetLocale); the stack is Lunar 1.5, Postgres, Meilisearch, Caddy, no Turbo; the design-reference section pointed at files nobody has, and the component checklist was out of date. CACHING-TRANSITION.md: records the 2026-11-06 changes (no Turbo, JSON islands and writes, one bb_state cookie, prefetch instead of prerender), a status table per task, the A4/A9 rework, and sources that the team can actually reach. README: known issues found while writing the boboko plugin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3dealer
Storefront for 3dealer.gr: Laravel 12 + Lunar PHP (headless), on top of boboko/core. Front-end conventions are in CLAUDE.md.
Scheduled jobs
These run in the scheduler container (php artisan schedule:work).
| Command | When | What it does |
|---|---|---|
custom-fields:prune-uploads |
Daily, 04:00 | Deletes custom-field photo uploads older than 24 h that no cart line or order line references. |
lunar:search:index |
Daily, 03:00 | Full product reindex. Registered by boboko/core. |
Product custom fields
Admins can add custom fields to a product in the Lunar admin (the product's Custom Fields section, from boboko/core). The customer fills them in on the product page before adding the product to the cart. The answers are stored on the cart line (meta.custom_fields) and carried over to the order line.
| Field type | Storefront input | Limit |
|---|---|---|
| Short text | text input | 255 characters |
| Long text | textarea | 2,000 characters |
| File upload | photo upload | JPG, PNG, WEBP, HEIC/HEIF, up to 10 MB |
- Photos upload as soon as they're picked. They go to
POST /{locale}/custom-field-uploads, which is limited to 20 per minute per client. They're stored on the privatelocaldisk understorage/app/private/custom-field-uploads/. Only an encrypted reference is sent with add-to-cart. The allowed types and size are set inApp\Http\Controllers\CustomFieldUploadController. - Photos are never public. The cart drawer, checkout summary and order confirmation link to a photo through a signed URL that expires after 2 hours.
- Emails show text answers only, never photos.
- Photos are cleaned up automatically. Photos never added to a cart are deleted by
custom-fields:prune-uploads(see above). A photo on a cart line is kept as long as that cart line exists, and a photo on an order is kept indefinitely. - Products with custom fields can't be quick-added. On product cards, the "add to cart" button becomes a link to the product page.
- Field labels are entered once in the admin and aren't translated, so they appear as entered in both
/eland/en.
Known issues
Found 2026-11-06 while setting up the boboko Claude Code plugin. Remove an entry once it's fixed.
- Storefront labels aren't seeded on boot.
docker/entrypoint.shruns thecheckoutandvalidationtranslation seeders, but notStorefrontTranslationsSeeder, so newstorefront.*keys released in core never reach an environment by themselves. Fix: add it next to the other two. - About 20
storefront.*keys exist only in this shop's database, not in core's seeder: allfooter.*anderrors.*,nav.faq,nav.menu,search.no_results,search.results_count,shop.filters,contact.privacy_notice. A fresh environment shows them as raw keys. Fix:bin/core-mode local, thenbin/dc-core.sh exec app php artisan boboko:translations:pull, then commit and release core. - Home hero carousel images (LCP). In
resources/views/home.blade.php, every slide getsloading="eager"andfetchpriority="high"(only the first visible one should), thepreload="…"attribute on<img>does nothing (preloading is a<link>in<head>), and there's nosrcset/sizesor<head>image preload.
Languages
Blade
40%
PHP
37.2%
JavaScript
10.8%
CSS
6.9%
Shell
4%
Other
1.1%