下线 chiang-mai-yi-peng-authentic-sky-lantern-festival

master
LiaoYijun 5 months ago
parent 309d0fdc86
commit b899ae7b0c

@ -6,7 +6,7 @@
<p style="font-size: 20px; margin-bottom: 15px;"><strong>Select a Ticket Type:</strong></p> <p style="font-size: 20px; margin-bottom: 15px;"><strong>Select a Ticket Type:</strong></p>
<div class="selectHotl" style="margin-bottom: 20px;"> <div class="selectHotl" style="margin-bottom: 20px;">
<div class="optionLable" id="ticket_type_premium_khomloy"> <div class="optionLable" id="ticket_type_premium_khomloy">
<input type="radio" value="Premium+Transfer+Dinner" checked id="premium_khomloy" data-price="199" name="ticket_type"> <input type="radio" value="Premium+Transfer+Dinner" disabled id="premium_khomloy" data-price="199" name="ticket_type">
<label for="premium_khomloy" style="font-size:18px;"> <label for="premium_khomloy" style="font-size:18px;">
Premium+Transfer+Dinner Premium+Transfer+Dinner
<div class="selectionMemo"> <div class="selectionMemo">
@ -15,7 +15,7 @@
</label> </label>
</div> </div>
<div class="optionLable" id="ticket_type_vip_khomloy"> <div class="optionLable" id="ticket_type_vip_khomloy">
<input type="radio" value="VIP+Transfer+Dinner" id="vip_khomloy" data-price="139" name="ticket_type"> <input type="radio" value="VIP+Transfer+Dinner" disabled id="vip_khomloy" data-price="139" name="ticket_type">
<label for="vip_khomloy" style="font-size:18px;"> <label for="vip_khomloy" style="font-size:18px;">
VIP+Transfer+Dinner VIP+Transfer+Dinner
<div class="selectionMemo"> <div class="selectionMemo">
@ -25,7 +25,7 @@
</div> </div>
<div class="optionLable" id="ticket_type_standard_khomloy"> <div class="optionLable" id="ticket_type_standard_khomloy">
<input type="radio" value="Premium+Dinner+Exclusive Transfer+Thai Costume" id="premium_costume" data-price="339" name="ticket_type"> <input type="radio" value="Premium+Dinner+Exclusive Transfer+Thai Costume" disabled id="premium_costume" data-price="339" name="ticket_type">
<label for="premium_costume" style="font-size:18px;"> <label for="premium_costume" style="font-size:18px;">
Premium+Thai Costume<br>+Exclusive Transfer+Dinner Premium+Thai Costume<br>+Exclusive Transfer+Dinner
<div class="selectionMemo"> <div class="selectionMemo">
@ -350,7 +350,7 @@ background: #fff;margin-top: 15px; margin-bottom: 20px; display: none;">
<input name="ticket_date" id="ticket_date" type="hidden" value="2025-11-05" /> <input name="ticket_date" id="ticket_date" type="hidden" value="2025-11-05" />
<input name="product_code" id="cli_no" type="hidden" value="YDFW-AH"/> <input name="product_code" id="cli_no" type="hidden" value="YDFW-AH"/>
<input name="itinerary" type="hidden" value="Chiang Mai Authentic Sky Lantern Festival on Nov. 5, 2025" /> <input name="itinerary" type="hidden" value="Chiang Mai Authentic Sky Lantern Festival on Nov. 5, 2025" />
<button class="sendButton" id="submit_ticket_button" name="submit_chiang_mai_lantern_ticket_form" <button class="sendButton" disabled="" style="background: gray;" id="submit_ticket_button" name="submit_chiang_mai_lantern_ticket_form"
type="button" style="margin-top: 20px;">Proceed to Payment</button> type="button" style="margin-top: 20px;">Proceed to Payment</button>
<p style=" text-align: center; <p style=" text-align: center;
margin-top: -15px; margin-top: -15px;
@ -419,12 +419,12 @@ background: #fff;margin-top: 15px; margin-bottom: 20px; display: none;">
currentTicketPrice = dataPrice; currentTicketPrice = dataPrice;
calcTotalPrice(currentTicketPrice, adultNumberValue); calcTotalPrice(currentTicketPrice, adultNumberValue);
} }
ticketTypeNode.addEventListener('click', function (event) { // ticketTypeNode.addEventListener('click', function (event) {
var currentTarget = event.currentTarget; // var currentTarget = event.currentTarget;
currentTicketPrice = parseInt(currentTarget.getAttribute('data-price')); // currentTicketPrice = parseInt(currentTarget.getAttribute('data-price'));
adultNumberValue = parseInt(adultNumberNode.value); // adultNumberValue = parseInt(adultNumberNode.value);
calcTotalPrice(currentTicketPrice, adultNumberValue); // calcTotalPrice(currentTicketPrice, adultNumberValue);
}); // });
} }
function setKhomloyTicket() { function setKhomloyTicket() {

Loading…
Cancel
Save