$product = {"id":7411461259363,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb63","description":null,"published_at":"2024-06-11T17:45:40+08:00","created_at":"2024-05-05T00:34:12+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":41899182096483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31480481972323,"product_id":7411461259363,"position":7,"created_at":"2024-05-05T00:34:28+08:00","updated_at":"2024-05-05T00:34:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22f45dd62680dbb2f6cf5193e2c85949ad2e1328_507d254d-e4fa-4c97-9d60-1a30ea965303.webp?v=1714840468","variant_ids":[41899182096483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB63","featured_media":{"alt":null,"id":23885733855331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22f45dd62680dbb2f6cf5193e2c85949ad2e1328_507d254d-e4fa-4c97-9d60-1a30ea965303.webp?v=1714840468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899182194787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31480481513571,"product_id":7411461259363,"position":6,"created_at":"2024-05-05T00:34:25+08:00","updated_at":"2024-05-05T00:34:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/761a3b1e3daa39aba77058724262dac753483563_359dd393-8eb7-4d92-8b9d-dd701d110b86.webp?v=1714840465","variant_ids":[41899182194787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB63","featured_media":{"alt":null,"id":23885733363811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/761a3b1e3daa39aba77058724262dac753483563_359dd393-8eb7-4d92-8b9d-dd701d110b86.webp?v=1714840465"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899182686307,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31480480989283,"product_id":7411461259363,"position":5,"created_at":"2024-05-05T00:34:23+08:00","updated_at":"2024-05-05T00:34:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f985e83ad0a2458961e470c47a0727a9948d3a83_bb6a82c5-c85b-4ee1-a913-c52541045dc6.webp?v=1714840463","variant_ids":[41899182686307]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB63","featured_media":{"alt":null,"id":23885732872291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f985e83ad0a2458961e470c47a0727a9948d3a83_bb6a82c5-c85b-4ee1-a913-c52541045dc6.webp?v=1714840463"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f6d8a2d33c441c76ed311643fbe881ba199c66_b0144579-2312-4895-82d0-f9e642144d1b.webp?v=1714840454","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cfdc03f7fe42c0a8997e86db38b746b2475ab04_c821c5e0-6764-43fd-a5ec-7c191c374627.webp?v=1714840456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/161b7f237b06c44c78eba67c3c0e5d8c5db1c91c_efc0fb81-0442-4ef9-8360-0a50accfd80e.webp?v=1714840459","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0267db5aca4b7bf2cf991ad3d430e82ea7602df_ce4cca93-aa5f-4bad-9284-dd59df88f54f.webp?v=1714840461","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f985e83ad0a2458961e470c47a0727a9948d3a83_bb6a82c5-c85b-4ee1-a913-c52541045dc6.webp?v=1714840463","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/761a3b1e3daa39aba77058724262dac753483563_359dd393-8eb7-4d92-8b9d-dd701d110b86.webp?v=1714840465","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22f45dd62680dbb2f6cf5193e2c85949ad2e1328_507d254d-e4fa-4c97-9d60-1a30ea965303.webp?v=1714840468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d58f8a7bf179a50a0bf4c8bece9300a00ff100c1_5be98d88-b43f-4af5-a1dd-325f4db80b00.webp?v=1714840470","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa40db478a5ea97cdf359a8647dcc072481c331_bd214e51-4865-487c-91d4-da98b4034c6b.webp?v=1714840472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7803b17bd0186f78b8ba150d8f22480c5ba2589a_8d96c860-fbbc-4517-ac61-61d9e88624bd.webp?v=1714840475"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f6d8a2d33c441c76ed311643fbe881ba199c66_b0144579-2312-4895-82d0-f9e642144d1b.webp?v=1714840454","options":["color"],"media":[{"alt":null,"id":23885730938979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f6d8a2d33c441c76ed311643fbe881ba199c66_b0144579-2312-4895-82d0-f9e642144d1b.webp?v=1714840454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f6d8a2d33c441c76ed311643fbe881ba199c66_b0144579-2312-4895-82d0-f9e642144d1b.webp?v=1714840454","width":2000},{"alt":null,"id":23885731496035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cfdc03f7fe42c0a8997e86db38b746b2475ab04_c821c5e0-6764-43fd-a5ec-7c191c374627.webp?v=1714840456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cfdc03f7fe42c0a8997e86db38b746b2475ab04_c821c5e0-6764-43fd-a5ec-7c191c374627.webp?v=1714840456","width":2000},{"alt":null,"id":23885731889251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/161b7f237b06c44c78eba67c3c0e5d8c5db1c91c_efc0fb81-0442-4ef9-8360-0a50accfd80e.webp?v=1714840459"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/161b7f237b06c44c78eba67c3c0e5d8c5db1c91c_efc0fb81-0442-4ef9-8360-0a50accfd80e.webp?v=1714840459","width":2000},{"alt":null,"id":23885732380771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0267db5aca4b7bf2cf991ad3d430e82ea7602df_ce4cca93-aa5f-4bad-9284-dd59df88f54f.webp?v=1714840461"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0267db5aca4b7bf2cf991ad3d430e82ea7602df_ce4cca93-aa5f-4bad-9284-dd59df88f54f.webp?v=1714840461","width":2000},{"alt":null,"id":23885732872291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f985e83ad0a2458961e470c47a0727a9948d3a83_bb6a82c5-c85b-4ee1-a913-c52541045dc6.webp?v=1714840463"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f985e83ad0a2458961e470c47a0727a9948d3a83_bb6a82c5-c85b-4ee1-a913-c52541045dc6.webp?v=1714840463","width":2000},{"alt":null,"id":23885733363811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/761a3b1e3daa39aba77058724262dac753483563_359dd393-8eb7-4d92-8b9d-dd701d110b86.webp?v=1714840465"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/761a3b1e3daa39aba77058724262dac753483563_359dd393-8eb7-4d92-8b9d-dd701d110b86.webp?v=1714840465","width":2000},{"alt":null,"id":23885733855331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22f45dd62680dbb2f6cf5193e2c85949ad2e1328_507d254d-e4fa-4c97-9d60-1a30ea965303.webp?v=1714840468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22f45dd62680dbb2f6cf5193e2c85949ad2e1328_507d254d-e4fa-4c97-9d60-1a30ea965303.webp?v=1714840468","width":2000},{"alt":null,"id":23885734412387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d58f8a7bf179a50a0bf4c8bece9300a00ff100c1_5be98d88-b43f-4af5-a1dd-325f4db80b00.webp?v=1714840470"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d58f8a7bf179a50a0bf4c8bece9300a00ff100c1_5be98d88-b43f-4af5-a1dd-325f4db80b00.webp?v=1714840470","width":2000},{"alt":null,"id":23885734838371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa40db478a5ea97cdf359a8647dcc072481c331_bd214e51-4865-487c-91d4-da98b4034c6b.webp?v=1714840472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa40db478a5ea97cdf359a8647dcc072481c331_bd214e51-4865-487c-91d4-da98b4034c6b.webp?v=1714840472","width":2000},{"alt":null,"id":23885735460963,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7803b17bd0186f78b8ba150d8f22480c5ba2589a_8d96c860-fbbc-4517-ac61-61d9e88624bd.webp?v=1714840475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7803b17bd0186f78b8ba150d8f22480c5ba2589a_8d96c860-fbbc-4517-ac61-61d9e88624bd.webp?v=1714840475","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41899182096483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31480481972323,"product_id":7411461259363,"position":7,"created_at":"2024-05-05T00:34:28+08:00","updated_at":"2024-05-05T00:34:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22f45dd62680dbb2f6cf5193e2c85949ad2e1328_507d254d-e4fa-4c97-9d60-1a30ea965303.webp?v=1714840468","variant_ids":[41899182096483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB63","featured_media":{"alt":null,"id":23885733855331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22f45dd62680dbb2f6cf5193e2c85949ad2e1328_507d254d-e4fa-4c97-9d60-1a30ea965303.webp?v=1714840468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899182194787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31480481513571,"product_id":7411461259363,"position":6,"created_at":"2024-05-05T00:34:25+08:00","updated_at":"2024-05-05T00:34:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/761a3b1e3daa39aba77058724262dac753483563_359dd393-8eb7-4d92-8b9d-dd701d110b86.webp?v=1714840465","variant_ids":[41899182194787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB63","featured_media":{"alt":null,"id":23885733363811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/761a3b1e3daa39aba77058724262dac753483563_359dd393-8eb7-4d92-8b9d-dd701d110b86.webp?v=1714840465"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899182686307,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31480480989283,"product_id":7411461259363,"position":5,"created_at":"2024-05-05T00:34:23+08:00","updated_at":"2024-05-05T00:34:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f985e83ad0a2458961e470c47a0727a9948d3a83_bb6a82c5-c85b-4ee1-a913-c52541045dc6.webp?v=1714840463","variant_ids":[41899182686307]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB63","featured_media":{"alt":null,"id":23885732872291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f985e83ad0a2458961e470c47a0727a9948d3a83_bb6a82c5-c85b-4ee1-a913-c52541045dc6.webp?v=1714840463"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41899182096483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31480481972323,"product_id":7411461259363,"position":7,"created_at":"2024-05-05T00:34:28+08:00","updated_at":"2024-05-05T00:34:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22f45dd62680dbb2f6cf5193e2c85949ad2e1328_507d254d-e4fa-4c97-9d60-1a30ea965303.webp?v=1714840468","variant_ids":[41899182096483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB63","featured_media":{"alt":null,"id":23885733855331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22f45dd62680dbb2f6cf5193e2c85949ad2e1328_507d254d-e4fa-4c97-9d60-1a30ea965303.webp?v=1714840468"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$brand_handle = null;
$type = "";
var sellingStatus
// 只有設計款(SKU 含 '-')才需要合圖
if ($isMerge && $defaultVariant.sku.includes('-')) {
$(document).ready(function() {
var productImg = $product.images[0];
var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]);
var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate')
? [productImg, bumperImg]
: [bumperImg, productImg];
window.mergeProductImages(layers).then(function (mergedImg) {
$('.merged-img').attr('src', mergedImg);
});
});
};
var sellingStatusData
window.fetchSellingStatus().then(data => {
try {
sellingStatusData = data;
} catch (error) {
sellingStatusData = null
console.error('Unable to parse selling status', error)
}
$(document).ready(function() {
handleSellingStatus($defaultVariant.sku);
});
})
function handleSellingStatus(currentSku) {
if (!sellingStatusData) {
console.error('No selling status available!')
return
}
const sellingStatusElement = document.getElementById('selling-status')
const addToCartButton = document.getElementById('AddToCart-product-template')
const currentProductSku = currentSku.replace(/-(.*)$/, '-')
if ($variants) {
const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder]
const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku)
if (matchSellingStatusProduct.length > 0) {
const isProductPending = matchSellingStatusProduct[0].status === 'pending'
const matchDate = matchSellingStatusProduct[0].date
sellingStatus = isProductPending
? "缺貨中"
: "預購完成出貨日:" + matchDate
sellingStatusElement.textContent = sellingStatus
if (sellingStatus.includes("缺貨中")){
addToCartButton.disabled ='true';
addToCartButton.textContent = "缺貨中無法加入購物車"
} else {
addToCartButton.textContent = "加到購物車"
}
} else {
sellingStatusElement.textContent = ''
addToCartButton.textContent = "加到購物車"
};
};
};
document.addEventListener('DOMContentLoaded', function () {
var currentVariantSelect = document.getElementById('SingleOptionSelector-0')
currentVariantSelect.addEventListener('change', function() {
var currentSku = $('#current_sku').text()
var skuElement = document.getElementById('current-sku')
skuElement.textContent = currentSku
handleSellingStatus(currentSku)
});
});
// Override default values of shop.strings for each template.
// Alternate product templates can change values of
// add to cart button, sold out, and unavailable states here.
theme.productStrings = {
addToCart: "加到購物車",
soldOut: "售完",
unavailable: "停產"
}