$product = {"id":7414295068771,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆白","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb02","description":null,"published_at":"2024-06-11T17:50:35+08:00","created_at":"2024-05-05T14:20:42+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 13 mini","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":41905499013219,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485105700963,"product_id":7414295068771,"position":10,"created_at":"2024-05-05T14:21:05+08:00","updated_at":"2024-05-05T14:21:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe449ff792fe494b8f7b5a30ae1edfb5dde69d6_02b89ad5-1573-4416-8965-c8797ce02b05.webp?v=1714890065","variant_ids":[41905499013219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122824-PB02","featured_media":{"alt":null,"id":23890420662371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe449ff792fe494b8f7b5a30ae1edfb5dde69d6_02b89ad5-1573-4416-8965-c8797ce02b05.webp?v=1714890065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905499111523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485091053667,"product_id":7414295068771,"position":1,"created_at":"2024-05-05T14:20:44+08:00","updated_at":"2024-05-05T14:20:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2e539ee849dd7f8e6a49ec1a79127b9c4d03f2_1e59f644-364d-46c9-ac90-b643c38518c1.webp?v=1714890044","variant_ids":[41905499111523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122804-PB02","featured_media":{"alt":null,"id":23890405884003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2e539ee849dd7f8e6a49ec1a79127b9c4d03f2_1e59f644-364d-46c9-ac90-b643c38518c1.webp?v=1714890044"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905499340899,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485093970019,"product_id":7414295068771,"position":3,"created_at":"2024-05-05T14:20:48+08:00","updated_at":"2024-05-05T14:20:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a530476a957439d3fff527a8a1eb7f9c7260f2_5baf8430-195c-4973-876c-15f01d993545.webp?v=1714890048","variant_ids":[41905499340899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB01228J5-PB02","featured_media":{"alt":null,"id":23890409029731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a530476a957439d3fff527a8a1eb7f9c7260f2_5baf8430-195c-4973-876c-15f01d993545.webp?v=1714890048"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2e539ee849dd7f8e6a49ec1a79127b9c4d03f2_1e59f644-364d-46c9-ac90-b643c38518c1.webp?v=1714890044","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb93e84068b481eac269a0ccce09a1e9fa335a28_2f170858-8429-42d1-91f9-034e453efab6.webp?v=1714890046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a530476a957439d3fff527a8a1eb7f9c7260f2_5baf8430-195c-4973-876c-15f01d993545.webp?v=1714890048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b0ba7e61e1ba2b4f74d6c14534040acccf268e_d67527a6-eb32-449c-8d4b-1e909d714e13.webp?v=1714890051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e0ee61bfb49075a207bd6e7e826b5e670ab629d_f17f1747-a950-4172-8b25-024ddedd36c6.webp?v=1714890053","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97a436ee2df3c37df9ff24729cdc632c13cdc38a_2756668a-1b89-4315-bffd-5ab90acfb304.webp?v=1714890055","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/268879d14b523ac9a3951caf1c2097857b320dbd_19d7700e-0d4f-469a-b134-009fa55ff3f7.webp?v=1714890058","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/899e1145ca843bacbf863e57693b71b3bd239beb_c47ea869-172b-4398-8bf4-6c898070d04b.webp?v=1714890060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048c9f555b83030bdbc2370b3c30c946cd7dc076_a710147c-e735-477d-b274-2cd765443960.webp?v=1714890063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe449ff792fe494b8f7b5a30ae1edfb5dde69d6_02b89ad5-1573-4416-8965-c8797ce02b05.webp?v=1714890065"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2e539ee849dd7f8e6a49ec1a79127b9c4d03f2_1e59f644-364d-46c9-ac90-b643c38518c1.webp?v=1714890044","options":["color"],"media":[{"alt":null,"id":23890405884003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2e539ee849dd7f8e6a49ec1a79127b9c4d03f2_1e59f644-364d-46c9-ac90-b643c38518c1.webp?v=1714890044"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2e539ee849dd7f8e6a49ec1a79127b9c4d03f2_1e59f644-364d-46c9-ac90-b643c38518c1.webp?v=1714890044","width":2000},{"alt":null,"id":23890407489635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb93e84068b481eac269a0ccce09a1e9fa335a28_2f170858-8429-42d1-91f9-034e453efab6.webp?v=1714890046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb93e84068b481eac269a0ccce09a1e9fa335a28_2f170858-8429-42d1-91f9-034e453efab6.webp?v=1714890046","width":2000},{"alt":null,"id":23890409029731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a530476a957439d3fff527a8a1eb7f9c7260f2_5baf8430-195c-4973-876c-15f01d993545.webp?v=1714890048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a530476a957439d3fff527a8a1eb7f9c7260f2_5baf8430-195c-4973-876c-15f01d993545.webp?v=1714890048","width":2000},{"alt":null,"id":23890411028579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b0ba7e61e1ba2b4f74d6c14534040acccf268e_d67527a6-eb32-449c-8d4b-1e909d714e13.webp?v=1714890051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b0ba7e61e1ba2b4f74d6c14534040acccf268e_d67527a6-eb32-449c-8d4b-1e909d714e13.webp?v=1714890051","width":2000},{"alt":null,"id":23890412732515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e0ee61bfb49075a207bd6e7e826b5e670ab629d_f17f1747-a950-4172-8b25-024ddedd36c6.webp?v=1714890053"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e0ee61bfb49075a207bd6e7e826b5e670ab629d_f17f1747-a950-4172-8b25-024ddedd36c6.webp?v=1714890053","width":2000},{"alt":null,"id":23890414436451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97a436ee2df3c37df9ff24729cdc632c13cdc38a_2756668a-1b89-4315-bffd-5ab90acfb304.webp?v=1714890055"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97a436ee2df3c37df9ff24729cdc632c13cdc38a_2756668a-1b89-4315-bffd-5ab90acfb304.webp?v=1714890055","width":2000},{"alt":null,"id":23890416009315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/268879d14b523ac9a3951caf1c2097857b320dbd_19d7700e-0d4f-469a-b134-009fa55ff3f7.webp?v=1714890058"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/268879d14b523ac9a3951caf1c2097857b320dbd_19d7700e-0d4f-469a-b134-009fa55ff3f7.webp?v=1714890058","width":2000},{"alt":null,"id":23890417451107,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/899e1145ca843bacbf863e57693b71b3bd239beb_c47ea869-172b-4398-8bf4-6c898070d04b.webp?v=1714890060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/899e1145ca843bacbf863e57693b71b3bd239beb_c47ea869-172b-4398-8bf4-6c898070d04b.webp?v=1714890060","width":2000},{"alt":null,"id":23890419122275,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048c9f555b83030bdbc2370b3c30c946cd7dc076_a710147c-e735-477d-b274-2cd765443960.webp?v=1714890063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/048c9f555b83030bdbc2370b3c30c946cd7dc076_a710147c-e735-477d-b274-2cd765443960.webp?v=1714890063","width":2000},{"alt":null,"id":23890420662371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe449ff792fe494b8f7b5a30ae1edfb5dde69d6_02b89ad5-1573-4416-8965-c8797ce02b05.webp?v=1714890065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe449ff792fe494b8f7b5a30ae1edfb5dde69d6_02b89ad5-1573-4416-8965-c8797ce02b05.webp?v=1714890065","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41905499013219,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485105700963,"product_id":7414295068771,"position":10,"created_at":"2024-05-05T14:21:05+08:00","updated_at":"2024-05-05T14:21:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe449ff792fe494b8f7b5a30ae1edfb5dde69d6_02b89ad5-1573-4416-8965-c8797ce02b05.webp?v=1714890065","variant_ids":[41905499013219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122824-PB02","featured_media":{"alt":null,"id":23890420662371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe449ff792fe494b8f7b5a30ae1edfb5dde69d6_02b89ad5-1573-4416-8965-c8797ce02b05.webp?v=1714890065"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905499111523,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485091053667,"product_id":7414295068771,"position":1,"created_at":"2024-05-05T14:20:44+08:00","updated_at":"2024-05-05T14:20:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2e539ee849dd7f8e6a49ec1a79127b9c4d03f2_1e59f644-364d-46c9-ac90-b643c38518c1.webp?v=1714890044","variant_ids":[41905499111523]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122804-PB02","featured_media":{"alt":null,"id":23890405884003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2e539ee849dd7f8e6a49ec1a79127b9c4d03f2_1e59f644-364d-46c9-ac90-b643c38518c1.webp?v=1714890044"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905499340899,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485093970019,"product_id":7414295068771,"position":3,"created_at":"2024-05-05T14:20:48+08:00","updated_at":"2024-05-05T14:20:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a530476a957439d3fff527a8a1eb7f9c7260f2_5baf8430-195c-4973-876c-15f01d993545.webp?v=1714890048","variant_ids":[41905499340899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB01228J5-PB02","featured_media":{"alt":null,"id":23890409029731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a530476a957439d3fff527a8a1eb7f9c7260f2_5baf8430-195c-4973-876c-15f01d993545.webp?v=1714890048"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41905499013219,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485105700963,"product_id":7414295068771,"position":10,"created_at":"2024-05-05T14:21:05+08:00","updated_at":"2024-05-05T14:21:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe449ff792fe494b8f7b5a30ae1edfb5dde69d6_02b89ad5-1573-4416-8965-c8797ce02b05.webp?v=1714890065","variant_ids":[41905499013219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122824-PB02","featured_media":{"alt":null,"id":23890420662371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfe449ff792fe494b8f7b5a30ae1edfb5dde69d6_02b89ad5-1573-4416-8965-c8797ce02b05.webp?v=1714890065"}},"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: "停產"
}