$product = {"id":7411219431523,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb07","description":null,"published_at":"2024-06-11T17:39:06+08:00","created_at":"2024-05-04T23:47:46+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":41896139653219,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31479880056931,"product_id":7411219431523,"position":3,"created_at":"2024-05-04T23:47:53+08:00","updated_at":"2024-05-04T23:47:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443a60a6e184d06ab1c92ae151e80642a7238051_2a2bbe47-3fce-4c75-bd69-6bd2c96d881a.webp?v=1714837673","variant_ids":[41896139653219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - 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-PB07","featured_media":{"alt":null,"id":23885130432611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443a60a6e184d06ab1c92ae151e80642a7238051_2a2bbe47-3fce-4c75-bd69-6bd2c96d881a.webp?v=1714837673"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896139718755,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31479883006051,"product_id":7411219431523,"position":9,"created_at":"2024-05-04T23:48:07+08:00","updated_at":"2024-05-04T23:48:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6eda0f34ff15cccd6541d48ab4edfa57357394_865df3d1-9c38-4597-8c8f-b7e268ce30d8.webp?v=1714837687","variant_ids":[41896139718755]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - 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-PB07","featured_media":{"alt":null,"id":23885133447267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6eda0f34ff15cccd6541d48ab4edfa57357394_865df3d1-9c38-4597-8c8f-b7e268ce30d8.webp?v=1714837687"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896139948131,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31479878910051,"product_id":7411219431523,"position":1,"created_at":"2024-05-04T23:47:49+08:00","updated_at":"2024-05-04T23:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b53402f929798192c03e569e0842799d8f70ea06_a4f6c183-bc3a-461b-8f6b-9f9fc6b45774.webp?v=1714837669","variant_ids":[41896139948131]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - 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-PB07","featured_media":{"alt":null,"id":23885129285731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b53402f929798192c03e569e0842799d8f70ea06_a4f6c183-bc3a-461b-8f6b-9f9fc6b45774.webp?v=1714837669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b53402f929798192c03e569e0842799d8f70ea06_a4f6c183-bc3a-461b-8f6b-9f9fc6b45774.webp?v=1714837669","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f7bbb4db07479e139ccbec0d372609b83c03fb3_efd17e0b-6f13-4467-b454-2d31a4bc8979.webp?v=1714837671","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443a60a6e184d06ab1c92ae151e80642a7238051_2a2bbe47-3fce-4c75-bd69-6bd2c96d881a.webp?v=1714837673","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a34d6c9004e0e6a718775c86b2588b9888bdec3c_8a3667b2-12d9-4645-a570-5449292a2acc.webp?v=1714837676","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/827ca4de1c7300797a60199f6aecaedc25f8d2ab_0fb5a600-33ec-44d3-9c23-26ac5e40f37c.webp?v=1714837678","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800d148cab584e5029ed35d46a9b5f81884c4f5b_0ef0b5ff-264f-4d7d-a724-9195bcf67498.webp?v=1714837680","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/590d58034910c11c31d32448b81c6d0989376ce8_d7f234d5-6bf5-4b31-87f7-ccfcdb8c3ae2.webp?v=1714837682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/131697b1e86c6568be1997a88dbb464d14e23ea7_a508a622-35d5-4225-b36c-47fecea4617b.webp?v=1714837684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6eda0f34ff15cccd6541d48ab4edfa57357394_865df3d1-9c38-4597-8c8f-b7e268ce30d8.webp?v=1714837687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265fe800352baaf92141b8a70ce7e515ddcd0e22_962a080c-7143-45cc-bd91-604282081b74.webp?v=1714837689"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b53402f929798192c03e569e0842799d8f70ea06_a4f6c183-bc3a-461b-8f6b-9f9fc6b45774.webp?v=1714837669","options":["color"],"media":[{"alt":null,"id":23885129285731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b53402f929798192c03e569e0842799d8f70ea06_a4f6c183-bc3a-461b-8f6b-9f9fc6b45774.webp?v=1714837669"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b53402f929798192c03e569e0842799d8f70ea06_a4f6c183-bc3a-461b-8f6b-9f9fc6b45774.webp?v=1714837669","width":2000},{"alt":null,"id":23885129842787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f7bbb4db07479e139ccbec0d372609b83c03fb3_efd17e0b-6f13-4467-b454-2d31a4bc8979.webp?v=1714837671"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f7bbb4db07479e139ccbec0d372609b83c03fb3_efd17e0b-6f13-4467-b454-2d31a4bc8979.webp?v=1714837671","width":2000},{"alt":null,"id":23885130432611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443a60a6e184d06ab1c92ae151e80642a7238051_2a2bbe47-3fce-4c75-bd69-6bd2c96d881a.webp?v=1714837673"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443a60a6e184d06ab1c92ae151e80642a7238051_2a2bbe47-3fce-4c75-bd69-6bd2c96d881a.webp?v=1714837673","width":2000},{"alt":null,"id":23885130891363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a34d6c9004e0e6a718775c86b2588b9888bdec3c_8a3667b2-12d9-4645-a570-5449292a2acc.webp?v=1714837676"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a34d6c9004e0e6a718775c86b2588b9888bdec3c_8a3667b2-12d9-4645-a570-5449292a2acc.webp?v=1714837676","width":2000},{"alt":null,"id":23885131481187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/827ca4de1c7300797a60199f6aecaedc25f8d2ab_0fb5a600-33ec-44d3-9c23-26ac5e40f37c.webp?v=1714837678"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/827ca4de1c7300797a60199f6aecaedc25f8d2ab_0fb5a600-33ec-44d3-9c23-26ac5e40f37c.webp?v=1714837678","width":2000},{"alt":null,"id":23885131874403,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800d148cab584e5029ed35d46a9b5f81884c4f5b_0ef0b5ff-264f-4d7d-a724-9195bcf67498.webp?v=1714837680"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800d148cab584e5029ed35d46a9b5f81884c4f5b_0ef0b5ff-264f-4d7d-a724-9195bcf67498.webp?v=1714837680","width":2000},{"alt":null,"id":23885132431459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/590d58034910c11c31d32448b81c6d0989376ce8_d7f234d5-6bf5-4b31-87f7-ccfcdb8c3ae2.webp?v=1714837682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/590d58034910c11c31d32448b81c6d0989376ce8_d7f234d5-6bf5-4b31-87f7-ccfcdb8c3ae2.webp?v=1714837682","width":2000},{"alt":null,"id":23885132759139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/131697b1e86c6568be1997a88dbb464d14e23ea7_a508a622-35d5-4225-b36c-47fecea4617b.webp?v=1714837684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/131697b1e86c6568be1997a88dbb464d14e23ea7_a508a622-35d5-4225-b36c-47fecea4617b.webp?v=1714837684","width":2000},{"alt":null,"id":23885133447267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6eda0f34ff15cccd6541d48ab4edfa57357394_865df3d1-9c38-4597-8c8f-b7e268ce30d8.webp?v=1714837687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6eda0f34ff15cccd6541d48ab4edfa57357394_865df3d1-9c38-4597-8c8f-b7e268ce30d8.webp?v=1714837687","width":2000},{"alt":null,"id":23885133742179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265fe800352baaf92141b8a70ce7e515ddcd0e22_962a080c-7143-45cc-bd91-604282081b74.webp?v=1714837689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265fe800352baaf92141b8a70ce7e515ddcd0e22_962a080c-7143-45cc-bd91-604282081b74.webp?v=1714837689","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896139653219,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31479880056931,"product_id":7411219431523,"position":3,"created_at":"2024-05-04T23:47:53+08:00","updated_at":"2024-05-04T23:47:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443a60a6e184d06ab1c92ae151e80642a7238051_2a2bbe47-3fce-4c75-bd69-6bd2c96d881a.webp?v=1714837673","variant_ids":[41896139653219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - 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-PB07","featured_media":{"alt":null,"id":23885130432611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443a60a6e184d06ab1c92ae151e80642a7238051_2a2bbe47-3fce-4c75-bd69-6bd2c96d881a.webp?v=1714837673"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896139718755,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31479883006051,"product_id":7411219431523,"position":9,"created_at":"2024-05-04T23:48:07+08:00","updated_at":"2024-05-04T23:48:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6eda0f34ff15cccd6541d48ab4edfa57357394_865df3d1-9c38-4597-8c8f-b7e268ce30d8.webp?v=1714837687","variant_ids":[41896139718755]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - 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-PB07","featured_media":{"alt":null,"id":23885133447267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b6eda0f34ff15cccd6541d48ab4edfa57357394_865df3d1-9c38-4597-8c8f-b7e268ce30d8.webp?v=1714837687"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896139948131,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31479878910051,"product_id":7411219431523,"position":1,"created_at":"2024-05-04T23:47:49+08:00","updated_at":"2024-05-04T23:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b53402f929798192c03e569e0842799d8f70ea06_a4f6c183-bc3a-461b-8f6b-9f9fc6b45774.webp?v=1714837669","variant_ids":[41896139948131]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - 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-PB07","featured_media":{"alt":null,"id":23885129285731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b53402f929798192c03e569e0842799d8f70ea06_a4f6c183-bc3a-461b-8f6b-9f9fc6b45774.webp?v=1714837669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896139653219,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31479880056931,"product_id":7411219431523,"position":3,"created_at":"2024-05-04T23:47:53+08:00","updated_at":"2024-05-04T23:47:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443a60a6e184d06ab1c92ae151e80642a7238051_2a2bbe47-3fce-4c75-bd69-6bd2c96d881a.webp?v=1714837673","variant_ids":[41896139653219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - 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-PB07","featured_media":{"alt":null,"id":23885130432611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443a60a6e184d06ab1c92ae151e80642a7238051_2a2bbe47-3fce-4c75-bd69-6bd2c96d881a.webp?v=1714837673"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}