code added
이 커밋은 다음에 포함됨:
+4
@@ -149,6 +149,10 @@ class API_SERVICE_CLASS{
|
|||||||
if(response.data.code != '0'){
|
if(response.data.code != '0'){
|
||||||
return failureResFun(response.data)
|
return failureResFun(response.data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(response.data.errors?.length){
|
||||||
|
return failureResFun(response.data)
|
||||||
|
}
|
||||||
return successResFun(response.data)
|
return successResFun(response.data)
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
벤더링 됨
+149
-103
@@ -1,5 +1,50 @@
|
|||||||
let nav_html = `
|
navINIT();
|
||||||
<header class="header-area section-padding-1 transparent-bar">
|
|
||||||
|
function navINIT() {
|
||||||
|
loadCart();
|
||||||
|
function loadHelper(src = './dist/js/utils/helpers.js'){
|
||||||
|
if ($(`script[src="${src}"]`).length > 0) {
|
||||||
|
return new Promise((resolve) => resolve);
|
||||||
|
}
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
var s;
|
||||||
|
s = document.createElement('script');
|
||||||
|
s.src = src;
|
||||||
|
s.onload = resolve;
|
||||||
|
s.onerror = reject;
|
||||||
|
document.head.appendChild(s);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
async function loadCart(){
|
||||||
|
|
||||||
|
let files = ['./dist/js/shoppingcart/addtocart.js'];
|
||||||
|
await loadHelper();
|
||||||
|
for(let i=0;i<files.length;i++){
|
||||||
|
if ($(`script[src="${files[i]}"]`).length > 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
|
||||||
|
await loadHelper(files[i])
|
||||||
|
console.log("done");
|
||||||
|
|
||||||
|
} catch (error) {
|
||||||
|
console.log(error);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
setLengthCart();
|
||||||
|
//console.log("hello");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
let URLNAMENAV = window.location.href;
|
||||||
|
const isTransparent = URLNAMENAV.includes('login')||URLNAMENAV.includes('orderconfirmation');
|
||||||
|
let nav_html = `
|
||||||
|
<header class="header-area section-padding-1 transparent-bar" ${isTransparent ?'style="background:#0A1039"' :''}>
|
||||||
<div class="header-large-device">
|
<div class="header-large-device">
|
||||||
<div class="header-bottom sticky-bar">
|
<div class="header-bottom sticky-bar">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@@ -131,112 +176,113 @@ let nav_html = `
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>`;
|
</div>`;
|
||||||
$("#navbar-head").html(nav_html);
|
$("#navbar-head").html(nav_html);
|
||||||
let width = $(window).width();
|
let width = $(window).width();
|
||||||
$(".menu-negative-mrg2,.menu-negative-mrg3,.menu-negative-mrg4").css("width",width);
|
$(".menu-negative-mrg2,.menu-negative-mrg3,.menu-negative-mrg4").css("width", width);
|
||||||
let ele_page = $("body").hasClass("product_pg");
|
let ele_page = $("body").hasClass("product_pg");
|
||||||
if(ele_page == true){
|
if (ele_page == true) {
|
||||||
$(".header-area").removeClass("bg-white");
|
$(".header-area").removeClass("bg-white");
|
||||||
$(".main-menu").find("nav ul li a").addClass("text-white");
|
$(".main-menu").find("nav ul li a").addClass("text-white");
|
||||||
$(".header-bottom.sticky-bar").removeClass("sticky-bar");
|
$(".header-bottom.sticky-bar").removeClass("sticky-bar");
|
||||||
let src =`../dist/assets/imgs/anwi-logo-2.png`;
|
let src = `../dist/assets/imgs/anwi-logo-2.png`;
|
||||||
$(".logo-menu-wrap").find("a img").attr("src",src);
|
$(".logo-menu-wrap").find("a img").attr("src", src);
|
||||||
$(".main-body").find("iframe").attr("width",width);
|
$(".main-body").find("iframe").attr("width", width);
|
||||||
if (width <= 575 && width >= 390) {
|
if (width <= 575 && width >= 390) {
|
||||||
$(".main-body").find("iframe").attr({
|
$(".main-body").find("iframe").attr({
|
||||||
width: width,
|
width: width,
|
||||||
height: 236,
|
height: 236,
|
||||||
})
|
})
|
||||||
} else if(width <= 390 && width >= 270){
|
} else if (width <= 390 && width >= 270) {
|
||||||
$(".main-body").find("iframe").attr({
|
$(".main-body").find("iframe").attr({
|
||||||
width: width,
|
width: width,
|
||||||
height: 210,
|
height: 210,
|
||||||
});
|
});
|
||||||
} else if (width <= 998 && width > 575) {
|
} else if (width <= 998 && width > 575) {
|
||||||
$(".main-body").find("iframe").attr({
|
$(".main-body").find("iframe").attr({
|
||||||
width: width,
|
width: width,
|
||||||
height: 530,
|
height: 530,
|
||||||
});
|
});
|
||||||
} else if(width <= 2720 && width > 1920){
|
} else if (width <= 2720 && width > 1920) {
|
||||||
$(".main-body").find("iframe").attr({
|
$(".main-body").find("iframe").attr({
|
||||||
width: width,
|
width: width,
|
||||||
height: 1440,
|
height: 1440,
|
||||||
});
|
});
|
||||||
}else {
|
} else {
|
||||||
$(".main-body").find("iframe").attr({
|
$(".main-body").find("iframe").attr({
|
||||||
width: width,
|
width: width,
|
||||||
height: 860,
|
height: 860,
|
||||||
});
|
});
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$("a.ram_data").click(function () {
|
|
||||||
let item_id = $(this).attr("accessories_id");
|
|
||||||
let loc_path = '/products.html'
|
|
||||||
if (window.location.pathname.includes(loc_path)) {
|
|
||||||
window.location.href = `?itemid=${item_id}`
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
window.location.href = `/products.html#itemid=${item_id}`;
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
$(".main-menu nav ul").find("li").each(function(){
|
|
||||||
var current = window.location.pathname;
|
|
||||||
var $this = $(this).find("a");
|
|
||||||
if(current != "/"){
|
|
||||||
if($this.attr('href').indexOf(current) !== -1){
|
|
||||||
$(this).addClass('active_nav');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
// destroy localstorage data
|
$("a.ram_data").click(function () {
|
||||||
let loc_path = '/productdetails.html';
|
let item_id = $(this).attr("accessories_id");
|
||||||
if (window.location.pathname.includes(loc_path) === false) {
|
let loc_path = '/products.html'
|
||||||
localStorage.removeItem("product_data");
|
if (window.location.pathname.includes(loc_path)) {
|
||||||
localStorage.removeItem("top_data")
|
window.location.href = `?itemid=${item_id}`
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//services pages links and sources
|
|
||||||
|
|
||||||
let $body_pg = $("body").hasClass("services_page");
|
|
||||||
let $hm_pg = "../index.html";
|
|
||||||
let $nav_img ="../dist/assets/imgs/anwi-logo-1.png";
|
|
||||||
let $footer_img = "../dist/assets/imgs/anwi-logo-2.png";
|
|
||||||
let $scrool_top_img = "../dist/assets/imgs/Home/rocket-footer.png";
|
|
||||||
|
|
||||||
if($body_pg == true){
|
|
||||||
$(".header-large-device").find(".logo-menu-wrap .logo").find("a").attr("href",$hm_pg);
|
|
||||||
$(".header-large-device").find(".logo-menu-wrap .logo").find("a img").attr("src",$nav_img);
|
|
||||||
$(".mobile-logo").find("a").attr("href",$hm_pg);
|
|
||||||
$(".mobile-logo").find("a img").attr("src",$nav_img);
|
|
||||||
$(".main-menu").find("nav ul").find("li a").each(function(){
|
|
||||||
let $arc = $(this).attr("href");
|
|
||||||
let $spcial_char = $arc.includes("./");
|
|
||||||
if($spcial_char === true){
|
|
||||||
let $refarence = `.${$arc}`
|
|
||||||
$(this).attr("href",$refarence);
|
|
||||||
}
|
}
|
||||||
$(".same-style").find("a").each(function(){
|
else {
|
||||||
let $arc1 = $(this).attr("href");
|
window.location.href = `/products.html#itemid=${item_id}`;
|
||||||
let $spcial_char1 = $arc1.includes("./");
|
}
|
||||||
if($spcial_char1 === true){
|
})
|
||||||
let $refarence1 = `.${$arc1}`
|
|
||||||
$(this).attr("href",$refarence1);
|
|
||||||
|
$(".main-menu nav ul").find("li").each(function () {
|
||||||
|
var current = window.location.pathname;
|
||||||
|
var $this = $(this).find("a");
|
||||||
|
if (current != "/") {
|
||||||
|
if ($this.attr('href').indexOf(current) !== -1) {
|
||||||
|
$(this).addClass('active_nav');
|
||||||
}
|
}
|
||||||
})
|
|
||||||
});
|
|
||||||
$(".clickable-mainmenu-wrap").find("nav ul").find("li a").each(function(){
|
|
||||||
let $arc_mbil = $(this).attr("href");
|
|
||||||
let $spcial_char_mbil = $arc_mbil.includes("./");
|
|
||||||
if($spcial_char_mbil === true){
|
|
||||||
let $refarence_mbil = `.${$arc_mbil}`
|
|
||||||
$(this).attr("href",$refarence_mbil);
|
|
||||||
}
|
}
|
||||||
});
|
|
||||||
|
})
|
||||||
|
|
||||||
|
// destroy localstorage data
|
||||||
|
let loc_path = '/productdetails.html';
|
||||||
|
if (window.location.pathname.includes(loc_path) === false) {
|
||||||
|
localStorage.removeItem("product_data");
|
||||||
|
localStorage.removeItem("top_data")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//services pages links and sources
|
||||||
|
|
||||||
|
let $body_pg = $("body").hasClass("services_page");
|
||||||
|
let $hm_pg = "../index.html";
|
||||||
|
let $nav_img = "../dist/assets/imgs/anwi-logo-1.png";
|
||||||
|
let $footer_img = "../dist/assets/imgs/anwi-logo-2.png";
|
||||||
|
let $scrool_top_img = "../dist/assets/imgs/Home/rocket-footer.png";
|
||||||
|
|
||||||
|
if ($body_pg == true) {
|
||||||
|
$(".header-large-device").find(".logo-menu-wrap .logo").find("a").attr("href", $hm_pg);
|
||||||
|
$(".header-large-device").find(".logo-menu-wrap .logo").find("a img").attr("src", $nav_img);
|
||||||
|
$(".mobile-logo").find("a").attr("href", $hm_pg);
|
||||||
|
$(".mobile-logo").find("a img").attr("src", $nav_img);
|
||||||
|
$(".main-menu").find("nav ul").find("li a").each(function () {
|
||||||
|
let $arc = $(this).attr("href");
|
||||||
|
let $spcial_char = $arc.includes("./");
|
||||||
|
if ($spcial_char === true) {
|
||||||
|
let $refarence = `.${$arc}`
|
||||||
|
$(this).attr("href", $refarence);
|
||||||
|
}
|
||||||
|
$(".same-style").find("a").each(function () {
|
||||||
|
let $arc1 = $(this).attr("href");
|
||||||
|
let $spcial_char1 = $arc1.includes("./");
|
||||||
|
if ($spcial_char1 === true) {
|
||||||
|
let $refarence1 = `.${$arc1}`
|
||||||
|
$(this).attr("href", $refarence1);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
});
|
||||||
|
$(".clickable-mainmenu-wrap").find("nav ul").find("li a").each(function () {
|
||||||
|
let $arc_mbil = $(this).attr("href");
|
||||||
|
let $spcial_char_mbil = $arc_mbil.includes("./");
|
||||||
|
if ($spcial_char_mbil === true) {
|
||||||
|
let $refarence_mbil = `.${$arc_mbil}`
|
||||||
|
$(this).attr("href", $refarence_mbil);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
+19
-4
@@ -5,10 +5,13 @@ function orderConfirmation(){
|
|||||||
getOrderStatus();
|
getOrderStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
function orderlistsummary({name,price,qty,total}){
|
function orderlistsummary({name,price,qty,total,img}){
|
||||||
let priceAmt = '';
|
let priceAmt = '';
|
||||||
let totalAmt = '';
|
let totalAmt = '';
|
||||||
|
|
||||||
|
let defaultImg =img ? imgServerNameBuild(img): `./dist/assets/imgs/nophoto.png`;
|
||||||
|
|
||||||
|
debugger;
|
||||||
|
|
||||||
let [priceSysm,priceamt] = getCurrencySymbol(price)
|
let [priceSysm,priceamt] = getCurrencySymbol(price)
|
||||||
priceAmt = `${priceSysm}${priceamt}`
|
priceAmt = `${priceSysm}${priceamt}`
|
||||||
@@ -20,6 +23,16 @@ function orderConfirmation(){
|
|||||||
|
|
||||||
totalAmt = `${qtySymb}${qtyamt}`
|
totalAmt = `${qtySymb}${qtyamt}`
|
||||||
|
|
||||||
|
return `<div class="col-sm-6">
|
||||||
|
<img src="${defaultImg}" alt="" class="w-100 h-100">
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6 d-flex flex-column justify-content-center">
|
||||||
|
<div class="itemname"><span class="font-weight-500">${name}</span></div>
|
||||||
|
<div> <span>Unit Price :</span><span class="font-weight-500">${priceAmt}</span> </div>
|
||||||
|
<div> <span>Quantity :</span><span class="font-weight-500">${qty}</span> </div>
|
||||||
|
<div> <span>Total Amount :</span> <span class="font-weight-500">${totalAmt}</span></div>
|
||||||
|
</div>`;
|
||||||
|
|
||||||
return `
|
return `
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-4">
|
<div class="col-4">
|
||||||
@@ -112,12 +125,14 @@ function orderConfirmation(){
|
|||||||
let orderItemsListHTML = '';
|
let orderItemsListHTML = '';
|
||||||
|
|
||||||
for(let i=0;i<OrderItems.length;i++){
|
for(let i=0;i<OrderItems.length;i++){
|
||||||
const {ItemName:name,UnitPrice:price,Quantity:qty,UnitPrice:total} = OrderItems[i];
|
const {ItemName:name,UnitPrice:price,Quantity:qty,UnitPrice:total,ItemImage:img} = OrderItems[i];
|
||||||
|
debugger;
|
||||||
orderItemsListHTML += orderlistsummary({
|
orderItemsListHTML += orderlistsummary({
|
||||||
name,
|
name,
|
||||||
price,
|
price,
|
||||||
qty,
|
qty,
|
||||||
total
|
total,
|
||||||
|
img
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
let userData = COOKIE_HELPER_ACTIONS.getCookie();
|
let userData = COOKIE_HELPER_ACTIONS.getCookie();
|
||||||
@@ -131,7 +146,7 @@ function orderConfirmation(){
|
|||||||
debugger;
|
debugger;
|
||||||
localStorage.removeItem(CART_DATA)
|
localStorage.removeItem(CART_DATA)
|
||||||
|
|
||||||
|
setLengthCart();
|
||||||
removeFullLoader();
|
removeFullLoader();
|
||||||
console.log(resData);
|
console.log(resData);
|
||||||
|
|
||||||
|
|||||||
+15
-2
@@ -16,12 +16,21 @@ function startDetails(){
|
|||||||
let currentClick = null;
|
let currentClick = null;
|
||||||
debugger;
|
debugger;
|
||||||
if(productId){
|
if(productId){
|
||||||
|
updateProductId(productId);
|
||||||
getProductDetails(productId);
|
getProductDetails(productId);
|
||||||
appendSpecs(productId)
|
appendSpecs(productId)
|
||||||
}else{
|
}else{
|
||||||
window.location.href = "/notfound.html"
|
window.location.href = "/notfound.html"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateProductId(val){
|
||||||
|
$('#productidtag').val(val);
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateItemId(val){
|
||||||
|
$('#itemidtag').val(val);
|
||||||
|
}
|
||||||
|
|
||||||
let specification_wrap_action = {
|
let specification_wrap_action = {
|
||||||
remove(){
|
remove(){
|
||||||
debugger;
|
debugger;
|
||||||
@@ -157,13 +166,15 @@ function startDetails(){
|
|||||||
appendSpecs(obj.itemid)
|
appendSpecs(obj.itemid)
|
||||||
$('#skudetailitem').val(obj.sku)
|
$('#skudetailitem').val(obj.sku)
|
||||||
$('.des_productdes').html(obj.itemdescription);
|
$('.des_productdes').html(obj.itemdescription);
|
||||||
$('#addtocart').attr('data-qty',obj.quantity)
|
$('#addtocart').attr('data-qty',obj.quantity);
|
||||||
|
|
||||||
|
|
||||||
let defaultImg = obj.itemimageurl ? imgServerNameBuild(obj.itemimageurl): `./dist/assets/imgs/nophoto.png`;
|
let defaultImg = obj.itemimageurl ? imgServerNameBuild(obj.itemimageurl): `./dist/assets/imgs/nophoto.png`;
|
||||||
console.log(obj.itemimageurl,'obj.itemimageurlobj.itemimageurlobj.itemimageurl');
|
console.log(obj.itemimageurl,'obj.itemimageurlobj.itemimageurlobj.itemimageurl');
|
||||||
debugger;
|
debugger;
|
||||||
$('.productDetailsMain > img').attr('src',defaultImg);
|
$('.productDetailsMain > img').attr('src',defaultImg);
|
||||||
|
|
||||||
|
updateItemId(obj.itemid);
|
||||||
}
|
}
|
||||||
|
|
||||||
function searchComb(){
|
function searchComb(){
|
||||||
@@ -229,6 +240,8 @@ debugger;
|
|||||||
itemsName += ` ${$(e).html().trim()}`;
|
itemsName += ` ${$(e).html().trim()}`;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
updateItemId(null);
|
||||||
|
|
||||||
specification_wrap_action.remove();
|
specification_wrap_action.remove();
|
||||||
$('#skudetailitem').val(-1)
|
$('#skudetailitem').val(-1)
|
||||||
$('.productname').html(itemsName)
|
$('.productname').html(itemsName)
|
||||||
@@ -449,7 +462,7 @@ debugger;
|
|||||||
tagnames = tagnames.split('|');
|
tagnames = tagnames.split('|');
|
||||||
$('.optiontaganwi').removeClass('borderselector');
|
$('.optiontaganwi').removeClass('borderselector');
|
||||||
currentComb = itemtagscombinationRes[0];
|
currentComb = itemtagscombinationRes[0];
|
||||||
|
// updateItemId(itemtagscombinationRes[0].itemid);
|
||||||
|
|
||||||
for(let i=0;i<tagids.length;i++){
|
for(let i=0;i<tagids.length;i++){
|
||||||
|
|
||||||
|
|||||||
+4
-3
@@ -56,7 +56,7 @@ function ramProductsInit(){
|
|||||||
|
|
||||||
console.log(res);
|
console.log(res);
|
||||||
let html = '';
|
let html = '';
|
||||||
|
debugger;
|
||||||
for(let i=0;i<res.length;i++){
|
for(let i=0;i<res.length;i++){
|
||||||
html += getRamCardHTML(res[i]);
|
html += getRamCardHTML(res[i]);
|
||||||
}
|
}
|
||||||
@@ -73,7 +73,8 @@ function ramProductsInit(){
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRamCardHTML({itemname,pricelist,itemid,sku}){
|
function getRamCardHTML({itemname,pricelist,itemid,sku,itemimageurl}){
|
||||||
|
let img = itemimageurl ? imgServerNameBuild(itemimageurl) : './dist/assets/imgs/nophoto.png'
|
||||||
let tags = itemname.split('-');
|
let tags = itemname.split('-');
|
||||||
let ramTech = tags[tags.length-2];
|
let ramTech = tags[tags.length-2];
|
||||||
let gb = tags[tags.length-1];
|
let gb = tags[tags.length-1];
|
||||||
@@ -86,7 +87,7 @@ function ramProductsInit(){
|
|||||||
<div class="product_card_3 shadow ram_card">
|
<div class="product_card_3 shadow ram_card">
|
||||||
<div class="card-item-header">
|
<div class="card-item-header">
|
||||||
<div class="card-header-sub-3"><a class=" py-md-1" href="/productdetails.html?productId=${RAM_ID}#itemid=${itemid}">
|
<div class="card-header-sub-3"><a class=" py-md-1" href="/productdetails.html?productId=${RAM_ID}#itemid=${itemid}">
|
||||||
<img src="./dist/assets/imgs/Navbar/ora_ddr4_desktop.png" class="w-100 h-100"></a>
|
<img src="${img}" class="w-100 h-100"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-item-body">
|
<div class="card-item-body">
|
||||||
|
|||||||
+11
-5
@@ -105,7 +105,7 @@ function updateSummaryPriceAdd(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function initAddToCart(){
|
function initAddToCart(){
|
||||||
|
debugger;
|
||||||
addEventListeners();
|
addEventListeners();
|
||||||
|
|
||||||
function addToCartFun(){
|
function addToCartFun(){
|
||||||
@@ -124,7 +124,9 @@ function initAddToCart(){
|
|||||||
quantity:$('#quantity').val(),
|
quantity:$('#quantity').val(),
|
||||||
img:$('.productDetailsMain img').attr('src'),
|
img:$('.productDetailsMain img').attr('src'),
|
||||||
sku:$('#skudetailitem').val(),
|
sku:$('#skudetailitem').val(),
|
||||||
totalQty:qty
|
totalQty:qty,
|
||||||
|
productid:$('#productidtag').val(),
|
||||||
|
itemid:$('#itemidtag').val()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -149,7 +151,9 @@ function initAddToCart(){
|
|||||||
quantity: parseInt(data[sku].quantity)+parseInt(quantity),
|
quantity: parseInt(data[sku].quantity)+parseInt(quantity),
|
||||||
img:img,
|
img:img,
|
||||||
sku:sku,
|
sku:sku,
|
||||||
totalQty:qty
|
totalQty:qty,
|
||||||
|
productid:$('#productidtag').val(),
|
||||||
|
itemid:$('#itemidtag').val()
|
||||||
}
|
}
|
||||||
addtoCart(data);
|
addtoCart(data);
|
||||||
}else{
|
}else{
|
||||||
@@ -159,13 +163,15 @@ function initAddToCart(){
|
|||||||
quantity:parseInt(quantity),
|
quantity:parseInt(quantity),
|
||||||
img:img,
|
img:img,
|
||||||
sku:sku,
|
sku:sku,
|
||||||
totalQty:qty
|
totalQty:qty,
|
||||||
|
productid:$('#productidtag').val(),
|
||||||
|
itemid:$('#itemidtag').val()
|
||||||
}
|
}
|
||||||
addtoCart(data);
|
addtoCart(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
debugger;
|
||||||
setLengthCart();
|
setLengthCart();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+32
-14
@@ -4,6 +4,7 @@ debugger;
|
|||||||
function shoppingCartInit() {
|
function shoppingCartInit() {
|
||||||
|
|
||||||
shoppingCartAppend();
|
shoppingCartAppend();
|
||||||
|
let DELETE_FILTER = null;
|
||||||
|
|
||||||
let insufficientQtyActions = {
|
let insufficientQtyActions = {
|
||||||
moreQtyAdd(e){
|
moreQtyAdd(e){
|
||||||
@@ -40,6 +41,7 @@ function shoppingCartInit() {
|
|||||||
$('.emptyShow').removeClass('d-none');
|
$('.emptyShow').removeClass('d-none');
|
||||||
}
|
}
|
||||||
setLengthCart();
|
setLengthCart();
|
||||||
|
console.log(products,'products');
|
||||||
for (let product in products) {
|
for (let product in products) {
|
||||||
|
|
||||||
html += shoppingCartDesktopHTML({ ...products[product], total: products[product].quantity * products[product].price, id: product });
|
html += shoppingCartDesktopHTML({ ...products[product], total: products[product].quantity * products[product].price, id: product });
|
||||||
@@ -118,6 +120,26 @@ function shoppingCartInit() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('.removeitemcartmodal').off('click').click(function (){
|
||||||
|
|
||||||
|
|
||||||
|
setCartData( DELETE_FILTER );
|
||||||
|
setLengthCart();
|
||||||
|
shoppingCartAppend();
|
||||||
|
|
||||||
|
let len = Object.keys(DELETE_FILTER).length
|
||||||
|
if(!len){
|
||||||
|
|
||||||
|
$('.checkoutbtn').addClass('d-none');
|
||||||
|
$('.emptyShow').removeClass('d-none');
|
||||||
|
}else{
|
||||||
|
$('.checkoutbtn').removeClass('d-none');
|
||||||
|
$('.emptyShow').addClass('d-none');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
$('.btndeletecart').each(function (i, element) {
|
$('.btndeletecart').each(function (i, element) {
|
||||||
$(element).click(function (e) {
|
$(element).click(function (e) {
|
||||||
const cardId = $(e.target).data('cartid');
|
const cardId = $(e.target).data('cartid');
|
||||||
@@ -127,24 +149,20 @@ function shoppingCartInit() {
|
|||||||
debugger;
|
debugger;
|
||||||
const products = data;
|
const products = data;
|
||||||
const productsFilter = {};
|
const productsFilter = {};
|
||||||
|
|
||||||
|
$('#modalremovecart').html(products[cardId].name);
|
||||||
for (let product in products) {
|
for (let product in products) {
|
||||||
if (product != cardId) productsFilter[product] = products[product];
|
if (product != cardId) productsFilter[product] = products[product];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
data = productsFilter;
|
data = productsFilter;
|
||||||
let len = Object.keys(data).length
|
|
||||||
if(!len){
|
|
||||||
|
|
||||||
$('.checkoutbtn').addClass('d-none');
|
console.log(data);
|
||||||
$('.emptyShow').removeClass('d-none');
|
DELETE_FILTER = data;
|
||||||
}else{
|
// setCartData(data);
|
||||||
$('.checkoutbtn').removeClass('d-none');
|
// setLengthCart();
|
||||||
$('.emptyShow').addClass('d-none');
|
// shoppingCartAppend();
|
||||||
}
|
|
||||||
setCartData(data);
|
|
||||||
setLengthCart();
|
|
||||||
shoppingCartAppend();
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -199,14 +217,14 @@ function shoppingCartInit() {
|
|||||||
</div>`
|
</div>`
|
||||||
}
|
}
|
||||||
|
|
||||||
function shoppingCartDesktopHTML({ id, img, name, price, description, quantity, total,totalQty }) {
|
function shoppingCartDesktopHTML({ id, img, name, price, description, quantity, total,totalQty,productid,itemid }) {
|
||||||
const [currencySymbol,amt] = getCurrencySymbol(price);
|
const [currencySymbol,amt] = getCurrencySymbol(price);
|
||||||
return `
|
return `
|
||||||
<div class="row bg-white border-bottom py-4 d-flex justify-content-center align-items-center">
|
<div class="row bg-white border-bottom py-4 d-flex justify-content-center align-items-center">
|
||||||
<div class="col-md-2 text-center"><img src="${img}" alt="${name}" class="img-fluid"></div>
|
<div class="col-md-2 text-center"><img src="${img}" alt="${name}" class="img-fluid"></div>
|
||||||
<div class="col-md-4 ">
|
<div class="col-md-4 ">
|
||||||
|
|
||||||
<a class="text-decoration-none text-blue fw-600 cursor-pointer" href="/productdetails.html?productId=${id}">${name}</a>
|
<a class="text-decoration-none text-blue fw-600 cursor-pointer" href="productdetails.html?productId=${productid}#itemid=${itemid}">${name}</a>
|
||||||
<small>${description||''}</small>
|
<small>${description||''}</small>
|
||||||
<span class="badge d-none text-bg-warning">8 Offers ></span>
|
<span class="badge d-none text-bg-warning">8 Offers ></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -222,7 +240,7 @@ function shoppingCartInit() {
|
|||||||
<p class="fw-bold m-0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-currency-rupee" viewBox="0 0 16 16">
|
<p class="fw-bold m-0"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-currency-rupee" viewBox="0 0 16 16">
|
||||||
<path d="M4 3.06h2.726c1.22 0 2.12.575 2.325 1.724H4v1.051h5.051C8.855 7.001 8 7.558 6.788 7.558H4v1.317L8.437 14h2.11L6.095 8.884h.855c2.316-.018 3.465-1.476 3.688-3.049H12V4.784h-1.345c-.08-.778-.357-1.335-.793-1.732H12V2H4v1.06Z"/>
|
<path d="M4 3.06h2.726c1.22 0 2.12.575 2.325 1.724H4v1.051h5.051C8.855 7.001 8 7.558 6.788 7.558H4v1.317L8.437 14h2.11L6.095 8.884h.855c2.316-.018 3.465-1.476 3.688-3.049H12V4.784h-1.345c-.08-.778-.357-1.335-.793-1.732H12V2H4v1.06Z"/>
|
||||||
</svg>${total}</p>
|
</svg>${total}</p>
|
||||||
<span class="btndeletecart cursor-pointer fw-500 text-danger" data-cartid="${id}">x</span>
|
<span class="btndeletecart cursor-pointer fw-500 text-danger" data-cartid="${id}" data-bs-toggle="modal" data-bs-target="#deletecartmodal">x</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="warrenty-sec px-3 sec-space-4 d-none">
|
<div class="warrenty-sec px-3 sec-space-4 d-none">
|
||||||
|
|||||||
벤더링 됨
+29
-15
@@ -3,6 +3,17 @@ const uid = function(){
|
|||||||
return Date.now().toString(36) + Math.random().toString(36).substr(2);
|
return Date.now().toString(36) + Math.random().toString(36).substr(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function loadScript(src) {
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
var s;
|
||||||
|
s = document.createElement('script');
|
||||||
|
s.src = src;
|
||||||
|
s.onload = resolve;
|
||||||
|
s.onerror = reject;
|
||||||
|
document.head.appendChild(s);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function shuffleArray(array) {
|
function shuffleArray(array) {
|
||||||
for (let i = array.length - 1; i > 0; i--) {
|
for (let i = array.length - 1; i > 0; i--) {
|
||||||
@@ -29,24 +40,27 @@ function getCurrencySymbol(value=0) {
|
|||||||
|
|
||||||
function toasterHelper(type,message){
|
function toasterHelper(type,message){
|
||||||
// toasterOpts()
|
// toasterOpts()
|
||||||
|
debugger;
|
||||||
|
toasterOpts();
|
||||||
Command: toastr[type](message);
|
Command: toastr[type](message);
|
||||||
|
|
||||||
function toasterOpts(){
|
function toasterOpts(){
|
||||||
toastr.options = {
|
toastr.options = {
|
||||||
"closeButton": true,
|
"closeButton": true,
|
||||||
"debug": false,
|
"debug": false,
|
||||||
"newestOnTop": true,
|
"newestOnTop": true,
|
||||||
"progressBar": true,
|
"progressBar": true,
|
||||||
"positionClass": "toast-top-center",
|
"positionClass": "toast-top-center",
|
||||||
"preventDuplicates": true,
|
"preventDuplicates": true,
|
||||||
"onclick": null,
|
"onclick": null,
|
||||||
"showDuration": "300",
|
"showDuration": "300",
|
||||||
"hideDuration": "1000",
|
"hideDuration": "1000",
|
||||||
"timeOut": "5000",
|
"timeOut": "5000",
|
||||||
"extendedTimeOut": "1000",
|
"extendedTimeOut": "1000",
|
||||||
"showEasing": "swing",
|
"showEasing": "swing",
|
||||||
"hideEasing": "linear",
|
"hideEasing": "linear",
|
||||||
"showMethod": "fadeIn",
|
"showMethod": "fadeIn",
|
||||||
"hideMethod": "fadeOut"
|
"hideMethod": "fadeOut"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+5
-2
@@ -298,13 +298,16 @@
|
|||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
<div id="footer-head" class="sec-space-12"></div>
|
<div id="footer-head" class="sec-space-12"></div>
|
||||||
<!-- end-footer -->
|
<!-- end-footer -->
|
||||||
|
<script src="./libs/cookies.min.js"></script>
|
||||||
|
<script src="./libs/axios.min.js"></script>
|
||||||
|
<script src="./dist/js/utils/helpers.js"></script>
|
||||||
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<script src="./dist/js/jquery.min.js"></script>
|
<script src="./dist/js/jquery.min.js"></script>
|
||||||
<script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
|
<script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
|
||||||
<script src="./dist/js/navbar.js"></script>
|
<script src="./dist/js/navbar.js"></script>
|
||||||
<script src="./dist/js/axios.min.js"></script>
|
|
||||||
<script src="./dist/js/footer.js"></script>
|
<script src="./dist/js/footer.js"></script>
|
||||||
<script src="./dist/js/cookies.min.js"></script>
|
|
||||||
<script src="./dist/js/fontawesome.all.js"></script>
|
<script src="./dist/js/fontawesome.all.js"></script>
|
||||||
<script src="./dist/js/fontawesome.min.js"></script>
|
<script src="./dist/js/fontawesome.min.js"></script>
|
||||||
<script src="./dist/js/vendor/modernizr-3.11.7.min.js"></script>
|
<script src="./dist/js/vendor/modernizr-3.11.7.min.js"></script>
|
||||||
|
|||||||
+3
-1
@@ -562,6 +562,8 @@
|
|||||||
<!-- end-footer -->
|
<!-- end-footer -->
|
||||||
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<script src="./dist/js/jquery.min.js"></script>
|
<script src="./dist/js/jquery.min.js"></script>
|
||||||
|
<script src="./dist/js/utils/helpers.js"></script>
|
||||||
|
|
||||||
<script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
|
<script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
|
||||||
<script src="./dist/js/shoppingcart/addtocart.js"></script>
|
<script src="./dist/js/shoppingcart/addtocart.js"></script>
|
||||||
<script src="./dist/js/auth/apiservice.js"></script>
|
<script src="./dist/js/auth/apiservice.js"></script>
|
||||||
@@ -583,7 +585,7 @@
|
|||||||
<script src="./dist/js/utils/CookieHelper.js"></script>
|
<script src="./dist/js/utils/CookieHelper.js"></script>
|
||||||
<script src="./dist/toaster/toastr.js"></script>
|
<script src="./dist/toaster/toastr.js"></script>
|
||||||
<script src="./dist/js/auth/login.js"></script>
|
<script src="./dist/js/auth/login.js"></script>
|
||||||
<script src="./dist/js/navbar1.js"></script>
|
<script src="./dist/js/navbar.js"></script>
|
||||||
<script src="./dist/js/footer.js"></script>
|
<script src="./dist/js/footer.js"></script>
|
||||||
<!-- Main JS -->
|
<!-- Main JS -->
|
||||||
<script src="./dist/js/main.js"></script>
|
<script src="./dist/js/main.js"></script>
|
||||||
|
|||||||
+13
-4
@@ -67,7 +67,7 @@
|
|||||||
<hr class="m-0 p-0"/>
|
<hr class="m-0 p-0"/>
|
||||||
<div class="p-3">
|
<div class="p-3">
|
||||||
<div>
|
<div>
|
||||||
<div class="row">
|
<div class="row d-none">
|
||||||
<div class="col-4 font-weight-600">
|
<div class="col-4 font-weight-600">
|
||||||
Order Summary
|
Order Summary
|
||||||
</div>
|
</div>
|
||||||
@@ -81,8 +81,16 @@
|
|||||||
Total
|
Total
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="orderlistconfirm">
|
<div class="orderlistconfirm row">
|
||||||
|
<div class="col-sm-4">
|
||||||
|
<img src="./dist/assets/imgs/accessiories/processed-079a4496-e3fb-44fe-81ab-d0ca2e5cdfdd_ZHABV48Z.jpeg" alt="" class="w-100 h-100">
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-8 ">
|
||||||
|
<div class="itemname">${name}</div>
|
||||||
|
<div> ${priceAmt}</div>
|
||||||
|
<div> ${qty}</div>
|
||||||
|
<div> ${totalAmt}</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -116,7 +124,7 @@
|
|||||||
|
|
||||||
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<script src="./dist/js/jquery.min.js"></script>
|
<script src="./dist/js/jquery.min.js"></script>
|
||||||
<script src="./dist/js/navbar1.js"></script>
|
|
||||||
|
|
||||||
<script src="./dist/js/footer.js"></script>
|
<script src="./dist/js/footer.js"></script>
|
||||||
<script src="./libs/cookies.min.js"></script>
|
<script src="./libs/cookies.min.js"></script>
|
||||||
@@ -138,6 +146,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<script src="./dist/js/orderconfirmation.js"></script>
|
<script src="./dist/js/orderconfirmation.js"></script>
|
||||||
|
<script src="./dist/js/navbar.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -305,7 +305,7 @@
|
|||||||
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<script src="./dist/js/jquery.min.js"></script>
|
<script src="./dist/js/jquery.min.js"></script>
|
||||||
<script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
|
<script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
|
||||||
<script src="./dist/js/navbar.js"></script>
|
|
||||||
<script src="./dist/js/axios.min.js"></script>
|
<script src="./dist/js/axios.min.js"></script>
|
||||||
<script src="./dist/js/footer.js"></script>
|
<script src="./dist/js/footer.js"></script>
|
||||||
<script src="./libs/cookies.min.js"></script>
|
<script src="./libs/cookies.min.js"></script>
|
||||||
@@ -324,8 +324,10 @@
|
|||||||
<script src="./dist/js/plugins/isotope.js"></script>
|
<script src="./dist/js/plugins/isotope.js"></script>
|
||||||
<script src="./dist/js/plugins/jquery-ui.js"></script>
|
<script src="./dist/js/plugins/jquery-ui.js"></script>
|
||||||
<script src="./dist/js/plugins/magnific-popup.js"></script>
|
<script src="./dist/js/plugins/magnific-popup.js"></script>
|
||||||
|
<script src="./dist/js/navbar.js"></script>
|
||||||
<!-- Main JS -->
|
<!-- Main JS -->
|
||||||
<script src="./dist/js/main.js"></script>
|
<script src="./dist/js/main.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
let list_imgs = [
|
let list_imgs = [
|
||||||
|
|||||||
@@ -63,6 +63,8 @@
|
|||||||
<div class="d-none">
|
<div class="d-none">
|
||||||
<!-- <div class="d-none d-xl-flex flex-column col-xl-2"> -->
|
<!-- <div class="d-none d-xl-flex flex-column col-xl-2"> -->
|
||||||
<div class=" d-flex flex-column gap-2 p-2 d-none">
|
<div class=" d-flex flex-column gap-2 p-2 d-none">
|
||||||
|
<input type="hidden" id="productidtag">
|
||||||
|
<input type="hidden" id="itemidtag">
|
||||||
<!-- <div class="product-item-gallery active-gallery-img">
|
<!-- <div class="product-item-gallery active-gallery-img">
|
||||||
<img src="./dist/assets/imgs/Navbar/Accessiories-1.png" alt=""
|
<img src="./dist/assets/imgs/Navbar/Accessiories-1.png" alt=""
|
||||||
class="w-100 h-100">
|
class="w-100 h-100">
|
||||||
|
|||||||
+3
-1
@@ -257,6 +257,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
<div id="footer-head" class=""></div>
|
<div id="footer-head" class=""></div>
|
||||||
<div class="paymentgatewaypage d-none">
|
<div class="paymentgatewaypage d-none">
|
||||||
@@ -273,7 +274,7 @@
|
|||||||
<!-- <script src="./libs/select2/select2.js"></script> -->
|
<!-- <script src="./libs/select2/select2.js"></script> -->
|
||||||
|
|
||||||
|
|
||||||
<script src="./dist/js/navbar.js"></script>
|
|
||||||
<script src="./libs/axios.min.js"></script>
|
<script src="./libs/axios.min.js"></script>
|
||||||
<script src="./dist/js/footer.js"></script>
|
<script src="./dist/js/footer.js"></script>
|
||||||
<script src="./libs/cookies.min.js"></script>
|
<script src="./libs/cookies.min.js"></script>
|
||||||
@@ -302,6 +303,7 @@
|
|||||||
<script src="./dist/js/components/authloader/authloader.js"></script>
|
<script src="./dist/js/components/authloader/authloader.js"></script>
|
||||||
|
|
||||||
<script src="./dist/js/localstorage/checkout.js"></script>
|
<script src="./dist/js/localstorage/checkout.js"></script>
|
||||||
|
<script src="./dist/js/navbar.js"></script>
|
||||||
<!-- <script src="./dist/js/shoppingcart/selectdelivery.js"></script> -->
|
<!-- <script src="./dist/js/shoppingcart/selectdelivery.js"></script> -->
|
||||||
<script src="./dist/js/shoppingcart/select_delivery.js"></script>
|
<script src="./dist/js/shoppingcart/select_delivery.js"></script>
|
||||||
|
|
||||||
|
|||||||
+32
-1
@@ -361,12 +361,43 @@
|
|||||||
<!-- delivery to -->
|
<!-- delivery to -->
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
<!-- modal -->
|
||||||
|
<!-- Button trigger modal -->
|
||||||
|
<!-- <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#deletecartmodal">
|
||||||
|
Launch demo modal
|
||||||
|
</button> -->
|
||||||
|
|
||||||
|
<!-- Modal -->
|
||||||
|
<div class="modal fade" id="deletecartmodal" tabindex="-1" aria-labelledby="modalremovecart" aria-hidden="true">
|
||||||
|
<div class="modal-dialog">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h1 class="modal-title fs-5" id="modalremovecart">Modal title</h1>
|
||||||
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<div>
|
||||||
|
Are you sure? You want to delete this item?
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||||
|
<button type="button" data-bs-dismiss="modal" class="btn btn-danger removeitemcartmodal">Remove item</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- modal -->
|
||||||
|
|
||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
<div id="footer-head"></div>
|
<div id="footer-head"></div>
|
||||||
<!-- end-footer -->
|
<!-- end-footer -->
|
||||||
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="./libs/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
<script src="./dist/js/jquery.min.js"></script>
|
<script src="./dist/js/jquery.min.js"></script>
|
||||||
<script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
|
<script src="./libs/owlcarousel/js/owl.carousel.min.js"></script>
|
||||||
|
<script src="./dist/js/utils/helpers.js"></script>
|
||||||
<script src="./dist/js/navbar.js"></script>
|
<script src="./dist/js/navbar.js"></script>
|
||||||
<script src="./libs/axios.min.js"></script>
|
<script src="./libs/axios.min.js"></script>
|
||||||
<script src="./dist/js/footer.js"></script>
|
<script src="./dist/js/footer.js"></script>
|
||||||
@@ -388,7 +419,7 @@
|
|||||||
<script src="./dist/js/plugins/jquery-ui.js"></script>
|
<script src="./dist/js/plugins/jquery-ui.js"></script>
|
||||||
<script src="./dist/js/plugins/magnific-popup.js"></script>
|
<script src="./dist/js/plugins/magnific-popup.js"></script>
|
||||||
<!-- Main JS -->
|
<!-- Main JS -->
|
||||||
<script src="./dist/js/utils/helpers.js"></script>
|
|
||||||
<script src="./dist/js/main.js"></script>
|
<script src="./dist/js/main.js"></script>
|
||||||
<script src="./dist/js/auth/apiservice.js"></script>
|
<script src="./dist/js/auth/apiservice.js"></script>
|
||||||
<script src="./dist/js/shoppingcart/addtocart.js"></script>
|
<script src="./dist/js/shoppingcart/addtocart.js"></script>
|
||||||
|
|||||||
새 이슈에서 참조
사용자 차단