Home
›
犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 願傷疤 有天開出花(澳洲叢林大火)
$product = {"id":7407973695587,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 願傷疤 有天開出花(澳洲叢林大火)","handle":"iphone-14-pro-mod-nx-printable-af02","description":null,"published_at":"2024-06-11T16:28:02+08:00","created_at":"2024-05-03T11:26:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-look","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41881241256035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470848606307,"product_id":7407973695587,"position":8,"created_at":"2024-05-03T11:26:58+08:00","updated_at":"2024-05-03T11:26:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5b8c52ed1a33313ca1ce18dc7a35584676ec30_91fe30a2-fb47-4215-b20c-6cfa6f7901cb.webp?v=1714706818","variant_ids":[41881241256035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 願傷疤 有天開出花(澳洲叢林大火) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AF02","featured_media":{"alt":null,"id":23875753082979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5b8c52ed1a33313ca1ce18dc7a35584676ec30_91fe30a2-fb47-4215-b20c-6cfa6f7901cb.webp?v=1714706818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881241321571,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470849130595,"product_id":7407973695587,"position":9,"created_at":"2024-05-03T11:27:01+08:00","updated_at":"2024-05-03T11:27:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aefa16ab66620a8d65e0467a7bbee057d76b5da_df137096-5d0c-4f89-af8b-49a6a801f984.webp?v=1714706821","variant_ids":[41881241321571]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 願傷疤 有天開出花(澳洲叢林大火) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-AF02","featured_media":{"alt":null,"id":23875753574499,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aefa16ab66620a8d65e0467a7bbee057d76b5da_df137096-5d0c-4f89-af8b-49a6a801f984.webp?v=1714706821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881241550947,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470846378083,"product_id":7407973695587,"position":4,"created_at":"2024-05-03T11:26:48+08:00","updated_at":"2024-05-03T11:26:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa1ff10eef67885b9f38f08217615b218304cd65_43e93ebd-1090-4ff0-adb2-7a3c01faf302.webp?v=1714706808","variant_ids":[41881241550947]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 願傷疤 有天開出花(澳洲叢林大火) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-AF02","featured_media":{"alt":null,"id":23875750821987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa1ff10eef67885b9f38f08217615b218304cd65_43e93ebd-1090-4ff0-adb2-7a3c01faf302.webp?v=1714706808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e434dd25226bb73da31016db3a2278acd2d1bd23_6349b9e4-70b2-4d87-b764-8777a446fb47.webp?v=1714706801","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c4e36d5fa93e39c2ced667747cf70f103c3fbd5_b0ff7235-312a-4a19-a5b5-3474ec4ab421.webp?v=1714706803","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da64440dda212b5990fb35d7a510eac92f883b37_66cfe0ec-83d9-4e50-93b3-a0b08feda84d.webp?v=1714706806","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa1ff10eef67885b9f38f08217615b218304cd65_43e93ebd-1090-4ff0-adb2-7a3c01faf302.webp?v=1714706808","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4f69568e872d1e50a8082d6c6d93b239aff05d7_7fbe55a7-32d1-4a85-83de-17b85ac7dff8.webp?v=1714706811","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57e49e37507ecec8b38bba6fc09f0bc0040b078_de451063-5610-4536-bb38-89b47d57c5d7.webp?v=1714706813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a261d2ad6cb38f572d297d40f22e04dca888f3de_7dd8ab96-8296-48c5-80ee-11dc252cfcb8.webp?v=1714706816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5b8c52ed1a33313ca1ce18dc7a35584676ec30_91fe30a2-fb47-4215-b20c-6cfa6f7901cb.webp?v=1714706818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aefa16ab66620a8d65e0467a7bbee057d76b5da_df137096-5d0c-4f89-af8b-49a6a801f984.webp?v=1714706821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e9dcfc68119ad267b5870c59f7076af858a7be6_1db1af0c-860f-4cc7-8c0a-8bfc43b3a4d8.webp?v=1714706823"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e434dd25226bb73da31016db3a2278acd2d1bd23_6349b9e4-70b2-4d87-b764-8777a446fb47.webp?v=1714706801","options":["color"],"media":[{"alt":null,"id":23875749576803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e434dd25226bb73da31016db3a2278acd2d1bd23_6349b9e4-70b2-4d87-b764-8777a446fb47.webp?v=1714706801"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e434dd25226bb73da31016db3a2278acd2d1bd23_6349b9e4-70b2-4d87-b764-8777a446fb47.webp?v=1714706801","width":2000},{"alt":null,"id":23875750002787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c4e36d5fa93e39c2ced667747cf70f103c3fbd5_b0ff7235-312a-4a19-a5b5-3474ec4ab421.webp?v=1714706803"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c4e36d5fa93e39c2ced667747cf70f103c3fbd5_b0ff7235-312a-4a19-a5b5-3474ec4ab421.webp?v=1714706803","width":2000},{"alt":null,"id":23875750527075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da64440dda212b5990fb35d7a510eac92f883b37_66cfe0ec-83d9-4e50-93b3-a0b08feda84d.webp?v=1714706806"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da64440dda212b5990fb35d7a510eac92f883b37_66cfe0ec-83d9-4e50-93b3-a0b08feda84d.webp?v=1714706806","width":2000},{"alt":null,"id":23875750821987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa1ff10eef67885b9f38f08217615b218304cd65_43e93ebd-1090-4ff0-adb2-7a3c01faf302.webp?v=1714706808"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa1ff10eef67885b9f38f08217615b218304cd65_43e93ebd-1090-4ff0-adb2-7a3c01faf302.webp?v=1714706808","width":2000},{"alt":null,"id":23875751477347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4f69568e872d1e50a8082d6c6d93b239aff05d7_7fbe55a7-32d1-4a85-83de-17b85ac7dff8.webp?v=1714706811"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4f69568e872d1e50a8082d6c6d93b239aff05d7_7fbe55a7-32d1-4a85-83de-17b85ac7dff8.webp?v=1714706811","width":2000},{"alt":null,"id":23875751936099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57e49e37507ecec8b38bba6fc09f0bc0040b078_de451063-5610-4536-bb38-89b47d57c5d7.webp?v=1714706813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c57e49e37507ecec8b38bba6fc09f0bc0040b078_de451063-5610-4536-bb38-89b47d57c5d7.webp?v=1714706813","width":2000},{"alt":null,"id":23875752460387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a261d2ad6cb38f572d297d40f22e04dca888f3de_7dd8ab96-8296-48c5-80ee-11dc252cfcb8.webp?v=1714706816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a261d2ad6cb38f572d297d40f22e04dca888f3de_7dd8ab96-8296-48c5-80ee-11dc252cfcb8.webp?v=1714706816","width":2000},{"alt":null,"id":23875753082979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5b8c52ed1a33313ca1ce18dc7a35584676ec30_91fe30a2-fb47-4215-b20c-6cfa6f7901cb.webp?v=1714706818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5b8c52ed1a33313ca1ce18dc7a35584676ec30_91fe30a2-fb47-4215-b20c-6cfa6f7901cb.webp?v=1714706818","width":2000},{"alt":null,"id":23875753574499,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aefa16ab66620a8d65e0467a7bbee057d76b5da_df137096-5d0c-4f89-af8b-49a6a801f984.webp?v=1714706821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aefa16ab66620a8d65e0467a7bbee057d76b5da_df137096-5d0c-4f89-af8b-49a6a801f984.webp?v=1714706821","width":2000},{"alt":null,"id":23875754492003,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e9dcfc68119ad267b5870c59f7076af858a7be6_1db1af0c-860f-4cc7-8c0a-8bfc43b3a4d8.webp?v=1714706823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e9dcfc68119ad267b5870c59f7076af858a7be6_1db1af0c-860f-4cc7-8c0a-8bfc43b3a4d8.webp?v=1714706823","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881241256035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470848606307,"product_id":7407973695587,"position":8,"created_at":"2024-05-03T11:26:58+08:00","updated_at":"2024-05-03T11:26:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5b8c52ed1a33313ca1ce18dc7a35584676ec30_91fe30a2-fb47-4215-b20c-6cfa6f7901cb.webp?v=1714706818","variant_ids":[41881241256035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 願傷疤 有天開出花(澳洲叢林大火) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AF02","featured_media":{"alt":null,"id":23875753082979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5b8c52ed1a33313ca1ce18dc7a35584676ec30_91fe30a2-fb47-4215-b20c-6cfa6f7901cb.webp?v=1714706818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881241321571,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470849130595,"product_id":7407973695587,"position":9,"created_at":"2024-05-03T11:27:01+08:00","updated_at":"2024-05-03T11:27:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aefa16ab66620a8d65e0467a7bbee057d76b5da_df137096-5d0c-4f89-af8b-49a6a801f984.webp?v=1714706821","variant_ids":[41881241321571]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 願傷疤 有天開出花(澳洲叢林大火) - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-AF02","featured_media":{"alt":null,"id":23875753574499,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aefa16ab66620a8d65e0467a7bbee057d76b5da_df137096-5d0c-4f89-af8b-49a6a801f984.webp?v=1714706821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881241550947,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470846378083,"product_id":7407973695587,"position":4,"created_at":"2024-05-03T11:26:48+08:00","updated_at":"2024-05-03T11:26:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa1ff10eef67885b9f38f08217615b218304cd65_43e93ebd-1090-4ff0-adb2-7a3c01faf302.webp?v=1714706808","variant_ids":[41881241550947]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 願傷疤 有天開出花(澳洲叢林大火) - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-AF02","featured_media":{"alt":null,"id":23875750821987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa1ff10eef67885b9f38f08217615b218304cd65_43e93ebd-1090-4ff0-adb2-7a3c01faf302.webp?v=1714706808"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881241256035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31470848606307,"product_id":7407973695587,"position":8,"created_at":"2024-05-03T11:26:58+08:00","updated_at":"2024-05-03T11:26:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5b8c52ed1a33313ca1ce18dc7a35584676ec30_91fe30a2-fb47-4215-b20c-6cfa6f7901cb.webp?v=1714706818","variant_ids":[41881241256035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 願傷疤 有天開出花(澳洲叢林大火) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-AF02","featured_media":{"alt":null,"id":23875753082979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5b8c52ed1a33313ca1ce18dc7a35584676ec30_91fe30a2-fb47-4215-b20c-6cfa6f7901cb.webp?v=1714706818"}},"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: "停產"
}