{# app/templates/admin/store-edit.html #} {% extends "admin/base.html" %} {% from 'shared/macros/alerts.html' import loading_state %} {% from 'shared/macros/headers.html' import edit_page_header %} {% from 'shared/macros/modals.html' import confirm_modal, confirm_modal_dynamic %} {% block title %}Edit Store{% endblock %} {% block alpine_data %}adminStoreEdit(){% endblock %} {% block content %} {% call edit_page_header('Edit Store', '/admin/stores', subtitle_show='store', back_label='Back to Stores') %} {% endcall %} {{ loading_state('Loading store...', show_condition='loadingStore') }}

Quick Actions

Verified Pending Active Inactive

Basic Information

Contact Information

Business Details

Letzshop Marketplace URLs

Configure CSV feed URLs for automatic product imports from Letzshop marketplace

Cancel
{{ confirm_modal_dynamic( 'toggleVerificationModal', 'Toggle Store Verification', "store?.is_verified ? 'Are you sure you want to unverify this store?' : 'Are you sure you want to verify this store?'", 'toggleVerification()', 'showToggleVerificationModal', 'Confirm', 'Cancel', 'warning' ) }} {{ confirm_modal_dynamic( 'toggleActiveModal', 'Toggle Store Status', "store?.is_active ? 'Are you sure you want to deactivate this store? This will affect their operations.' : 'Are you sure you want to activate this store?'", 'toggleActive()', 'showToggleActiveModal', 'Confirm', 'Cancel', 'warning' ) }} {{ confirm_modal_dynamic( 'deleteStoreModal', 'Delete Store', "'Are you sure you want to delete \"' + (store?.name || '') + '\"? This will permanently delete all products, orders, customers, and team members. This action cannot be undone!'", 'confirmDeleteStoreStep()', 'showDeleteStoreModal', 'Delete', 'Cancel', 'danger' ) }} {{ confirm_modal_dynamic( 'deleteStoreFinalModal', 'Final Confirmation', "'FINAL CONFIRMATION: Are you absolutely sure you want to permanently delete \"' + (store?.name || '') + '\" and ALL associated data?'", 'deleteStore()', 'showDeleteStoreFinalModal', 'Permanently Delete', 'Cancel', 'danger' ) }} {% endblock %} {% block extra_scripts %} {% endblock %}