feat(attributes-import): import product attributes from shopPRO API into personalization
extractPersonalization() now reads both 'attributes' and 'custom_fields' fields from the shopPRO API response, joining non-empty values with newline separator. Previously only custom_fields was imported, causing product attributes like "Woreczek jutowy", "Kolor koperty", "Zakrętka" to be lost during sync. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Tech Changelog
|
||||
|
||||
## 2026-04-07 (Phase 71 - Attributes Import, Plan 01)
|
||||
- `ShopproOrderMapper::extractPersonalization()`: rozszerzono o odczyt pola `attributes` z API shopPRO.
|
||||
- Metoda iteruje po `['attributes', 'custom_fields']` i laczy niepuste wyniki separatorem `\n`.
|
||||
- Atrybuty produktu (kolor, wariant, woreczek jutowy itp.) sa teraz importowane obok personalizacji.
|
||||
- Jednorazowa naprawa 36 istniejacych pozycji w bazie produkcyjnej (przeliczenie personalizacji z payload_json).
|
||||
- Brak zmian schematu bazy danych.
|
||||
|
||||
## 2026-04-04 (Email templates - split list/form view)
|
||||
- `EmailTemplateController`:
|
||||
- dodano osobne endpointy widokowe `create()` i `edit()` dla formularza szablonu,
|
||||
|
||||
Reference in New Issue
Block a user