update
This commit is contained in:
@@ -1,104 +1,58 @@
|
||||
# Stack — krolewskie-miody.pl
|
||||
# Stack Technologiczny
|
||||
|
||||
## Core Platform
|
||||
**Data analizy:** 2026-05-19
|
||||
|
||||
| Layer | Technology | Version |
|
||||
|-------|-----------|---------|
|
||||
| CMS | WordPress | Check `wp-includes/version.php` |
|
||||
| E-commerce | WooCommerce | 10.7.0 |
|
||||
| Theme | BeTheme (Muffin Group) | 27.6.4 |
|
||||
| Language | PHP | 7.4+ (WooCommerce requirement) |
|
||||
| Database | MariaDB | mariadb114.miody.nazwa.pl |
|
||||
| Hosting | Nazwa.pl (shared hosting) | FTP deploy |
|
||||
## Języki
|
||||
|
||||
## Theme
|
||||
**Główne:**
|
||||
- PHP - WordPress, WooCommerce, motywy i pluginy w `wp-content/`.
|
||||
- JavaScript - skrypty frontend/admin w pluginach i motywach, między innymi `wp-content/plugins/ws-inpost-map/assets/js/frontend/checkout.js`.
|
||||
- CSS/SCSS - style motywów i pluginów, między innymi `wp-content/plugins/ws-inpost-map/assets/css/frontend/style.css`.
|
||||
|
||||
- **Parent theme:** `wp-content/themes/betheme/` — BeTheme v27.6.4 by Muffin Group
|
||||
- **Child theme:** None — customizations live directly in parent theme (violation of CLAUDE.md; see concerns.md)
|
||||
- **Visual builder:** Muffin's proprietary builder (`wp-content/themes/betheme/visual-builder/`)
|
||||
- **WooCommerce overrides:** 27 template files in `wp-content/themes/betheme/woocommerce/`
|
||||
**Dodatkowe:**
|
||||
- JSON - konfiguracje narzędzi, `composer.json`, dane buildów i manifesty pluginów.
|
||||
- PO/MO/POT - tłumaczenia WordPress, między innymi `wp-content/plugins/ws-inpost-map/languages/`.
|
||||
|
||||
## Payment Gateways
|
||||
## Runtime
|
||||
|
||||
| Plugin | Version | Provider |
|
||||
|--------|---------|----------|
|
||||
| woocommerce-gateway-przelewy24 | 4.1.16 | Przelewy24 (P24) — Polish |
|
||||
| woo-payu-payment-gateway | 2.10.1 | PayU — Polish |
|
||||
| woocommerce-paypal-payments | 4.0.3 | PayPal |
|
||||
| woocommerce-payments | 10.7.1 | WordPress.com Payments |
|
||||
| inpost-pay | 2.0.7 | InPost Pay |
|
||||
**Środowisko:**
|
||||
- WordPress + WooCommerce na PHP.
|
||||
- W repozytorium brakuje `wp-includes/version.php`, więc wersja WordPress nie została potwierdzona z kodu core.
|
||||
- `wp-config.php` ustawia `WP_DEBUG` na `true`; przed produkcyjnym wdrożeniem trzeba potwierdzić, czy to jest zamierzone.
|
||||
|
||||
## Shipping
|
||||
**Package manager:**
|
||||
- Brak root `composer.json` i root `package.json`.
|
||||
- Composer występuje wewnątrz pluginów vendorowych oraz w `wp-content/plugins/ws-inpost-map/composer.json`.
|
||||
- `ws-inpost-map` używa PSR-4 autoloadingu: `WsInpostMapOnCheckout\App\` -> `App/`.
|
||||
|
||||
| Plugin | Version | Provider |
|
||||
|--------|---------|----------|
|
||||
| woocommerce-paczkomaty-inpost | 4.6.30 | InPost Paczkomaty (lockers) |
|
||||
| inpost-for-woocommerce | — | InPost |
|
||||
| ws-inpost-map | 1.0.0 | InPost map widget |
|
||||
| woocommerce-polkurier | — | PolKurier courier |
|
||||
| woocommerce-services | 3.6.1 | WooCommerce Services (tax/shipping) |
|
||||
## Frameworki I Platforma
|
||||
|
||||
## Analytics & Tracking
|
||||
**Core:**
|
||||
- WordPress - główna aplikacja, entry point przez `index.php`, `wp-load.php`, `wp-settings.php`.
|
||||
- WooCommerce - sprzedaż, checkout, koszyk, zamówienia i metody dostawy w `wp-content/plugins/woocommerce/`.
|
||||
- Betheme - vendorowy motyw w `wp-content/themes/betheme/`.
|
||||
|
||||
| Plugin | Version | Purpose |
|
||||
|--------|---------|---------|
|
||||
| google-site-kit | 1.177.0 | GA4 + GSC + PageSpeed |
|
||||
| duracelltomi-google-tag-manager | 1.22.3 | GTM container |
|
||||
| pixelyoursite | 11.2.0.4 | Multi-pixel manager |
|
||||
| official-facebook-pixel | 5.0.1 | Meta Pixel |
|
||||
| facebook-for-woocommerce | 3.6.3 | Meta Catalog + Pixel |
|
||||
| tiktok-for-business | — | TikTok Pixel |
|
||||
| woo-ecommerce-tracking-for-google-and-facebook | — | Dual tracking |
|
||||
| ga-google-analytics | 20260421 | GA snippet injection |
|
||||
| google-analytics-for-wordpress | — | MonsterInsights |
|
||||
| google-analytics-premium | 10.1.3 | MonsterInsights Premium |
|
||||
**Pluginy krytyczne funkcjonalnie:**
|
||||
- `wp-content/plugins/woocommerce/` - core e-commerce.
|
||||
- `wp-content/plugins/ws-inpost-map/` - customowa integracja wyboru Paczkomatu na checkout.
|
||||
- `wp-content/plugins/woo-payu-payment-gateway/` - PayU.
|
||||
- `wp-content/plugins/woocommerce-gateway-przelewy24/` - Przelewy24.
|
||||
- `wp-content/plugins/woocommerce-paypal-payments/` i `wp-content/plugins/woocommerce-payments/` - płatności PayPal/WooPayments.
|
||||
- `wp-content/plugins/inpost-*` oraz `wp-content/plugins/woocommerce-paczkomaty-inpost/` - dostawy/InPost.
|
||||
|
||||
## SEO
|
||||
## Konfiguracja
|
||||
|
||||
| Plugin | Version |
|
||||
|--------|---------|
|
||||
| wordpress-seo (Yoast) | 27.4 |
|
||||
| wordpress-seo-premium | — |
|
||||
| all-in-one-seo-pack | 4.9.6.2 |
|
||||
| all-in-one-seo-pack-pro | 4.9.6.2 |
|
||||
| aioseo-index-now | 1.0.13 |
|
||||
| broken-link-checker-seo | 1.2.10 |
|
||||
| buffor-seo | — |
|
||||
| google-listings-and-ads | 3.6.1 |
|
||||
- `wp-config.php` zawiera konfigurację bazy i WordPress; wartości sekretów nie są dokumentowane.
|
||||
- `.htaccess` i `.htaccess.bk` zawierają konfigurację serwera Apache.
|
||||
- `.vscode/ftp-kr.json` wygląda na lokalną konfigurację FTP/SFTP deployu i jest zmodyfikowany w working tree.
|
||||
- `CLAUDE.md` opisuje reguły projektu: PHP, WordPress + WooCommerce, PSR-12, customizacje tylko w child theme albo dedykowanym pluginie.
|
||||
|
||||
## GDPR / Compliance
|
||||
## Skala Repozytorium
|
||||
|
||||
| Plugin | Version |
|
||||
|--------|---------|
|
||||
| complianz-gdpr | 7.4.5 |
|
||||
| complianz-terms-conditions | — |
|
||||
| cookie-notice | 3.0.2 |
|
||||
| wpconsent-cookies-banner-privacy-suite | — |
|
||||
| really-simple-ssl | 9.5.9 |
|
||||
| simple-cloudflare-turnstile | 1.39.0 |
|
||||
- Plugin directories: 73 w `wp-content/plugins/`.
|
||||
- Theme directories: 4 w `wp-content/themes/`.
|
||||
- Najliczniejsze typy plików: `.php`, `.svg`, `.js`, `.css`, `.png`, `.json`.
|
||||
- Repozytorium zawiera dużo kodu vendorowego; przy planowaniu zmian trzeba zawężać analizę do custom code i aktywnych integracji.
|
||||
|
||||
## Email
|
||||
|
||||
| Plugin | Version |
|
||||
|--------|---------|
|
||||
| easy-wp-smtp | 2.14.0 (primary) |
|
||||
| wp-mail-smtp | — (secondary — potential conflict) |
|
||||
|
||||
## Frontend Assets
|
||||
|
||||
- **CSS:** Pre-compiled plain CSS — `wp-content/themes/betheme/css/be.css` (496KB), responsive.css, woocommerce.css
|
||||
- **JS:** Pre-compiled plain JS — `wp-content/themes/betheme/js/scripts.js`, woocommerce.js
|
||||
- **No build tooling:** No SASS, Webpack, or Gulp — assets are version-controlled compiled files
|
||||
- **Skins:** 12 colour skins in `wp-content/themes/betheme/css/skins/`
|
||||
|
||||
## Deployment
|
||||
|
||||
- **Protocol:** FTP (plain, unencrypted) to `ftp.miody.nazwa.pl`
|
||||
- **Remote path:** `/nowa`
|
||||
- **Config:** `.vscode/ftp-kr.json` (credentials stored in file — security risk)
|
||||
- **Strategy:** Manual upload — autoUpload disabled
|
||||
- **Excluded from deploy:** `.git`, `.vscode`, `.paul`, `.serena`, `CLAUDE.md`
|
||||
|
||||
## Plugin Count
|
||||
|
||||
**76 plugins total** — heavy stack with significant duplication (see concerns.md)
|
||||
---
|
||||
*Aktualizuj po zmianie runtime, głównych pluginów, motywu albo sposobu deployu.*
|
||||
|
||||
Reference in New Issue
Block a user