Naming Conventions
This project follows canonical OpenCart naming conventions unless an architecture review explicitly approves a deviation.
Theme Directory
The theme directory name is:
shop3
Canonical OpenCart path:
catalog/view/theme/shop3/
Custom Prefix
Custom project entities use the prefix:
shop3_
Do not use joined names such as:
shop3latestshop3checkoutshop3banner
Use underscore-separated names instead:
shop3_latestshop3_checkoutshop3_banner
Applies To
The shop3_ prefix applies to custom:
- controllers;
- modules;
- routes;
- config keys;
- language keys;
- settings;
- helper names;
- future extensions.
Canonical Examples
Route:
extension/module/shop3_latest
Controller file:
catalog/controller/extension/module/shop3_latest.php
Controller class:
ControllerExtensionModuleShop3Latest
Language key:
module_shop3_latest_status
Config key:
module_shop3_latest_status
Twig template:
shop3_latest.twig
Review Notes
If implementation introduces non-canonical naming, unnecessary abstraction, architecture drift, or unsafe OpenCart practice, document it in PR Notes or OPS Notes and prefer the canonical OpenCart approach.