|
|
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 |
|
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
|
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 |
|