水灯节默认价格统一设置为 159

hotfix/paypal-note
LiaoYijun 3 years ago
parent 70c40b73c6
commit e56c0931d3

@ -61,7 +61,7 @@
</div>
</div>
<p>Children under 8 years old enter free; 8-year-olds and above are charged the same as adults. You can buy a ticket for your child under 8 if you would like her or him to enjoy the same provision.</p>
<div class="payonline_price">Total price: <strong id="totalPriceText">$179</strong></div>
<div class="payonline_price">Total price: <strong id="totalPriceText">$159</strong></div>
<p style="margin-top: 50px;"><strong>Please provide correct personal information for your ticket
booking. Double
check.</strong></p>
@ -692,6 +692,7 @@
var adultNumberValue = parseInt(adultNumberNode.value);
var ticketPrice = 159;
totalPriceHidden.value = ticketPrice * adultNumberValue;
totalPriceText.innerText = '$'+totalPrice;
for (var i = 0; i < ticketTypeList.length; i++) {
var ticketTypeNode = ticketTypeList[i];
ticketTypeNode.addEventListener('click', function(event) {

@ -61,7 +61,7 @@
</div>
</div>
<p>Children under 8 years old enter free; 8-year-olds and above are charged the same as adults. You can buy a ticket for your child under 8 if you would like her or him to enjoy the same provision.</p>
<div class="payonline_price">Total price: <strong id="totalPriceText">$179</strong></div>
<div class="payonline_price">Total price: <strong id="totalPriceText">$159</strong></div>
<p style="margin-top: 50px;"><strong>Please provide correct personal information for your ticket
booking. Double
check.</strong></p>
@ -687,8 +687,9 @@
var totalPriceText = document.getElementById("totalPriceText");
var totalPriceHidden = document.getElementById("totalPriceHidden");
var adultNumberValue = parseInt(adultNumberNode.value);
var ticketPrice = 179;
var ticketPrice = 159;
totalPriceHidden.value = ticketPrice * adultNumberValue;
totalPriceText.innerText = '$'+totalPrice;
for (var i = 0; i < ticketTypeList.length; i++) {
var ticketTypeNode = ticketTypeList[i];
ticketTypeNode.addEventListener('click', function(event) {

Loading…
Cancel
Save