$product = {"id":7408000893027,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑","handle":"iphone-13-mini-mod-nx-printable-pb09","description":null,"published_at":"2024-06-11T16:28:45+08:00","created_at":"2024-05-03T11:38:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41881576439907,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470936359011,"product_id":7408000893027,"position":5,"created_at":"2024-05-03T11:38:29+08:00","updated_at":"2024-05-03T11:38:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c320855e8e7c0914c10cf17e2279506341ef2e_40cdff07-3362-4bc8-b11f-53f7243dd2ed.webp?v=1714707509","variant_ids":[41881576439907]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB09","featured_media":{"alt":null,"id":23875837231203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c320855e8e7c0914c10cf17e2279506341ef2e_40cdff07-3362-4bc8-b11f-53f7243dd2ed.webp?v=1714707509"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881576505443,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470930395235,"product_id":7408000893027,"position":2,"created_at":"2024-05-03T11:38:21+08:00","updated_at":"2024-05-03T11:38:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514d0346840deaa00aa7b002956d064a1ad8d823_8549302f-1fdb-487c-8bc2-1c8316e968e3.webp?v=1714707501","variant_ids":[41881576505443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB09","featured_media":{"alt":null,"id":23875835068515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514d0346840deaa00aa7b002956d064a1ad8d823_8549302f-1fdb-487c-8bc2-1c8316e968e3.webp?v=1714707501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881576734819,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470938914915,"product_id":7408000893027,"position":10,"created_at":"2024-05-03T11:38:43+08:00","updated_at":"2024-05-03T11:38:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9887ac853e7fca79987c469a94b52bbcdd76b3f_03039253-9a3a-4989-acbc-284daa36a7d2.webp?v=1714707523","variant_ids":[41881576734819]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB09","featured_media":{"alt":null,"id":23875843653731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9887ac853e7fca79987c469a94b52bbcdd76b3f_03039253-9a3a-4989-acbc-284daa36a7d2.webp?v=1714707523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3958834cfe4c329ed73aa5d64f2c46e5f31520c_5ef63fa3-5615-453d-a7b0-f547bc574c8d.webp?v=1714707499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514d0346840deaa00aa7b002956d064a1ad8d823_8549302f-1fdb-487c-8bc2-1c8316e968e3.webp?v=1714707501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb448f3caed7e5abaa9649ddd071ae82cb7faa31_a3d1f4db-999a-4926-bbda-4a8556ec6b6e.webp?v=1714707504","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e489529a395262fff8aef5135b57f5ee8acbce39_df3e58ba-56a6-45db-9e59-efb41d12d525.webp?v=1714707506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c320855e8e7c0914c10cf17e2279506341ef2e_40cdff07-3362-4bc8-b11f-53f7243dd2ed.webp?v=1714707509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95b436107a292a9d5c23f223ba4b51b0c93ea898_c8d49045-315a-4c24-a162-4d2d6a78a18c.webp?v=1714707512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1762f9cdcfb8ca2bb96f5e4d00076a259ca155b7_cac94929-3fdd-405a-8d56-d1c0b7ce2fa7.webp?v=1714707515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a290645944e8c03fdccec7a4a448600f0de6aafc_8046de24-5857-49df-a5dc-d42d5bc22fc2.webp?v=1714707518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0920f57f35bf56f13ae4ed03de6b0401a14a69f5_99934d29-cae2-4b29-89d8-7455c59de588.webp?v=1714707521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9887ac853e7fca79987c469a94b52bbcdd76b3f_03039253-9a3a-4989-acbc-284daa36a7d2.webp?v=1714707523"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3958834cfe4c329ed73aa5d64f2c46e5f31520c_5ef63fa3-5615-453d-a7b0-f547bc574c8d.webp?v=1714707499","options":["color"],"media":[{"alt":null,"id":23875834740835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3958834cfe4c329ed73aa5d64f2c46e5f31520c_5ef63fa3-5615-453d-a7b0-f547bc574c8d.webp?v=1714707499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3958834cfe4c329ed73aa5d64f2c46e5f31520c_5ef63fa3-5615-453d-a7b0-f547bc574c8d.webp?v=1714707499","width":2000},{"alt":null,"id":23875835068515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514d0346840deaa00aa7b002956d064a1ad8d823_8549302f-1fdb-487c-8bc2-1c8316e968e3.webp?v=1714707501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514d0346840deaa00aa7b002956d064a1ad8d823_8549302f-1fdb-487c-8bc2-1c8316e968e3.webp?v=1714707501","width":2000},{"alt":null,"id":23875835592803,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb448f3caed7e5abaa9649ddd071ae82cb7faa31_a3d1f4db-999a-4926-bbda-4a8556ec6b6e.webp?v=1714707504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb448f3caed7e5abaa9649ddd071ae82cb7faa31_a3d1f4db-999a-4926-bbda-4a8556ec6b6e.webp?v=1714707504","width":2000},{"alt":null,"id":23875835953251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e489529a395262fff8aef5135b57f5ee8acbce39_df3e58ba-56a6-45db-9e59-efb41d12d525.webp?v=1714707506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e489529a395262fff8aef5135b57f5ee8acbce39_df3e58ba-56a6-45db-9e59-efb41d12d525.webp?v=1714707506","width":2000},{"alt":null,"id":23875837231203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c320855e8e7c0914c10cf17e2279506341ef2e_40cdff07-3362-4bc8-b11f-53f7243dd2ed.webp?v=1714707509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c320855e8e7c0914c10cf17e2279506341ef2e_40cdff07-3362-4bc8-b11f-53f7243dd2ed.webp?v=1714707509","width":2000},{"alt":null,"id":23875841523811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95b436107a292a9d5c23f223ba4b51b0c93ea898_c8d49045-315a-4c24-a162-4d2d6a78a18c.webp?v=1714707512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95b436107a292a9d5c23f223ba4b51b0c93ea898_c8d49045-315a-4c24-a162-4d2d6a78a18c.webp?v=1714707512","width":2000},{"alt":null,"id":23875841982563,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1762f9cdcfb8ca2bb96f5e4d00076a259ca155b7_cac94929-3fdd-405a-8d56-d1c0b7ce2fa7.webp?v=1714707515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1762f9cdcfb8ca2bb96f5e4d00076a259ca155b7_cac94929-3fdd-405a-8d56-d1c0b7ce2fa7.webp?v=1714707515","width":2000},{"alt":null,"id":23875842572387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a290645944e8c03fdccec7a4a448600f0de6aafc_8046de24-5857-49df-a5dc-d42d5bc22fc2.webp?v=1714707518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a290645944e8c03fdccec7a4a448600f0de6aafc_8046de24-5857-49df-a5dc-d42d5bc22fc2.webp?v=1714707518","width":2000},{"alt":null,"id":23875843129443,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0920f57f35bf56f13ae4ed03de6b0401a14a69f5_99934d29-cae2-4b29-89d8-7455c59de588.webp?v=1714707521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0920f57f35bf56f13ae4ed03de6b0401a14a69f5_99934d29-cae2-4b29-89d8-7455c59de588.webp?v=1714707521","width":2000},{"alt":null,"id":23875843653731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9887ac853e7fca79987c469a94b52bbcdd76b3f_03039253-9a3a-4989-acbc-284daa36a7d2.webp?v=1714707523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9887ac853e7fca79987c469a94b52bbcdd76b3f_03039253-9a3a-4989-acbc-284daa36a7d2.webp?v=1714707523","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881576439907,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470936359011,"product_id":7408000893027,"position":5,"created_at":"2024-05-03T11:38:29+08:00","updated_at":"2024-05-03T11:38:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c320855e8e7c0914c10cf17e2279506341ef2e_40cdff07-3362-4bc8-b11f-53f7243dd2ed.webp?v=1714707509","variant_ids":[41881576439907]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB09","featured_media":{"alt":null,"id":23875837231203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c320855e8e7c0914c10cf17e2279506341ef2e_40cdff07-3362-4bc8-b11f-53f7243dd2ed.webp?v=1714707509"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881576505443,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470930395235,"product_id":7408000893027,"position":2,"created_at":"2024-05-03T11:38:21+08:00","updated_at":"2024-05-03T11:38:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514d0346840deaa00aa7b002956d064a1ad8d823_8549302f-1fdb-487c-8bc2-1c8316e968e3.webp?v=1714707501","variant_ids":[41881576505443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB09","featured_media":{"alt":null,"id":23875835068515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514d0346840deaa00aa7b002956d064a1ad8d823_8549302f-1fdb-487c-8bc2-1c8316e968e3.webp?v=1714707501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881576734819,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470938914915,"product_id":7408000893027,"position":10,"created_at":"2024-05-03T11:38:43+08:00","updated_at":"2024-05-03T11:38:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9887ac853e7fca79987c469a94b52bbcdd76b3f_03039253-9a3a-4989-acbc-284daa36a7d2.webp?v=1714707523","variant_ids":[41881576734819]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB09","featured_media":{"alt":null,"id":23875843653731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9887ac853e7fca79987c469a94b52bbcdd76b3f_03039253-9a3a-4989-acbc-284daa36a7d2.webp?v=1714707523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881576439907,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470936359011,"product_id":7408000893027,"position":5,"created_at":"2024-05-03T11:38:29+08:00","updated_at":"2024-05-03T11:38:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c320855e8e7c0914c10cf17e2279506341ef2e_40cdff07-3362-4bc8-b11f-53f7243dd2ed.webp?v=1714707509","variant_ids":[41881576439907]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB09","featured_media":{"alt":null,"id":23875837231203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c320855e8e7c0914c10cf17e2279506341ef2e_40cdff07-3362-4bc8-b11f-53f7243dd2ed.webp?v=1714707509"}},"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: "停產"
}