$product = {"id":7411404832867,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 尤達-塗鴉藝術","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb36","description":null,"published_at":"2024-06-11T17:44:04+08:00","created_at":"2024-05-05T00:23:22+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 14 Pro","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":41898466050147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB36","requires_shipping":true,"taxable":true,"featured_image":{"id":31480346280035,"product_id":7411404832867,"position":8,"created_at":"2024-05-05T00:23:40+08:00","updated_at":"2024-05-05T00:23:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0434c7df511d97821efd3f50f8976166faff7b_4020ce7a-1c43-46dc-931d-ca7e27578262.webp?v=1714839820","variant_ids":[41898466050147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 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":"MPB0126224-PB36","featured_media":{"alt":null,"id":23885597835363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0434c7df511d97821efd3f50f8976166faff7b_4020ce7a-1c43-46dc-931d-ca7e27578262.webp?v=1714839820"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898466115683,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB36","requires_shipping":true,"taxable":true,"featured_image":{"id":31480344707171,"product_id":7411404832867,"position":5,"created_at":"2024-05-05T00:23:33+08:00","updated_at":"2024-05-05T00:23:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0eeb499851c48a64dab43aa516b9e3470b52cd8_8627356b-727a-4b81-8132-5ce819f03533.webp?v=1714839813","variant_ids":[41898466115683]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 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":"MPB0126204-PB36","featured_media":{"alt":null,"id":23885596262499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0eeb499851c48a64dab43aa516b9e3470b52cd8_8627356b-727a-4b81-8132-5ce819f03533.webp?v=1714839813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898466345059,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB36","requires_shipping":true,"taxable":true,"featured_image":{"id":31480344051811,"product_id":7411404832867,"position":4,"created_at":"2024-05-05T00:23:31+08:00","updated_at":"2024-05-05T00:23:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0da5b02d0c7799c5be2e075561d5b2ca28198c_1587a423-5d63-4c38-a6c4-61b657c389d5.webp?v=1714839811","variant_ids":[41898466345059]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 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":"MPB01262J5-PB36","featured_media":{"alt":null,"id":23885595836515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0da5b02d0c7799c5be2e075561d5b2ca28198c_1587a423-5d63-4c38-a6c4-61b657c389d5.webp?v=1714839811"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a928aef7522ebf7f71b749e0b1f01e994a70e19f_e357798b-0569-495c-8adc-16b2959ebfa3.webp?v=1714839804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dff1f4c7dfad69b9c24405a30292f7fd90b0e491_5dfc731c-0773-4644-adfa-9485a1ded490.webp?v=1714839807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b10e8a84828d9a42ba49f4348818f2fac7a69_45bc0b48-17ec-455f-bf98-4ff1bafcf95e.webp?v=1714839809","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0da5b02d0c7799c5be2e075561d5b2ca28198c_1587a423-5d63-4c38-a6c4-61b657c389d5.webp?v=1714839811","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0eeb499851c48a64dab43aa516b9e3470b52cd8_8627356b-727a-4b81-8132-5ce819f03533.webp?v=1714839813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e45e9631376d2fb5f586eabda8cd9bbabd161319_9db6c7e7-750b-48cb-b3c9-e6c5af5b2e6e.webp?v=1714839816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcddcc7451cbc80915c69e743ab6ca2cb194bb0_a8ed089f-c44e-4b97-875d-37443068851e.webp?v=1714839818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0434c7df511d97821efd3f50f8976166faff7b_4020ce7a-1c43-46dc-931d-ca7e27578262.webp?v=1714839820","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ec5362bbc6fa240d56085a92a79fd41f580740_f3f88e40-3200-4b96-9167-0b19779fdf45.webp?v=1714839822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ac772911c9555752d6410dfef4a162448926be_030357d2-ceed-4871-8336-9e503c5b971d.webp?v=1714839824"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a928aef7522ebf7f71b749e0b1f01e994a70e19f_e357798b-0569-495c-8adc-16b2959ebfa3.webp?v=1714839804","options":["color"],"media":[{"alt":null,"id":23885594165347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a928aef7522ebf7f71b749e0b1f01e994a70e19f_e357798b-0569-495c-8adc-16b2959ebfa3.webp?v=1714839804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a928aef7522ebf7f71b749e0b1f01e994a70e19f_e357798b-0569-495c-8adc-16b2959ebfa3.webp?v=1714839804","width":2000},{"alt":null,"id":23885594689635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dff1f4c7dfad69b9c24405a30292f7fd90b0e491_5dfc731c-0773-4644-adfa-9485a1ded490.webp?v=1714839807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dff1f4c7dfad69b9c24405a30292f7fd90b0e491_5dfc731c-0773-4644-adfa-9485a1ded490.webp?v=1714839807","width":2000},{"alt":null,"id":23885595344995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b10e8a84828d9a42ba49f4348818f2fac7a69_45bc0b48-17ec-455f-bf98-4ff1bafcf95e.webp?v=1714839809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b10e8a84828d9a42ba49f4348818f2fac7a69_45bc0b48-17ec-455f-bf98-4ff1bafcf95e.webp?v=1714839809","width":2000},{"alt":null,"id":23885595836515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0da5b02d0c7799c5be2e075561d5b2ca28198c_1587a423-5d63-4c38-a6c4-61b657c389d5.webp?v=1714839811"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0da5b02d0c7799c5be2e075561d5b2ca28198c_1587a423-5d63-4c38-a6c4-61b657c389d5.webp?v=1714839811","width":2000},{"alt":null,"id":23885596262499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0eeb499851c48a64dab43aa516b9e3470b52cd8_8627356b-727a-4b81-8132-5ce819f03533.webp?v=1714839813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0eeb499851c48a64dab43aa516b9e3470b52cd8_8627356b-727a-4b81-8132-5ce819f03533.webp?v=1714839813","width":2000},{"alt":null,"id":23885597016163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e45e9631376d2fb5f586eabda8cd9bbabd161319_9db6c7e7-750b-48cb-b3c9-e6c5af5b2e6e.webp?v=1714839816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e45e9631376d2fb5f586eabda8cd9bbabd161319_9db6c7e7-750b-48cb-b3c9-e6c5af5b2e6e.webp?v=1714839816","width":2000},{"alt":null,"id":23885597343843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcddcc7451cbc80915c69e743ab6ca2cb194bb0_a8ed089f-c44e-4b97-875d-37443068851e.webp?v=1714839818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abcddcc7451cbc80915c69e743ab6ca2cb194bb0_a8ed089f-c44e-4b97-875d-37443068851e.webp?v=1714839818","width":2000},{"alt":null,"id":23885597835363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0434c7df511d97821efd3f50f8976166faff7b_4020ce7a-1c43-46dc-931d-ca7e27578262.webp?v=1714839820"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0434c7df511d97821efd3f50f8976166faff7b_4020ce7a-1c43-46dc-931d-ca7e27578262.webp?v=1714839820","width":2000},{"alt":null,"id":23885598228579,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ec5362bbc6fa240d56085a92a79fd41f580740_f3f88e40-3200-4b96-9167-0b19779fdf45.webp?v=1714839822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ec5362bbc6fa240d56085a92a79fd41f580740_f3f88e40-3200-4b96-9167-0b19779fdf45.webp?v=1714839822","width":2000},{"alt":null,"id":23885598687331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ac772911c9555752d6410dfef4a162448926be_030357d2-ceed-4871-8336-9e503c5b971d.webp?v=1714839824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ac772911c9555752d6410dfef4a162448926be_030357d2-ceed-4871-8336-9e503c5b971d.webp?v=1714839824","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41898466050147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB36","requires_shipping":true,"taxable":true,"featured_image":{"id":31480346280035,"product_id":7411404832867,"position":8,"created_at":"2024-05-05T00:23:40+08:00","updated_at":"2024-05-05T00:23:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0434c7df511d97821efd3f50f8976166faff7b_4020ce7a-1c43-46dc-931d-ca7e27578262.webp?v=1714839820","variant_ids":[41898466050147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 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":"MPB0126224-PB36","featured_media":{"alt":null,"id":23885597835363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0434c7df511d97821efd3f50f8976166faff7b_4020ce7a-1c43-46dc-931d-ca7e27578262.webp?v=1714839820"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898466115683,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB36","requires_shipping":true,"taxable":true,"featured_image":{"id":31480344707171,"product_id":7411404832867,"position":5,"created_at":"2024-05-05T00:23:33+08:00","updated_at":"2024-05-05T00:23:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0eeb499851c48a64dab43aa516b9e3470b52cd8_8627356b-727a-4b81-8132-5ce819f03533.webp?v=1714839813","variant_ids":[41898466115683]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 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":"MPB0126204-PB36","featured_media":{"alt":null,"id":23885596262499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0eeb499851c48a64dab43aa516b9e3470b52cd8_8627356b-727a-4b81-8132-5ce819f03533.webp?v=1714839813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898466345059,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB36","requires_shipping":true,"taxable":true,"featured_image":{"id":31480344051811,"product_id":7411404832867,"position":4,"created_at":"2024-05-05T00:23:31+08:00","updated_at":"2024-05-05T00:23:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0da5b02d0c7799c5be2e075561d5b2ca28198c_1587a423-5d63-4c38-a6c4-61b657c389d5.webp?v=1714839811","variant_ids":[41898466345059]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 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":"MPB01262J5-PB36","featured_media":{"alt":null,"id":23885595836515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0da5b02d0c7799c5be2e075561d5b2ca28198c_1587a423-5d63-4c38-a6c4-61b657c389d5.webp?v=1714839811"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41898466050147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB36","requires_shipping":true,"taxable":true,"featured_image":{"id":31480346280035,"product_id":7411404832867,"position":8,"created_at":"2024-05-05T00:23:40+08:00","updated_at":"2024-05-05T00:23:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0434c7df511d97821efd3f50f8976166faff7b_4020ce7a-1c43-46dc-931d-ca7e27578262.webp?v=1714839820","variant_ids":[41898466050147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 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":"MPB0126224-PB36","featured_media":{"alt":null,"id":23885597835363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0434c7df511d97821efd3f50f8976166faff7b_4020ce7a-1c43-46dc-931d-ca7e27578262.webp?v=1714839820"}},"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: "停產"
}