Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 在幹嘛
$product = {"id":7411250593891,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 在幹嘛","handle":"iphone-14-pro-mod-nx-magsafe-printable-iv06","description":null,"published_at":"2024-06-11T17:39:55+08:00","created_at":"2024-05-04T23:53:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-1chun","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":41896532115555,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479958700131,"product_id":7411250593891,"position":1,"created_at":"2024-05-04T23:53:47+08:00","updated_at":"2024-05-04T23:53:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027","variant_ids":[41896532115555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 在幹嘛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-IV06","featured_media":{"alt":null,"id":23885209141347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896532246627,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479959126115,"product_id":7411250593891,"position":2,"created_at":"2024-05-04T23:53:49+08:00","updated_at":"2024-05-04T23:53:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1c4c91b0a4b197c5ac469c5b1a01110d3adfff_512e8e82-bbc6-44eb-a982-812e1b9afc58.webp?v=1714838029","variant_ids":[41896532246627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 在幹嘛 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-IV06","featured_media":{"alt":null,"id":23885209534563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1c4c91b0a4b197c5ac469c5b1a01110d3adfff_512e8e82-bbc6-44eb-a982-812e1b9afc58.webp?v=1714838029"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896532508771,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479961976931,"product_id":7411250593891,"position":8,"created_at":"2024-05-04T23:54:04+08:00","updated_at":"2024-05-04T23:54:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7074253b55f37b4cc9936de455e7cc1985b7419f_ef2dbfab-48a1-443a-a830-1e4b09b12226.webp?v=1714838044","variant_ids":[41896532508771]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 在幹嘛 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-IV06","featured_media":{"alt":null,"id":23885212450915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7074253b55f37b4cc9936de455e7cc1985b7419f_ef2dbfab-48a1-443a-a830-1e4b09b12226.webp?v=1714838044"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1c4c91b0a4b197c5ac469c5b1a01110d3adfff_512e8e82-bbc6-44eb-a982-812e1b9afc58.webp?v=1714838029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907641d92bccf709a24a6fad764ad76dc2c8296b_21dfe2d2-8f99-4f88-bf9f-e71def0ed823.webp?v=1714838032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9c715f7077b0ba7287e6dc62a3cf03bf0a1b1f6_1a93a42e-d0dd-4a56-8112-ae76c8d32ccf.webp?v=1714838034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96a3b2132cefc7328dda0e113c6efbabd61f6964_e6345205-5de4-4e54-a179-6bc39d3d13c8.webp?v=1714838037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20142021821335c67b862d866b910859f1fcbb29_659c1996-9ed1-427a-b1c9-a60ce4327a30.webp?v=1714838039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ed15efacd9b5a2ea2785075505355fbc06ec7bb_6b8a6b79-5aa1-478f-93cb-6b908f0e6918.webp?v=1714838041","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7074253b55f37b4cc9936de455e7cc1985b7419f_ef2dbfab-48a1-443a-a830-1e4b09b12226.webp?v=1714838044","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f3ad2946f7c2068c57e79d80590783c5243500_3dd8bc3f-3bfd-453c-8a54-95b4d60c741c.webp?v=1714838046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd087e01d3b7b18d1bed372fa0f32ceec7f3483c_9a8067a3-b63b-4898-a9ef-b67529d44b13.webp?v=1714838048"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027","options":["color"],"media":[{"alt":null,"id":23885209141347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027","width":2000},{"alt":null,"id":23885209534563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1c4c91b0a4b197c5ac469c5b1a01110d3adfff_512e8e82-bbc6-44eb-a982-812e1b9afc58.webp?v=1714838029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1c4c91b0a4b197c5ac469c5b1a01110d3adfff_512e8e82-bbc6-44eb-a982-812e1b9afc58.webp?v=1714838029","width":2000},{"alt":null,"id":23885210058851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907641d92bccf709a24a6fad764ad76dc2c8296b_21dfe2d2-8f99-4f88-bf9f-e71def0ed823.webp?v=1714838032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/907641d92bccf709a24a6fad764ad76dc2c8296b_21dfe2d2-8f99-4f88-bf9f-e71def0ed823.webp?v=1714838032","width":2000},{"alt":null,"id":23885210517603,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9c715f7077b0ba7287e6dc62a3cf03bf0a1b1f6_1a93a42e-d0dd-4a56-8112-ae76c8d32ccf.webp?v=1714838034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9c715f7077b0ba7287e6dc62a3cf03bf0a1b1f6_1a93a42e-d0dd-4a56-8112-ae76c8d32ccf.webp?v=1714838034","width":2000},{"alt":null,"id":23885211009123,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96a3b2132cefc7328dda0e113c6efbabd61f6964_e6345205-5de4-4e54-a179-6bc39d3d13c8.webp?v=1714838037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96a3b2132cefc7328dda0e113c6efbabd61f6964_e6345205-5de4-4e54-a179-6bc39d3d13c8.webp?v=1714838037","width":2000},{"alt":null,"id":23885211566179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20142021821335c67b862d866b910859f1fcbb29_659c1996-9ed1-427a-b1c9-a60ce4327a30.webp?v=1714838039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20142021821335c67b862d866b910859f1fcbb29_659c1996-9ed1-427a-b1c9-a60ce4327a30.webp?v=1714838039","width":2000},{"alt":null,"id":23885211992163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ed15efacd9b5a2ea2785075505355fbc06ec7bb_6b8a6b79-5aa1-478f-93cb-6b908f0e6918.webp?v=1714838041"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ed15efacd9b5a2ea2785075505355fbc06ec7bb_6b8a6b79-5aa1-478f-93cb-6b908f0e6918.webp?v=1714838041","width":2000},{"alt":null,"id":23885212450915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7074253b55f37b4cc9936de455e7cc1985b7419f_ef2dbfab-48a1-443a-a830-1e4b09b12226.webp?v=1714838044"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7074253b55f37b4cc9936de455e7cc1985b7419f_ef2dbfab-48a1-443a-a830-1e4b09b12226.webp?v=1714838044","width":2000},{"alt":null,"id":23885212909667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f3ad2946f7c2068c57e79d80590783c5243500_3dd8bc3f-3bfd-453c-8a54-95b4d60c741c.webp?v=1714838046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f3ad2946f7c2068c57e79d80590783c5243500_3dd8bc3f-3bfd-453c-8a54-95b4d60c741c.webp?v=1714838046","width":2000},{"alt":null,"id":23885213466723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd087e01d3b7b18d1bed372fa0f32ceec7f3483c_9a8067a3-b63b-4898-a9ef-b67529d44b13.webp?v=1714838048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd087e01d3b7b18d1bed372fa0f32ceec7f3483c_9a8067a3-b63b-4898-a9ef-b67529d44b13.webp?v=1714838048","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896532115555,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479958700131,"product_id":7411250593891,"position":1,"created_at":"2024-05-04T23:53:47+08:00","updated_at":"2024-05-04T23:53:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027","variant_ids":[41896532115555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 在幹嘛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-IV06","featured_media":{"alt":null,"id":23885209141347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896532246627,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479959126115,"product_id":7411250593891,"position":2,"created_at":"2024-05-04T23:53:49+08:00","updated_at":"2024-05-04T23:53:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1c4c91b0a4b197c5ac469c5b1a01110d3adfff_512e8e82-bbc6-44eb-a982-812e1b9afc58.webp?v=1714838029","variant_ids":[41896532246627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 在幹嘛 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-IV06","featured_media":{"alt":null,"id":23885209534563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1c4c91b0a4b197c5ac469c5b1a01110d3adfff_512e8e82-bbc6-44eb-a982-812e1b9afc58.webp?v=1714838029"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896532508771,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479961976931,"product_id":7411250593891,"position":8,"created_at":"2024-05-04T23:54:04+08:00","updated_at":"2024-05-04T23:54:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7074253b55f37b4cc9936de455e7cc1985b7419f_ef2dbfab-48a1-443a-a830-1e4b09b12226.webp?v=1714838044","variant_ids":[41896532508771]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 在幹嘛 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-IV06","featured_media":{"alt":null,"id":23885212450915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7074253b55f37b4cc9936de455e7cc1985b7419f_ef2dbfab-48a1-443a-a830-1e4b09b12226.webp?v=1714838044"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896532115555,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31479958700131,"product_id":7411250593891,"position":1,"created_at":"2024-05-04T23:53:47+08:00","updated_at":"2024-05-04T23:53:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027","variant_ids":[41896532115555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 在幹嘛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-IV06","featured_media":{"alt":null,"id":23885209141347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c9c3a6913bcbb2c068ce03faf98e4ac405602b4_48bd12fb-87be-4de1-b0e9-602cf9857ba3.webp?v=1714838027"}},"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: "停產"
}