refactor: rename shopLayoutData to storefrontLayoutData
Some checks failed
Some checks failed
Align Alpine.js base component naming with storefront terminology. Updated across all storefront JS, templates, and documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -318,7 +318,7 @@
|
||||
<script>
|
||||
function addressesPage() {
|
||||
return {
|
||||
...shopLayoutData(),
|
||||
...storefrontLayoutData(),
|
||||
|
||||
// State
|
||||
loading: true,
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
<script>
|
||||
function accountDashboard() {
|
||||
return {
|
||||
...shopLayoutData(),
|
||||
...storefrontLayoutData(),
|
||||
showLogoutModal: false,
|
||||
|
||||
confirmLogout() {
|
||||
|
||||
@@ -288,7 +288,7 @@
|
||||
<script>
|
||||
function shopProfilePage() {
|
||||
return {
|
||||
...shopLayoutData(),
|
||||
...storefrontLayoutData(),
|
||||
|
||||
// State
|
||||
profile: null,
|
||||
@@ -508,7 +508,7 @@ function shopProfilePage() {
|
||||
}
|
||||
},
|
||||
|
||||
// formatPrice is inherited from shopLayoutData() via spread operator
|
||||
// formatPrice is inherited from storefrontLayoutData() via spread operator
|
||||
|
||||
formatDate(dateStr) {
|
||||
if (!dateStr) return '-';
|
||||
|
||||
Reference in New Issue
Block a user