How shuup/shuup-megastore-theme works
Megastore Theme is a Shuup storefront theme: it supplies theme integration, storefront templates, styles, and browser-side interactions. The visible user journey is browsing/searching products, viewing product details, and using basket and checkout views; dashboard templates are also present. Source excerpts show the app config registering the theme and the style entry importing its LESS and SCSS files. Most template wiring and theme internals were not sampled, so those relationships are left unasserted.
Main entry points: style.js Theme styles · apps.py Theme app config · theme.py Theme definition · product Category and product
Components 11
Shuup integration
- Theme app config
shuup_megastore_theme/apps.py - Theme definition
shuup_megastore_theme/theme.py - Theme view exports
shuup_megastore_theme/views/__init__.py
Storefront views
- Category and product
shuup_megastore_theme/templates/shuup_megastore_theme/shuup/front/product - Product search
shuup_megastore_theme/templates/shuup_megastore_theme/shuup/simple_search/search.jinja - Basket and checkout
shuup_megastore_theme/templates/shuup_megastore_theme/shuup/front/basket - Customer dashboard
shuup_megastore_theme/templates/shuup_megastore_theme/shuup/front/dashboard/dashboard.jinja - Shared theme templates
shuup_megastore_theme/templates/shuup_megastore_theme/shuup/front/macros/theme
Presentation assets
- Browser interactions
shuup_megastore_theme/static_src/js/custom.js - Theme styles
shuup_megastore_theme/static_src/less/style.js
Other components
- Shopper
Connections 5
- Theme app config → Theme definition: registers
shuup_megastore_theme/apps.py - Theme styles → Theme styles: imports styles
shuup_megastore_theme/static_src/less/style.js - Shopper → Category and product: browses
- Shopper → Product search: searches
- Shopper → Basket and checkout: uses basket