Commit Graph

31 Commits

Author SHA1 Message Date
Roman Pyrih
2e833c272c Home page RWD 2026-05-08 13:48:33 +02:00
Roman Pyrih
75a840cb4a Save 2026-05-06 13:52:37 +02:00
Roman Pyrih
88f1477bf4 Save 2026-05-06 12:01:55 +02:00
Roman Pyrih
4bbd4973b9 Save 2026-05-05 16:01:40 +02:00
59410b9825 Save 2026-05-04 15:50:30 +02:00
391a3697de update 2026-04-24 00:55:39 +02:00
ac03f807c1 feat(02-product-actions-fixes): Phase 02 complete — customization, price label, structure fix
Plan 02-03: Customization save + success modal (5/5 AC)
- 26-field squaremeter POST payload (verbose PL dim, qty_alt/qty_alth)
- Chain POST /module/ps_shoppingcart/ajax -> Bootstrap #blockcart-modal
- Critical fix: moved {/block} so inline script actually renders
- __p02p02InFlight re-entrancy guard

Plan 02-04: Live cena per-sqm label obok "Dodaj do koszyka" (5/5 AC)
- .p02p04-total-price label, gorna .current-price static
- Separate __p02p04Bound + setInterval reconciliation
- Poll-retry prestashop.on registration

Plan 02-05: Struktura materialu w POST payload (4/4 AC)
- Enumerate [name^="group["] spoza formy, doklej do payload
- Fix: group_5 select w .product-bar-box nie trafial do koszyka

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 00:55:05 +02:00
7ac795ba3f feat(new-layout): add-to-cart handler + piece configurator (Phase 02 plans 01-02)
Plan 02-01 (piece/crop configurator, complete):
- #piece reuse z shared partial product-cover-thumbnails.tpl
- 8 hidden inputs (is_crop, crop_pos_x/y, crop_width/height, piece_bg_top/left, is_reflection) w formie #add-to-cart-or-refresh
- Defensive setup w custom.js: setTimeout(600) init, no-op override totalpriceinfospecific/prod, DOM stubs
- CSS scope pod body#product .product-size-data .product-size-data--new

Plan 02-02 (add-to-cart submission, PARTIAL):
- Capture-phase native addEventListener (useCapture=true) blokuje PS core crash
  (button poza formą w nowym layoucie — closest('form') zwracało 0)
- Manualny AJAX POST: form.serialize() + qty + add=1&action=update do /pl/koszyk
- Fancybox-blocker port z custom.js:327 (nie odpalał się bo selector 0 matches)
- Manual sync is_crop/crop_width/height przed POST (obejście crash checkedHandler)
- prestashop.emit('updatedCart') + defensive blockcart refresh fetch
- Loading spinner + success flash CSS
- Inline handler mirror w product.tpl z idempotency guard (window.__p02p02Bound)
  — cache-buster dla browser cachowanego custom.js

Deferred do Plan 02-03 (customization + modal blocker dla production):
- Customization nie zapisuje się (squaremeter hook gate'owany discretion=on + brak dimension fields)
- Success modal (wymaga POST do /module/ps_shoppingcart/ajax)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 23:33:45 +02:00
161c090ef0 product structure 2026-04-09 14:30:11 +02:00
Roman Pyrih
9f00dce91a Save 2026-04-08 16:09:33 +02:00
Roman Pyrih
bcfc7c55ae New Page 2026-03-11 10:45:20 +01:00
Roman Pyrih
947931f2b6 Save 2026-03-10 15:58:54 +01:00
Roman Pyrih
1770475c24 Save 2026-03-10 09:29:28 +01:00
49a38bfea8 Save 2026-03-02 16:09:56 +01:00
b82b1200f7 Save 2026-02-25 13:22:46 +01:00
4d8fcc1a31 Add custom hook detection and update hook handling in carousel module 2026-02-25 10:45:56 +01:00
e888c81aef Add product carousel module with template and database structure
- Created `pp_carousel.tpl` for rendering product carousel with Swiper integration.
- Added `plan.md` detailing module architecture, database schema, and implementation steps.
- Initialized log files for development and production environments.
2026-02-25 09:23:54 +01:00
Roman Pyrih
e579d0a597 Save 2026-02-24 15:30:37 +01:00
Roman Pyrih
34c56d8409 save 2026-02-24 14:32:16 +01:00
Roman Pyrih
6a1dc347db change container step + 20px 2026-02-24 12:32:49 +01:00
Roman Pyrih
1c61a05fcf Disable big containers RWD 2026-02-24 12:31:09 +01:00
Roman Pyrih
d892635cbb Download def theme styles 2026-02-24 12:29:20 +01:00
f0ccc5353d Save 2026-02-23 15:57:03 +01:00
Roman Pyrih
e901917065 Save 2026-02-20 15:59:49 +01:00
Roman Pyrih
f62521a504 Test module 2026-02-20 12:00:32 +01:00
Roman Pyrih
7f71214aea Add new items for page "struktury" 2024-12-18 13:52:02 +01:00
Roman Pyrih
8dbdb723fd Change product material box 2024-12-18 13:17:54 +01:00
14cafb2c59 Merge branch 'main' of http://91.189.216.43:3000/jacek.pyziak/newwalls.pl 2024-12-18 12:08:01 +01:00
c7fbf447ff udate 2024-12-18 12:07:46 +01:00
Roman Pyrih
d2308339ec Save 2024-12-18 10:24:34 +01:00
8e6cd8b410 first commit 2024-12-17 13:43:22 +01:00