How karulj8/uta-demo-1002 works
This is a Nuxt-based SCAYLE commerce storefront: shoppers browse and search products, inspect variants and promotions, manage basket and wishlist, authenticate, complete checkout, and review orders. Separate capabilities include account/profile, store location, subscriptions, CMS-driven content from configurable providers, and analytics tracking. The tree and excerpts establish these product areas, but do not expose most page-level calls or commerce SDK wiring; those links are therefore omitted rather than inferred.
Main entry points: [...productName]-[id].vue Product details · index.ts CMS integration · checkout.vue Checkout · search.vue Search results
Components 32
Shop discovery
- Home page
app/pages/index.vue - Category browsing
app/pages/c/[...categories]/[...slug]-[id].vue - Search results
app/pages/search.vue - Search suggestions
app/components/search/SFSearchResults.vue - Product details
app/pages/p/[...productName]-[id].vue - Product imagery
app/components/product/SFProductImage.vue - Variant selection
app/components/product/SFVariantPicker.vue - Store locator
app/pages/location.vue
Purchase journey
- Basket
app/pages/basket.vue - Basket actions
app/composables/useBasketActions.ts - Promotion gifts
app/components/product/promotion/SFProductPromotionSelectionModal.client.vue - Checkout
app/pages/checkout.vue - Express checkout
app/components/basket/SFExpressCheckout.client.vue - Order confirmation
app/pages/success.vue - Wishlist
app/pages/wishlist.vue - Subscriptions
modules/subscription/composables/useSubscription.ts
Customer account
- Sign in
app/pages/signin/index.vue - Authentication
app/composables/useAuthentication.ts - Account overview
app/pages/account.vue - Order history
app/pages/account/orders/index.vue - Order details
app/pages/account/orders/[id].vue - Customer profile
app/pages/account/profile.vue
Content and extensions
- CMS integration
modules/cms/index.ts - CMS configuration
modules/cms/utils/config.ts - CMS providers
modules/cms/providers
Shared platform
- Analytics tracking
modules/tracking/runtime/composables/useTracking.ts - Tracking context
modules/tracking/runtime/composables/useTrackingContext.ts - Page tracking state
modules/tracking/runtime/composables/useTrackingContextState.ts - Session and cache storage
server/plugins/storageConfig.ts
Other components
- Shopper
- SCAYLE Commerce Engine
- Analytics service
Connections 29
- Shopper → Home page: opens
app/pages/index.vue - Shopper → Category browsing: browses
- Shopper → Search results: searches
- Search results → Search suggestions: renders
- Shopper → Product details: views
- Product details → Product imagery: displays
- Product details → Variant selection: selects variant
- Shopper → Basket: manages
- Basket → Basket actions: uses actions
- Product details → Promotion gifts: offers gifts
- Shopper → Checkout: checks out
- Checkout → Express checkout: uses widget
- Shopper → Wishlist: manages
- Shopper → Sign in: signs in
- Sign in → Authentication: authenticates
- Shopper → Account overview: opens account
- Account overview → Order history: views orders
- Order history → Order details: opens order
- Shopper → Customer profile: updates profile
- Shopper → Store locator: finds stores
- Product details → Subscriptions: configures subscription
- Checkout → Order confirmation: confirms order
- CMS integration → CMS configuration: reads provider config
modules/cms/index.ts - CMS integration → CMS providers: dispatches setup
modules/cms/index.ts - CMS integration → SCAYLE Commerce Engine: configures provider
- Tracking context → Page tracking state: uses state
modules/tracking/runtime/composables/useTrackingContext.ts - Analytics tracking → Analytics service: emits events
- Shopper → Analytics tracking: generates activity
- Session and cache storage → SCAYLE Commerce Engine: mounts KV driver
server/plugins/storageConfig.ts