How ziadwaleed23/elioderma works
Elio is a bilingual static storefront for aesthetic products. Visitors browse and search the catalog, inspect product details, build a persistent cart, and submit an order through WhatsApp; order details can also be logged to Google Sheets. The graph includes the documented catalog, localization, live-data, legal, and presentation capabilities. Some subsystem links are documented in the README rather than shown in sampled code; unsampled implementation details are not inferred.
Main entry points: shop-ui.js Product and cart UI · products.js Product records · index.html Home page · search.js Global search
Components 25
Storefront
- Home page
index.html - Shared site behavior
js/app.js - Category carousel
js/categories-carousel.js - Page loader
js/loader.js - Scroll animations
js/animations.js
Catalog
- Global search
js/search.js - Product catalog
js/shop.js - Catalog filters
js/filters.js - Product records
js/products.js - Price formatting
js/prices.js
Ordering
- Product and cart UI
js/shop-ui.js - Persistent cart
- Order sync
js/shop-ui.js
Language and content
- Language runtime
js/i18n.js - Translated UI strings
js/i18n-strings.js - Arabic product text
js/products-ar.js - Arabic legal content
js/legal-ar.js - Legal pages
privacy.html
Operations
- Apps Script receiver
google-apps-script/Code.gs - Site configuration
js/config.js - Live catalog data
js/live-data.js
Other components
- Visitor
- Order tracker
- Firebase service
Connections 26
- Visitor → Home page: visits
README.md - Visitor → Product catalog: browses
README.md - Home page → Category carousel: shows categories
- Visitor → Global search: searches
js/search.js - Global search → Product records: matches
js/search.js - Global search → Product catalog: opens result
js/search.js - Product catalog → Product records: filters and sorts
js/shop.js - Catalog filters → Product records: filters
js/filters.js - Visitor → Product and cart UI: selects products
README.md - Product and cart UI → Product records: renders items
js/shop-ui.js - Product and cart UI → Persistent cart: reads and writes
README.md - Product and cart UI → Price formatting: calculates totals
- Visitor → Product and cart UI: submits order
README.md - Product and cart UI → WhatsApp: opens message
README.md - Product and cart UI → Order sync: prepares payload
js/shop-ui.js - Order sync → Apps Script receiver: POSTs order
README.md - Apps Script receiver → Order tracker: writes row
README.md - Site configuration → Order sync: configures sync
README.md - Live catalog data → Firebase service: fetches catalog
- Live catalog data → Product records: updates catalog
js/live-data.js - Language runtime → Translated UI strings: loads translations
- Arabic product text → Product records: translates descriptions
- Legal pages → Arabic legal content: uses Arabic content
js/legal-ar.js - Visitor → Legal pages: reads policies
- Page loader → Home page: reveals page
- Scroll animations → Home page: animates content