update1
This commit is contained in:
@@ -253,7 +253,7 @@
|
||||
<div class="header-menu-container">
|
||||
<p class="title"> DANH MỤC SẢN PHẨM </p>
|
||||
<div class="center"></div>
|
||||
<div class="global-menu-list bg-white">
|
||||
<div class="global-menu-list bg-white hide">
|
||||
|
||||
<div class="item">
|
||||
<a href="/nong-nghiep-may-moc" class="d-flex
|
||||
@@ -533,7 +533,7 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="homepage container">
|
||||
<section class="homepage container hide">
|
||||
<h1 style="position: absolute;top: -999999999999999999999px;">Chào mừng
|
||||
bạn đã đến với Chico</h1>
|
||||
<div class="home-banner-container hover-img">
|
||||
@@ -2140,7 +2140,7 @@
|
||||
</section>
|
||||
|
||||
<!----BREADCRUMB-->
|
||||
<div class="container d-flex align-items-center box-breadcrumb hide">
|
||||
<div class="container d-flex align-items-center box-breadcrumb">
|
||||
<div class="global-menu-breadcrumb header-menu-container">
|
||||
<p class="menu-title"> DANH MỤC SẢN PHẨM </p>
|
||||
<div class="global-menu-list bg-white global-other-page ">
|
||||
@@ -2967,7 +2967,7 @@
|
||||
</section>
|
||||
|
||||
|
||||
<section class="product-detail-page container hide" data-item_id="9"
|
||||
<section class="product-detail-page container " data-item_id="9"
|
||||
data-item_category-id="2" data-item_time-deal-end="0">
|
||||
<div class="product-info-top">
|
||||
<h1 class="product-name font-weight-700">Sản phẩm TEST</h1>
|
||||
@@ -3221,8 +3221,7 @@
|
||||
|
||||
<div class="product-info-support d-flex align-items-center">
|
||||
<div class="form-holder d-flex align-items-center">
|
||||
<input type="text" placeholder="Hãy để lại số điện thoại để được
|
||||
tư vấn" autocomplete="off" id="phone-now" name="contact_tel">
|
||||
<input type="text" placeholder="Hãy để lại số điện thoại để được tư vấn" autocomplete="off" id="phone-now" name="contact_tel">
|
||||
<a href="javascript:void(0)" class="call-for-me d-flex
|
||||
align-items-center justify-content-center"
|
||||
onclick="callForMe()">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
// LAZY FOOTER ARTICLE
|
||||
// LAZY FOOTER ARTICLE
|
||||
lazy_load_group.push(
|
||||
{
|
||||
id: 'js-artilce-product-detail',
|
||||
@@ -117,11 +117,11 @@
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
fancyBox();
|
||||
|
||||
|
||||
|
||||
|
||||
function callForMe(){
|
||||
var error = "";
|
||||
var number_regex1 = /^[0]\d{9}$/i;
|
||||
@@ -196,10 +196,10 @@
|
||||
},800);
|
||||
});
|
||||
}
|
||||
|
||||
_showProductDescription();
|
||||
|
||||
|
||||
|
||||
// ADD PRODUCT TO CART - PRODUCT DETAILS
|
||||
function addProductToCart(product_id, variant_id_fake, props) {
|
||||
const props_quantity = parseInt($(".js-buy-quantity-temp").attr("value"));
|
||||
@@ -293,12 +293,12 @@
|
||||
$(".js-buy-quantity-temp").attr("value", totalQuantity);
|
||||
});
|
||||
}
|
||||
|
||||
listenQuantityBuy();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function renReplyReview(new_replies){
|
||||
var html = '';
|
||||
|
||||
@@ -490,6 +490,7 @@ function send_vote(){
|
||||
if($("#rating-content").val() == '') error+="Bạn chưa nhập nội dung đánh giá\n";
|
||||
if($("#rating-name").val() == '') error+="Bạn chưa nhập tên\n";
|
||||
if($("#rating-email").val() == '') error+="Bạn chưa nhập email\n";
|
||||
if($("#rating-tel").val() == '') error+="Bạn chưa nhập số điện thoại\n";
|
||||
|
||||
if(error!=''){
|
||||
alert(error);
|
||||
@@ -504,6 +505,7 @@ function send_vote(){
|
||||
item_title : `{{ page.product_info.productName }}`,
|
||||
user_name : $("#rating-name").val(),
|
||||
user_email : $("#rating-email").val(),
|
||||
user_tel : $("#rating-tel").val(),
|
||||
user_avatar : '',
|
||||
user_note : '',
|
||||
rate : $("#select-rate-pro input:checked").val(),
|
||||
@@ -843,12 +845,12 @@ function showFormReply(a) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
productBottomBoxSwiper();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// CẤU HÌNH : KÍCH THƯỚC, DUNG LƯỢNG, MÀU SẮC
|
||||
function _setVariantColor() {
|
||||
$('#js-variant-holder .js-variant-option-value').each(function () {
|
||||
@@ -864,6 +866,7 @@ function showFormReply(a) {
|
||||
});
|
||||
}
|
||||
_setVariantColor();
|
||||
|
||||
function _changePriceVariant() {
|
||||
$('.js-variant-option-value').click(function () {
|
||||
setTimeout(function () {
|
||||
@@ -917,4 +920,4 @@ function showFormReply(a) {
|
||||
});
|
||||
//$('.js-variant-option-value:first-child').click();
|
||||
}
|
||||
_changePriceVariant()
|
||||
_changePriceVariant();
|
||||
Reference in New Issue
Block a user