$product = {"id":7411376291939,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 小圖款-凱羅忍","handle":"iphone-14-pro-mod-nx-magsafe-printable-pc06","description":null,"published_at":"2024-06-11T17:43:16+08:00","created_at":"2024-05-05T00:17:47+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":41898103701603,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480271208547,"product_id":7411376291939,"position":8,"created_at":"2024-05-05T00:18:06+08:00","updated_at":"2024-05-05T00:18:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae2bbe65f545fde11b69e2a0e6101e6ff91989_11ead359-5a4b-457e-8c98-57551f6dd079.webp?v=1714839486","variant_ids":[41898103701603]},"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-PC06","featured_media":{"alt":null,"id":23885522501731,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae2bbe65f545fde11b69e2a0e6101e6ff91989_11ead359-5a4b-457e-8c98-57551f6dd079.webp?v=1714839486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898103832675,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480272355427,"product_id":7411376291939,"position":10,"created_at":"2024-05-05T00:18:10+08:00","updated_at":"2024-05-05T00:18:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10acb23d9114226a7ea6d85bdd04a05a72916d42_72689166-8ec6-452d-9c3f-97031963a8b3.webp?v=1714839490","variant_ids":[41898103832675]},"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-PC06","featured_media":{"alt":null,"id":23885523681379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10acb23d9114226a7ea6d85bdd04a05a72916d42_72689166-8ec6-452d-9c3f-97031963a8b3.webp?v=1714839490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898104324195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480268652643,"product_id":7411376291939,"position":1,"created_at":"2024-05-05T00:17:49+08:00","updated_at":"2024-05-05T00:17:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d20650f74d434007f7f501823fd0db6ecc69eb_9f06a162-ace6-4be5-9898-75d355ab5e67.webp?v=1714839469","variant_ids":[41898104324195]},"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-PC06","featured_media":{"alt":null,"id":23885519978595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d20650f74d434007f7f501823fd0db6ecc69eb_9f06a162-ace6-4be5-9898-75d355ab5e67.webp?v=1714839469"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d20650f74d434007f7f501823fd0db6ecc69eb_9f06a162-ace6-4be5-9898-75d355ab5e67.webp?v=1714839469","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e682ecdb4983f354763019700f64a72a30cc2c42_13a4f66b-645d-4351-9871-a3951de1ad6f.webp?v=1714839472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54ac384d2cee1974ec8a2f408ced904a633d4d94_3f169483-6ac8-44d0-b37d-6070c70a5e79.webp?v=1714839474","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09e0b59d97a0e6bbbf30af668fdad13bb1190514_2e7f179a-3036-4a89-bede-b545dff3e884.webp?v=1714839476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a597c030f7008eb44454913e12e14a50499c25fc_865fd4ad-9ab8-4352-bd02-5d4379178e24.webp?v=1714839479","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd21e7774db37ed697017cb05269ef0f76e0e7ea_27354624-492f-43a7-b498-cf473c356eb4.webp?v=1714839481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31a8989af52b0149e304b1db8f4f6aa2dc430dca_a40c2aca-cb36-42e6-bdab-f40ace0b6434.webp?v=1714839483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae2bbe65f545fde11b69e2a0e6101e6ff91989_11ead359-5a4b-457e-8c98-57551f6dd079.webp?v=1714839486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/827d23fdc759bc138eb6750ae7cafda84f504bf5_68970808-d5aa-44e9-ad99-bac49f3e5058.webp?v=1714839488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10acb23d9114226a7ea6d85bdd04a05a72916d42_72689166-8ec6-452d-9c3f-97031963a8b3.webp?v=1714839490"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d20650f74d434007f7f501823fd0db6ecc69eb_9f06a162-ace6-4be5-9898-75d355ab5e67.webp?v=1714839469","options":["color"],"media":[{"alt":null,"id":23885519978595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d20650f74d434007f7f501823fd0db6ecc69eb_9f06a162-ace6-4be5-9898-75d355ab5e67.webp?v=1714839469"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d20650f74d434007f7f501823fd0db6ecc69eb_9f06a162-ace6-4be5-9898-75d355ab5e67.webp?v=1714839469","width":2000},{"alt":null,"id":23885520470115,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e682ecdb4983f354763019700f64a72a30cc2c42_13a4f66b-645d-4351-9871-a3951de1ad6f.webp?v=1714839472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e682ecdb4983f354763019700f64a72a30cc2c42_13a4f66b-645d-4351-9871-a3951de1ad6f.webp?v=1714839472","width":2000},{"alt":null,"id":23885520797795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54ac384d2cee1974ec8a2f408ced904a633d4d94_3f169483-6ac8-44d0-b37d-6070c70a5e79.webp?v=1714839474"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54ac384d2cee1974ec8a2f408ced904a633d4d94_3f169483-6ac8-44d0-b37d-6070c70a5e79.webp?v=1714839474","width":2000},{"alt":null,"id":23885521322083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09e0b59d97a0e6bbbf30af668fdad13bb1190514_2e7f179a-3036-4a89-bede-b545dff3e884.webp?v=1714839476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09e0b59d97a0e6bbbf30af668fdad13bb1190514_2e7f179a-3036-4a89-bede-b545dff3e884.webp?v=1714839476","width":2000},{"alt":null,"id":23885521748067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a597c030f7008eb44454913e12e14a50499c25fc_865fd4ad-9ab8-4352-bd02-5d4379178e24.webp?v=1714839479"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a597c030f7008eb44454913e12e14a50499c25fc_865fd4ad-9ab8-4352-bd02-5d4379178e24.webp?v=1714839479","width":2000},{"alt":null,"id":23885522108515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd21e7774db37ed697017cb05269ef0f76e0e7ea_27354624-492f-43a7-b498-cf473c356eb4.webp?v=1714839481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd21e7774db37ed697017cb05269ef0f76e0e7ea_27354624-492f-43a7-b498-cf473c356eb4.webp?v=1714839481","width":2000},{"alt":null,"id":23885522272355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31a8989af52b0149e304b1db8f4f6aa2dc430dca_a40c2aca-cb36-42e6-bdab-f40ace0b6434.webp?v=1714839483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31a8989af52b0149e304b1db8f4f6aa2dc430dca_a40c2aca-cb36-42e6-bdab-f40ace0b6434.webp?v=1714839483","width":2000},{"alt":null,"id":23885522501731,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae2bbe65f545fde11b69e2a0e6101e6ff91989_11ead359-5a4b-457e-8c98-57551f6dd079.webp?v=1714839486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae2bbe65f545fde11b69e2a0e6101e6ff91989_11ead359-5a4b-457e-8c98-57551f6dd079.webp?v=1714839486","width":2000},{"alt":null,"id":23885523091555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/827d23fdc759bc138eb6750ae7cafda84f504bf5_68970808-d5aa-44e9-ad99-bac49f3e5058.webp?v=1714839488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/827d23fdc759bc138eb6750ae7cafda84f504bf5_68970808-d5aa-44e9-ad99-bac49f3e5058.webp?v=1714839488","width":2000},{"alt":null,"id":23885523681379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10acb23d9114226a7ea6d85bdd04a05a72916d42_72689166-8ec6-452d-9c3f-97031963a8b3.webp?v=1714839490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10acb23d9114226a7ea6d85bdd04a05a72916d42_72689166-8ec6-452d-9c3f-97031963a8b3.webp?v=1714839490","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41898103701603,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480271208547,"product_id":7411376291939,"position":8,"created_at":"2024-05-05T00:18:06+08:00","updated_at":"2024-05-05T00:18:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae2bbe65f545fde11b69e2a0e6101e6ff91989_11ead359-5a4b-457e-8c98-57551f6dd079.webp?v=1714839486","variant_ids":[41898103701603]},"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-PC06","featured_media":{"alt":null,"id":23885522501731,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae2bbe65f545fde11b69e2a0e6101e6ff91989_11ead359-5a4b-457e-8c98-57551f6dd079.webp?v=1714839486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898103832675,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480272355427,"product_id":7411376291939,"position":10,"created_at":"2024-05-05T00:18:10+08:00","updated_at":"2024-05-05T00:18:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10acb23d9114226a7ea6d85bdd04a05a72916d42_72689166-8ec6-452d-9c3f-97031963a8b3.webp?v=1714839490","variant_ids":[41898103832675]},"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-PC06","featured_media":{"alt":null,"id":23885523681379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10acb23d9114226a7ea6d85bdd04a05a72916d42_72689166-8ec6-452d-9c3f-97031963a8b3.webp?v=1714839490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898104324195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480268652643,"product_id":7411376291939,"position":1,"created_at":"2024-05-05T00:17:49+08:00","updated_at":"2024-05-05T00:17:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d20650f74d434007f7f501823fd0db6ecc69eb_9f06a162-ace6-4be5-9898-75d355ab5e67.webp?v=1714839469","variant_ids":[41898104324195]},"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-PC06","featured_media":{"alt":null,"id":23885519978595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d20650f74d434007f7f501823fd0db6ecc69eb_9f06a162-ace6-4be5-9898-75d355ab5e67.webp?v=1714839469"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41898103701603,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PC06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480271208547,"product_id":7411376291939,"position":8,"created_at":"2024-05-05T00:18:06+08:00","updated_at":"2024-05-05T00:18:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae2bbe65f545fde11b69e2a0e6101e6ff91989_11ead359-5a4b-457e-8c98-57551f6dd079.webp?v=1714839486","variant_ids":[41898103701603]},"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-PC06","featured_media":{"alt":null,"id":23885522501731,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae2bbe65f545fde11b69e2a0e6101e6ff91989_11ead359-5a4b-457e-8c98-57551f6dd079.webp?v=1714839486"}},"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: "停產"
}