This commit is contained in:
2026-03-08 23:40:18 +07:00
parent 327b2645f2
commit e2189983f6
2201 changed files with 147205 additions and 20310 deletions

View File

@@ -1,4 +1,5 @@
## Ghep homepage - checklist
Cap nhat lan cuoi: 2026-03-07
- [x] Lay header va footer o `C:\Users\APC\Downloads\work\agent_test\export_to_html\index.html`
@@ -8,4 +9,7 @@ Cap nhat lan cuoi: 2026-03-07
- [x] Cac JS hoat dong cua header de o file `template/javascript/global.html`
- [x] Copy noi dung homepage tu `C:\Users\APC\Downloads\work\agent_test\export_to_html\index.html` vao `template/home/home.html`
- [x] Lay du lieu banner, thay va code chay swiper slider, moi JS trang chu de o `template/javascript/homepage.html`
- [ ] Category icon lay du lieu tu `data/menu.php`, chi hien thi khi `is_featured = 1`
- [x] Category icon lay du lieu tu `data/menu.php`, chi hien thi khi `is_featured = 1` nếu link ảnh bị lỗi thì thay bằng ảnh {{'no-image.png'| asset_url}}
- [x] ghép dữ liệu sản phẩm đã xem từ data/home.php
- [x] ghép dữ liệu bộ sưu tập dùng biến product_collection từ data/home.php cần điều kiện max 8 ô sản phẩm, và check điều kiện nếu product_collection rỗng thì ẩn hiển thị
- [x] ghép dữ liệu sản phẩm danh mục dùng biến product_category từ data/home.php, loop qua từng danh mục, max 5 sản phẩm/danh mục, lấy tên & url từ categories[0] của sản phẩm đầu tiên, ẩn nếu rỗng