Shop ·
HOZMAG
Storefront, user dashboard, and a full-featured admin panel in pure PHP — without frameworks, Composer, or a mandatory database.
StackPHP 7.4, JSON, SQLite, MySQL/MariaDB, PDO, HTML5, CSS3
HOZMAG /
HOZMAG
KHOZMAG is an educational and practical e-commerce project assembled as a complete household goods store. The storefront replicates the structure of a classic hardware/household store: a hero section with key benefits, an "About the Store" block, popular products, categories, promotional offers, and banners. The catalog supports categories, search by name and SKU, sorting by price and name, and pagination. The product page displays the discounted price with the old price struck through, a full description, similar products, and reviews with ratings.
A buyer can register, log into their personal account, edit their profile and password, store multiple delivery addresses (selecting a default one), and view their order history.
The admin panel is protected by authorization and provides full control over the site: statistics for views, visitors, product views, cart additions, and registrations with a 14-day chart; settings for the site name, description, logo, and favicon; management of text for the hero section, "About the Store" block, and informational pages; SEO settings with meta tags, title templates, verification codes, custom code for trackers, and generation of robots.txt and sitemap.xml; categories and products with photos, discounts, and SEO fields; banners; promotions with percentage discounts on categories and individual products with an active period; moderated comments and customer management.
A distinct feature is the choice of data storage. By default, the site runs on JSON files, allowing it to be launched on any hosting without database configuration. In the admin panel, you can switch to SQLite or MySQL, specify connection parameters, test the connection, and migrate data in both directions. If the database becomes unavailable, the site automatically continues running on files, and the administrator sees a warning. Site settings are always stored in a file, ensuring access to the panel is maintained.
The interface is responsive: on mobile devices, the menu collapses into a button, the catalog and cards are rearranged, and tables and forms remain readable. The design is executed in a yellow-and-dark color scheme typical of a hardware store, and the logo and favicon are configurable via the admin panel.
Client—
Year—
Role—
License—
Scope
Type: Online store / corporate catalog website with an admin panel.
Purpose: Retail and wholesale sale of household and hardware goods.
Target audience: Individual buyers, summer house owners (dacha), small businesses, legal entities (B2B).
Storage: JSON files (default), SQLite, or MySQL/MariaDB.
Responsiveness: Desktop, tablet, mobile.
Localization: Russian language.
Requirements: PHP 7.4+ with PDO.


Comments
0 commentsQuiet here. Be the first to comment.