How amiruh1/grinserproto works
Grinser is a static storefront and admin panel for browsing products, managing a cart, and placing orders. The main customer flow runs from the store or product pages through the cart to checkout and Culqi payment; local browser storage supports the experience when Sheets is not configured. Administrators manage catalog, categories, users, and sales. The README documents optional Google Sheets synchronization and Culqi order/payment processing; some of those runtime connections are documented but their implementation was not sampled.
Main entry points: Code.gs Sheets and payment API · checkout-page.js Checkout · store.js Home store · auth.js Login and roles
Components 21
Storefront
- Storefront entry
index.html - Company and service pages
paginas_html - Shared site shell
js/site-shell.js - Home store
js/store.js - Product listing and filters
js/productos-page.js - Product detail
js/producto-page.js - Product cards
js/product-card.js - Catalog data
js/productos.js
Shopping and checkout
- Cart page
js/carrito-page.js - Cart operations
js/product-card.js - Checkout
js/checkout-page.js
Accounts and administration
- Login and roles
js/auth.js - Admin panel
js/admin.js
Shared services
- Shared utilities and storage
js/data.js - Sheets configuration
js/sheets-config.js - Sheets and payment API
google-apps-script/Code.gs - Google Sheets
- Culqi payments
- WhatsApp contact widget
js/whatsapp-widget.js
Other components
- Shopper
Connections 29
- Shopper → Storefront entry: opens
README.md - Shopper → Company and service pages: visits
README.md - Storefront entry → Home store: presents
README.md - Company and service pages → Shared site shell: uses
js/site-shell.js - Home store → Catalog data: displays
js/store.js - Product listing and filters → Catalog data: filters
README.md - Product detail → Catalog data: reads
js/producto-page.js - Product listing and filters → Product cards: renders
README.md - Product detail → Product cards: uses
js/product-card.js - Home store → Cart operations: adds items
js/store.js - Product detail → Cart operations: adds items
js/producto-page.js - Cart page → Cart operations: updates
js/carrito-page.js - Cart page → Checkout: continues to
js/carrito-page.js - Checkout → Culqi payments: opens payment
README.md - Checkout → Sheets and payment API: requests order and charge
README.md - Checkout → Google Sheets: records order
README.md - Shopper → Login and roles: registers or signs in
README.md - Admin panel → Login and roles: manages users
README.md - Admin panel → Sheets and payment API: syncs catalog and users
README.md - Login and roles → Sheets and payment API: validates accounts
README.md - Sheets and payment API → Google Sheets: reads and writes
README.md - Sheets and payment API → Culqi payments: creates orders and charges
README.md - Home store → Shared utilities and storage: uses utilities
js/store.js - Login and roles → Shared utilities and storage: uses storage
js/auth.js - Checkout → Shared utilities and storage: uses utilities
js/checkout-page.js - Sheets configuration → Sheets and payment API: configures endpoint
README.md - WhatsApp contact widget → Shared utilities and storage: gets contact link
js/whatsapp-widget.js - WhatsApp contact widget → WhatsApp: opens contact
js/whatsapp-widget.js - Shopper → WhatsApp contact widget: uses
js/whatsapp-widget.js