o3-shop / o3-theme
Responsive Theme for O3-Shop
Package info
Language:Smarty
Type:o3shop-theme
pkg:composer/o3-shop/o3-theme
Requires
- o3-shop/shop-ce: ^1.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v1.6.5
- v1.6.4
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.2
- v1.0.1
- dev-fix/forgotpwd-password-requirements-lang
- dev-guarantee-notice-always-visible
- dev-fix-stale-next-bump
- dev-219-order-review-guarantee-label
- dev-ci-shop-ce-theme-tests
- dev-219-eu-guarantee-labels-v2
- dev-219-eu-guarantee-labels
- dev-217-captcha-form-blocks-order
- dev-214-minibasket-remove-button
- dev-122-add-missing-theme-settings
- dev-213-captcha-form-blocks
- dev-196-contact-map-shop-address
- dev-4-add-en-o3shop-footer-link
- dev-fix/update-branch-expansion-to-v5.0.6
- dev-131-fix-readme-installation
- dev-145-o3-theme-shows-version-100-in-admin-should-show-version-130
This package is auto-updated.
Last update: 2026-09-03 07:23:50 UTC
README
Responsive theme for O3-Shop, built on Bootstrap 5.
Overview
O3-Theme is the official responsive theme for O3-Shop. It provides a full Bootstrap 5 frontend including compiled CSS/JS, Smarty templates, translations, and a complete set of theme settings configurable via the shop admin.
Current version: 1.5 — see CHANGELOG.md for what changed.
Directory layout
o3-theme/
├── build/ SCSS + JS source files (entry point: main.bundle.scss / main.bundle.js)
├── out/o3-theme/
│ └── src/
│ ├── css/ main.css, main.min.css, photoswipe.css
│ ├── js/ main.js, main.min.js, widget/*.js
│ ├── img/ theme images and background
│ └── fonts/ web fonts
├── tpl/ Smarty templates (layout, pages, widgets, email, forms)
├── de/ German translations (lang.php, theme_options.php)
├── en/ English translations (lang.php, theme_options.php)
├── theme.php Theme metadata, version, and all configurable settings
├── setup.sql Default config values (legacy; Theme::activate() handles this on O3-Shop 1.6+)
├── composer.json Composer package metadata
├── CHANGELOG.md Version history
└── README.md This file
CSS build
The build toolchain requires Node.js ≥ 22.13 and Gulp CLI ≥ 3.
npm install # install dependencies once gulp # production build (minified, PurgeCSS) gulp dev # watcher for day-to-day development
gulp dev also clears the shop's Smarty tmp/ on template and translation changes.
Run the shop in dev mode (admin → Theme settings → disable production mode) while
developing so the browser loads unminified assets.
To rebuild only the CSS without the full gulp pipeline:
cd out/o3-theme/src/css
npx sass --style=compressed --no-source-map main.css main.min.css
Child themes
O3-Theme is designed to be extended via child themes. Set parentTheme => 'o3-theme'
in the child theme's theme.php. O3-Shop resolves templates and assets from the
child theme first, then o3-theme, so only files that actually differ need to be
present in the child theme.
Clearing the Smarty cache
docker exec <shop-container> bash -c "rm -rf /var/www/html/source/tmp/smarty/"