add price policy

This commit is contained in:
Phuoc Nguyen
2025-11-03 11:20:09 +07:00
parent c0527a086c
commit 21c1c3372c
53 changed files with 7160 additions and 2361 deletions

View File

@@ -513,6 +513,34 @@
<input type="text" class="form-input" placeholder="Ví dụ: Phường 1, Quận 1, TP.HCM">
</div>
</div>
<div class="delivery-option" onclick="selectDelivery('showroom')">
<input type="radio" name="delivery" value="showroom" class="delivery-radio">
<div class="delivery-content">
<div class="delivery-title">Nhận hàng tại Showroom</div>
<div class="delivery-desc">Đến nhận trực tiếp tại showroom EuroTile gần bạn</div>
</div>
</div>
<!-- Showroom Selection (hidden by default) -->
<div class="showroom-form" id="showroomForm" style="display: none;">
<div class="form-group" style="margin-bottom: 0;">
<label class="form-label">Chọn showroom</label>
<select class="form-input" id="showroomSelect">
<option value="">Chọn showroom gần bạn</option>
<option value="hcm-q1">Showroom Q1 - 123 Nguyễn Huệ, Quận 1, TP.HCM</option>
<option value="hcm-q7">Showroom Q7 - 456 Nguyễn Thị Thập, Quận 7, TP.HCM</option>
<option value="hn-hbt">Showroom Hà Nội - 789 Hoàng Quốc Việt, Cầu Giấy, Hà Nội</option>
<option value="dn-hc">Showroom Đà Nẵng - 321 Lê Duẩn, Hải Châu, Đà Nẵng</option>
<option value="bd-td">Showroom Bình Dương - 654 Đại lộ Bình Dương, Thủ Dầu Một</option>
</select>
<small class="text-gray-500 mt-2 block">
<i class="fas fa-clock mr-1"></i>
Giờ làm việc: 8:00 - 18:00 (Thứ 2 - Thứ 7)
</small>
</div>
</div>
</div>
<!-- Terms and Conditions -->
@@ -563,10 +591,17 @@
// Show/hide address form
const addressForm = document.getElementById('addressForm');
const showroomForm = document.getElementById('showroomForm');
if (type === 'physical') {
addressForm.classList.add('show');
showroomForm.style.display = 'none';
} else if (type === 'showroom') {
addressForm.classList.remove('show');
showroomForm.style.display = 'block';
} else {
addressForm.classList.remove('show');
showroomForm.style.display = 'none';
}
}