Storefront polish + QR share + importer deactivate fix
Deploy Ladill Merchant / deploy (push) Successful in 35s
Deploy Ladill Merchant / deploy (push) Successful in 35s
- Storefronts use Figtree as the default font (shop/menu, booking, book) - Remove "Powered by Ladill" branding from the storefront header - Fix storefront logo hiding behind the cover (logo row now relative z-10) - Add a Share button to storefront QR downloads using the Web Share API (native mobile share sheet for image+link; clipboard fallback) - storefronts:import-legacy: --deactivate-source now also retires the platform copy of already-imported (skipped) codes, no --refresh needed Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2fe8babab4
commit
00b1644887
@@ -126,7 +126,14 @@ class ImportLegacyStorefronts extends Command
|
||||
|
||||
if ($existing && ! $refresh) {
|
||||
$skipped++;
|
||||
$this->line(" {$row->short_code}: already exists — skipped.");
|
||||
|
||||
if ($deactivateSource && ! $dry && $row->is_active) {
|
||||
$platform->table('qr_codes')->where('id', $row->id)->update(['is_active' => 0]);
|
||||
$deactivated++;
|
||||
$this->line(" {$row->short_code}: already exists — skipped (platform copy deactivated).");
|
||||
} else {
|
||||
$this->line(" {$row->short_code}: already exists — skipped.");
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user