- Introduced a new template file 'review copy.tpl' for the order summary step in the one page checkout process. - The template includes a loading indicator and a header for the order summary section. - Conditional rendering based on customer registration status is implemented.
40 lines
2.1 KiB
Markdown
40 lines
2.1 KiB
Markdown
# interblue.pl - Project Overview
|
|
|
|
## Purpose
|
|
E-commerce store **interblue.pl** built on **PrestaShop 1.7.x**. The shop sells lighting products (Sollux Lighting and others). It integrates with multiple marketplaces (Allegro, Empik) and shipping providers (DPD, InPost, Poczta Polska, Geis, FedEx).
|
|
|
|
## Tech Stack
|
|
- **CMS/Framework**: PrestaShop 1.7.x (PHP, Symfony 3.x/4.x core)
|
|
- **Template Engine**: Smarty (front) + Twig (admin/back-office)
|
|
- **Database**: MySQL (via PrestaShop's `Db` class and ObjectModel ORM)
|
|
- **Front Theme**: Custom theme `InterBlue` (based on classic)
|
|
- **PHP**: 7.x+ (PrestaShop 1.7 compatible)
|
|
- **Additional lib**: Medoo (lightweight PHP database framework, used in custom scripts)
|
|
|
|
## Key Integrations
|
|
- **Marketplaces**: Allegro (x13allegro, marzaallegro), Empik (empikmarketplace)
|
|
- **Payments**: Przelewy24, imoje, paybynet, ps_cashondelivery, ps_checkpayment, ps_wirepayment
|
|
- **Shipping**: DPD Poland, InPost, Poczta Polska, FedEx, Geis, Paczka w Ruchu
|
|
- **Analytics**: Google Tag Manager (cdc_googletagmanager), Google Analytics 4 (pdgoogleanalytycs4pro), Google Merchant Center (pdgooglemerchantcenterpro)
|
|
- **Other**: Baselinker, Sendinblue (email marketing), eKomi reviews
|
|
|
|
## Custom Scripts (project root)
|
|
- `import-products.php` - Imports products from Sollux Lighting XML feed
|
|
- `export.php`, `export-csv.php` - Product export scripts
|
|
- `custom-cron.php`, `custom-script.php` - Custom cron/automation
|
|
- `google-merchant_id-1.xml` - Google Merchant feed
|
|
|
|
## Custom Modules (developed in-house)
|
|
- `customfeaturetab` - Custom Feature Tab with DB integration and AJAX
|
|
- `dw_promocyjne_produkty` - Promotional products
|
|
- `dw_promowane_produkty` - Promoted products
|
|
- `addcolumninlist` - Extra column in product list (BO)
|
|
- `AddOrderExtraFields` - Extra fields on orders
|
|
- `ordersextracolumns` - Extra columns in order list
|
|
- `sposoby_dostawy` - Delivery methods customization
|
|
|
|
## Override System
|
|
Active overrides in `override/`:
|
|
- Classes: Product, Combination, Dispatcher, Hook, Link, Media, FrontController, Order, OrderCarrier, OrderHistory, OrderInvoice, OrderPayment
|
|
- Controllers (front): Category, Cms, Manufacturer, Order, Product, Supplier
|