$product = {"id":7938079981667,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan \b里維兵長 (灰階)","handle":"iphone-14-pro-mod-nx-magsafe-xw02","description":null,"published_at":"2025-12-12T09:59:25+08:00","created_at":"2025-12-11T16:59:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 14 Pro","merge","reseller-attack-on-titan"],"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":43885026181219,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-XW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36227022159971,"product_id":7938079981667,"position":14,"created_at":"2026-07-09T11:27:32+08:00","updated_at":"2026-07-09T11:27:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659_ce2775ad-4552-43ef-901c-bbd2d8667e30.webp?v=1783567654","variant_ids":[43885026181219]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan \b里維兵長 (灰階) - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-XW02","featured_media":{"alt":null,"id":27731806978147,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659_ce2775ad-4552-43ef-901c-bbd2d8667e30.webp?v=1783567654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43885026213987,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-XW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36227021930595,"product_id":7938079981667,"position":13,"created_at":"2026-07-09T11:27:31+08:00","updated_at":"2026-07-09T11:27:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b_a88cf766-df01-4a55-9185-b450a33ae347.webp?v=1783567653","variant_ids":[43885026213987]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan \b里維兵長 (灰階) - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-XW02","featured_media":{"alt":null,"id":27731806781539,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b_a88cf766-df01-4a55-9185-b450a33ae347.webp?v=1783567653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43885026312291,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-XW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36227021832291,"product_id":7938079981667,"position":12,"created_at":"2026-07-09T11:27:31+08:00","updated_at":"2026-07-09T11:27:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17_0456c5e5-dc68-4651-81d5-81ac7eeb6aab.webp?v=1783567653","variant_ids":[43885026312291]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan \b里維兵長 (灰階) - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-XW02","featured_media":{"alt":null,"id":27731806650467,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17_0456c5e5-dc68-4651-81d5-81ac7eeb6aab.webp?v=1783567653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f387ba36eb2baeb89893c07915eb6af66093c5c5.webp?v=1765443553","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17.webp?v=1765443554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff43ff2d15b30ffa7223aff7c5bfdd0c1bc2adb.webp?v=1765443554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659.webp?v=1765443554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b.webp?v=1765443555","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97effa49b3d28d81a2539b0e7346e9a776a73394.webp?v=1765443556","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1849aa20b4dca8ff8fde3cb8248dc51e475c2da9.webp?v=1765443556","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5a9670da2f40b7e2c65e5d0959627ebfb25850.webp?v=1765443557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf85f9c43d98dcc2695c49f93e7da5431afa43ee.webp?v=1765443557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db12b9d9062c45a732e685517208592940a5b449.webp?v=1765443557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64aad412b7c8c6f03f2061b007faeee50d101053.webp?v=1765443558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17_0456c5e5-dc68-4651-81d5-81ac7eeb6aab.webp?v=1783567653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b_a88cf766-df01-4a55-9185-b450a33ae347.webp?v=1783567653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659_ce2775ad-4552-43ef-901c-bbd2d8667e30.webp?v=1783567654"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f387ba36eb2baeb89893c07915eb6af66093c5c5.webp?v=1765443553","options":["color"],"media":[{"alt":null,"id":26496127467619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f387ba36eb2baeb89893c07915eb6af66093c5c5.webp?v=1765443553"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f387ba36eb2baeb89893c07915eb6af66093c5c5.webp?v=1765443553","width":2000},{"alt":null,"id":26496127664227,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17.webp?v=1765443554"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17.webp?v=1765443554","width":2000},{"alt":null,"id":26496127828067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff43ff2d15b30ffa7223aff7c5bfdd0c1bc2adb.webp?v=1765443554"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff43ff2d15b30ffa7223aff7c5bfdd0c1bc2adb.webp?v=1765443554","width":2000},{"alt":null,"id":26496127991907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659.webp?v=1765443554"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659.webp?v=1765443554","width":2000},{"alt":null,"id":26496128090211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b.webp?v=1765443555"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b.webp?v=1765443555","width":2000},{"alt":null,"id":26496128254051,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97effa49b3d28d81a2539b0e7346e9a776a73394.webp?v=1765443556"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97effa49b3d28d81a2539b0e7346e9a776a73394.webp?v=1765443556","width":2000},{"alt":null,"id":26496128385123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1849aa20b4dca8ff8fde3cb8248dc51e475c2da9.webp?v=1765443556"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1849aa20b4dca8ff8fde3cb8248dc51e475c2da9.webp?v=1765443556","width":2000},{"alt":null,"id":26496128548963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5a9670da2f40b7e2c65e5d0959627ebfb25850.webp?v=1765443557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5a9670da2f40b7e2c65e5d0959627ebfb25850.webp?v=1765443557","width":2000},{"alt":null,"id":26496128778339,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf85f9c43d98dcc2695c49f93e7da5431afa43ee.webp?v=1765443557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf85f9c43d98dcc2695c49f93e7da5431afa43ee.webp?v=1765443557","width":2000},{"alt":null,"id":26496128942179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db12b9d9062c45a732e685517208592940a5b449.webp?v=1765443557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db12b9d9062c45a732e685517208592940a5b449.webp?v=1765443557","width":2000},{"alt":null,"id":26496129073251,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64aad412b7c8c6f03f2061b007faeee50d101053.webp?v=1765443558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64aad412b7c8c6f03f2061b007faeee50d101053.webp?v=1765443558","width":2000},{"alt":null,"id":27731806650467,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17_0456c5e5-dc68-4651-81d5-81ac7eeb6aab.webp?v=1783567653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17_0456c5e5-dc68-4651-81d5-81ac7eeb6aab.webp?v=1783567653","width":2000},{"alt":null,"id":27731806781539,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b_a88cf766-df01-4a55-9185-b450a33ae347.webp?v=1783567653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b_a88cf766-df01-4a55-9185-b450a33ae347.webp?v=1783567653","width":2000},{"alt":null,"id":27731806978147,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659_ce2775ad-4552-43ef-901c-bbd2d8667e30.webp?v=1783567654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659_ce2775ad-4552-43ef-901c-bbd2d8667e30.webp?v=1783567654","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43885026181219,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-XW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36227022159971,"product_id":7938079981667,"position":14,"created_at":"2026-07-09T11:27:32+08:00","updated_at":"2026-07-09T11:27:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659_ce2775ad-4552-43ef-901c-bbd2d8667e30.webp?v=1783567654","variant_ids":[43885026181219]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan \b里維兵長 (灰階) - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-XW02","featured_media":{"alt":null,"id":27731806978147,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659_ce2775ad-4552-43ef-901c-bbd2d8667e30.webp?v=1783567654"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43885026213987,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-XW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36227021930595,"product_id":7938079981667,"position":13,"created_at":"2026-07-09T11:27:31+08:00","updated_at":"2026-07-09T11:27:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b_a88cf766-df01-4a55-9185-b450a33ae347.webp?v=1783567653","variant_ids":[43885026213987]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan \b里維兵長 (灰階) - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-XW02","featured_media":{"alt":null,"id":27731806781539,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ed569c071b9a323941f7132cff4a0ebd7ad21b_a88cf766-df01-4a55-9185-b450a33ae347.webp?v=1783567653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43885026312291,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-XW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36227021832291,"product_id":7938079981667,"position":12,"created_at":"2026-07-09T11:27:31+08:00","updated_at":"2026-07-09T11:27:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17_0456c5e5-dc68-4651-81d5-81ac7eeb6aab.webp?v=1783567653","variant_ids":[43885026312291]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan \b里維兵長 (灰階) - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-XW02","featured_media":{"alt":null,"id":27731806650467,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b096efe9dd4945bd07ad4abc36c12a57d44f17_0456c5e5-dc68-4651-81d5-81ac7eeb6aab.webp?v=1783567653"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43885026181219,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-XW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36227022159971,"product_id":7938079981667,"position":14,"created_at":"2026-07-09T11:27:32+08:00","updated_at":"2026-07-09T11:27:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659_ce2775ad-4552-43ef-901c-bbd2d8667e30.webp?v=1783567654","variant_ids":[43885026181219]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan \b里維兵長 (灰階) - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-XW02","featured_media":{"alt":null,"id":27731806978147,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/759cfd35991534614ed2fdea8b4d16401836d659_ce2775ad-4552-43ef-901c-bbd2d8667e30.webp?v=1783567654"}},"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: "停產"
}