Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念
$product = {"id":7411262914659,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念","handle":"iphone-14-pro-mod-nx-magsafe-printable-yf05","description":null,"published_at":"2024-06-11T17:40:14+08:00","created_at":"2024-05-04T23:56:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-stitch","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":41896688549987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479987503203,"product_id":7411262914659,"position":1,"created_at":"2024-05-04T23:56:05+08:00","updated_at":"2024-05-04T23:56:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165","variant_ids":[41896688549987]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23885238009955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896688615523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479991271523,"product_id":7411262914659,"position":7,"created_at":"2024-05-04T23:56:21+08:00","updated_at":"2024-05-04T23:56:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f526479bf0e0dc9366492c2694d2172ef7b8b9_5645f5b1-bdb7-4de5-b241-c6414261ce73.webp?v=1714838181","variant_ids":[41896688615523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23885241876579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f526479bf0e0dc9366492c2694d2172ef7b8b9_5645f5b1-bdb7-4de5-b241-c6414261ce73.webp?v=1714838181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896688877667,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479992320099,"product_id":7411262914659,"position":9,"created_at":"2024-05-04T23:56:26+08:00","updated_at":"2024-05-04T23:56:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5040cf905605f63eba6f16bdf559276f20bc234c_b3ce5011-5df9-4d02-9de2-af03b417050a.webp?v=1714838186","variant_ids":[41896688877667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23885242925155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5040cf905605f63eba6f16bdf559276f20bc234c_b3ce5011-5df9-4d02-9de2-af03b417050a.webp?v=1714838186"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e3a4c0729735c3e7bcac01ee2996cf2cd2c5be0_25caee0b-d4b9-41e8-b79b-85d1f222379b.webp?v=1714838169","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bcf4a80a4852e1a4eae041d28e6996552cefc86_c27c78b9-b5cc-468b-a6b8-f6e63e65f002.webp?v=1714838171","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/546144053692396b9b3b4d6295e8a3c620b477ab_ff5a4dcc-989f-4d01-a156-bf104123d237.webp?v=1714838174","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c6622ef90ee8e5f7271801218e81f3c37366d56_bf69d3c1-2733-4126-8ada-29f4f0ef1f13.webp?v=1714838176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cdf5c01212da8edb7620f2687bfb0c9756c4587_012f0334-df34-45f0-9cce-b0d961b81583.webp?v=1714838179","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f526479bf0e0dc9366492c2694d2172ef7b8b9_5645f5b1-bdb7-4de5-b241-c6414261ce73.webp?v=1714838181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180728f7b43dde6220e394ced336e139eef36e77_6cf13cbf-e0b6-488a-a1bf-6b81a3bfe515.webp?v=1714838184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5040cf905605f63eba6f16bdf559276f20bc234c_b3ce5011-5df9-4d02-9de2-af03b417050a.webp?v=1714838186","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43a2443f4fb837102c1e8bfc32d6e73784289b5_c6ad5bf6-7523-4b06-b361-fc92dbcf48b2.webp?v=1714838188"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165","options":["color"],"media":[{"alt":null,"id":23885238009955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165","width":2000},{"alt":null,"id":23885238861923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e3a4c0729735c3e7bcac01ee2996cf2cd2c5be0_25caee0b-d4b9-41e8-b79b-85d1f222379b.webp?v=1714838169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e3a4c0729735c3e7bcac01ee2996cf2cd2c5be0_25caee0b-d4b9-41e8-b79b-85d1f222379b.webp?v=1714838169","width":2000},{"alt":null,"id":23885239124067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bcf4a80a4852e1a4eae041d28e6996552cefc86_c27c78b9-b5cc-468b-a6b8-f6e63e65f002.webp?v=1714838171"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bcf4a80a4852e1a4eae041d28e6996552cefc86_c27c78b9-b5cc-468b-a6b8-f6e63e65f002.webp?v=1714838171","width":2000},{"alt":null,"id":23885240270947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/546144053692396b9b3b4d6295e8a3c620b477ab_ff5a4dcc-989f-4d01-a156-bf104123d237.webp?v=1714838174"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/546144053692396b9b3b4d6295e8a3c620b477ab_ff5a4dcc-989f-4d01-a156-bf104123d237.webp?v=1714838174","width":2000},{"alt":null,"id":23885240631395,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c6622ef90ee8e5f7271801218e81f3c37366d56_bf69d3c1-2733-4126-8ada-29f4f0ef1f13.webp?v=1714838176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c6622ef90ee8e5f7271801218e81f3c37366d56_bf69d3c1-2733-4126-8ada-29f4f0ef1f13.webp?v=1714838176","width":2000},{"alt":null,"id":23885241516131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cdf5c01212da8edb7620f2687bfb0c9756c4587_012f0334-df34-45f0-9cce-b0d961b81583.webp?v=1714838179"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cdf5c01212da8edb7620f2687bfb0c9756c4587_012f0334-df34-45f0-9cce-b0d961b81583.webp?v=1714838179","width":2000},{"alt":null,"id":23885241876579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f526479bf0e0dc9366492c2694d2172ef7b8b9_5645f5b1-bdb7-4de5-b241-c6414261ce73.webp?v=1714838181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f526479bf0e0dc9366492c2694d2172ef7b8b9_5645f5b1-bdb7-4de5-b241-c6414261ce73.webp?v=1714838181","width":2000},{"alt":null,"id":23885242400867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180728f7b43dde6220e394ced336e139eef36e77_6cf13cbf-e0b6-488a-a1bf-6b81a3bfe515.webp?v=1714838184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/180728f7b43dde6220e394ced336e139eef36e77_6cf13cbf-e0b6-488a-a1bf-6b81a3bfe515.webp?v=1714838184","width":2000},{"alt":null,"id":23885242925155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5040cf905605f63eba6f16bdf559276f20bc234c_b3ce5011-5df9-4d02-9de2-af03b417050a.webp?v=1714838186"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5040cf905605f63eba6f16bdf559276f20bc234c_b3ce5011-5df9-4d02-9de2-af03b417050a.webp?v=1714838186","width":2000},{"alt":null,"id":23885243416675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43a2443f4fb837102c1e8bfc32d6e73784289b5_c6ad5bf6-7523-4b06-b361-fc92dbcf48b2.webp?v=1714838188"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43a2443f4fb837102c1e8bfc32d6e73784289b5_c6ad5bf6-7523-4b06-b361-fc92dbcf48b2.webp?v=1714838188","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896688549987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479987503203,"product_id":7411262914659,"position":1,"created_at":"2024-05-04T23:56:05+08:00","updated_at":"2024-05-04T23:56:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165","variant_ids":[41896688549987]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23885238009955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896688615523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479991271523,"product_id":7411262914659,"position":7,"created_at":"2024-05-04T23:56:21+08:00","updated_at":"2024-05-04T23:56:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f526479bf0e0dc9366492c2694d2172ef7b8b9_5645f5b1-bdb7-4de5-b241-c6414261ce73.webp?v=1714838181","variant_ids":[41896688615523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23885241876579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27f526479bf0e0dc9366492c2694d2172ef7b8b9_5645f5b1-bdb7-4de5-b241-c6414261ce73.webp?v=1714838181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896688877667,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479992320099,"product_id":7411262914659,"position":9,"created_at":"2024-05-04T23:56:26+08:00","updated_at":"2024-05-04T23:56:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5040cf905605f63eba6f16bdf559276f20bc234c_b3ce5011-5df9-4d02-9de2-af03b417050a.webp?v=1714838186","variant_ids":[41896688877667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23885242925155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5040cf905605f63eba6f16bdf559276f20bc234c_b3ce5011-5df9-4d02-9de2-af03b417050a.webp?v=1714838186"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896688549987,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479987503203,"product_id":7411262914659,"position":1,"created_at":"2024-05-04T23:56:05+08:00","updated_at":"2024-05-04T23:56:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165","variant_ids":[41896688549987]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷紀念 - 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-YF05","featured_media":{"alt":null,"id":23885238009955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc026e76e34b5fec46689e07d608de31eb97a65a_0ef14790-31f8-4ddc-8f2e-c35c1de65b70.webp?v=1714838165"}},"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: "停產"
}