$product = {"id":7408076652643,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8","handle":"iphone-13-mini-mod-nx-printable-pc04","description":null,"published_at":"2024-06-11T16:30:45+08:00","created_at":"2024-05-03T11:54:45+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":41882404782179,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471132672099,"product_id":7408076652643,"position":9,"created_at":"2024-05-03T11:55:07+08:00","updated_at":"2024-05-03T11:55:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374fc37b8305131a9f2d05be8953c03cce9840e1_6d7ceeca-a47c-4635-b314-e1452d9e0742.webp?v=1714708507","variant_ids":[41882404782179]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23876037869667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374fc37b8305131a9f2d05be8953c03cce9840e1_6d7ceeca-a47c-4635-b314-e1452d9e0742.webp?v=1714708507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882404847715,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471129002083,"product_id":7408076652643,"position":3,"created_at":"2024-05-03T11:54:53+08:00","updated_at":"2024-05-03T11:54:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6b890cd09f68dae430dc019751916f1378e067_a11cf51e-25fc-4755-bbe1-a6b589bc87b0.webp?v=1714708493","variant_ids":[41882404847715]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23876034199651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6b890cd09f68dae430dc019751916f1378e067_a11cf51e-25fc-4755-bbe1-a6b589bc87b0.webp?v=1714708493"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882405175395,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471128412259,"product_id":7408076652643,"position":2,"created_at":"2024-05-03T11:54:50+08:00","updated_at":"2024-05-03T11:54:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634c4894c7057498e2c21fdba95fecacec561a3b_6272e45d-2f48-4d32-bb01-9f1a4f4f4f8d.webp?v=1714708490","variant_ids":[41882405175395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23876033642595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634c4894c7057498e2c21fdba95fecacec561a3b_6272e45d-2f48-4d32-bb01-9f1a4f4f4f8d.webp?v=1714708490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5d03d02a1441d81869ee19034438500a22ef87_c615e20f-4177-4cdb-9d8b-fc411fdd5d92.webp?v=1714708488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634c4894c7057498e2c21fdba95fecacec561a3b_6272e45d-2f48-4d32-bb01-9f1a4f4f4f8d.webp?v=1714708490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6b890cd09f68dae430dc019751916f1378e067_a11cf51e-25fc-4755-bbe1-a6b589bc87b0.webp?v=1714708493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5163ee1244d7c4dee2f93e5eb3c06ec979d2bd9_8cbf4ba4-371d-41e0-95a7-34740871a732.webp?v=1714708495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823442096450e0617ccb9e71d7711c9eb3381fcd_c65f1868-16dc-4b8b-82d3-7d646478b09c.webp?v=1714708498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92137fa46505f5d3d74ec64f9b4e4ae07aa45685_44535655-f138-47da-889d-fa40cc783df0.webp?v=1714708500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c397586d957a509e56bbb84ceff63b005b59bd7b_81ed7c59-34f2-4bc4-8e1f-bc2b2ef6259c.webp?v=1714708502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5fa9dd994de099cc600e22ebc3acfe6b7154c88_81cc3b61-16ca-44a3-acd8-28797517474f.webp?v=1714708505","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374fc37b8305131a9f2d05be8953c03cce9840e1_6d7ceeca-a47c-4635-b314-e1452d9e0742.webp?v=1714708507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4756ec42c32b62216d742b726ab45ccb86a872ea_7971decb-44ef-48a4-91df-b2c63ee0abc5.webp?v=1714708509"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5d03d02a1441d81869ee19034438500a22ef87_c615e20f-4177-4cdb-9d8b-fc411fdd5d92.webp?v=1714708488","options":["color"],"media":[{"alt":null,"id":23876033413219,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5d03d02a1441d81869ee19034438500a22ef87_c615e20f-4177-4cdb-9d8b-fc411fdd5d92.webp?v=1714708488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d5d03d02a1441d81869ee19034438500a22ef87_c615e20f-4177-4cdb-9d8b-fc411fdd5d92.webp?v=1714708488","width":2000},{"alt":null,"id":23876033642595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634c4894c7057498e2c21fdba95fecacec561a3b_6272e45d-2f48-4d32-bb01-9f1a4f4f4f8d.webp?v=1714708490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634c4894c7057498e2c21fdba95fecacec561a3b_6272e45d-2f48-4d32-bb01-9f1a4f4f4f8d.webp?v=1714708490","width":2000},{"alt":null,"id":23876034199651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6b890cd09f68dae430dc019751916f1378e067_a11cf51e-25fc-4755-bbe1-a6b589bc87b0.webp?v=1714708493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6b890cd09f68dae430dc019751916f1378e067_a11cf51e-25fc-4755-bbe1-a6b589bc87b0.webp?v=1714708493","width":2000},{"alt":null,"id":23876034527331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5163ee1244d7c4dee2f93e5eb3c06ec979d2bd9_8cbf4ba4-371d-41e0-95a7-34740871a732.webp?v=1714708495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5163ee1244d7c4dee2f93e5eb3c06ec979d2bd9_8cbf4ba4-371d-41e0-95a7-34740871a732.webp?v=1714708495","width":2000},{"alt":null,"id":23876034920547,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823442096450e0617ccb9e71d7711c9eb3381fcd_c65f1868-16dc-4b8b-82d3-7d646478b09c.webp?v=1714708498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823442096450e0617ccb9e71d7711c9eb3381fcd_c65f1868-16dc-4b8b-82d3-7d646478b09c.webp?v=1714708498","width":2000},{"alt":null,"id":23876036558947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92137fa46505f5d3d74ec64f9b4e4ae07aa45685_44535655-f138-47da-889d-fa40cc783df0.webp?v=1714708500"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92137fa46505f5d3d74ec64f9b4e4ae07aa45685_44535655-f138-47da-889d-fa40cc783df0.webp?v=1714708500","width":2000},{"alt":null,"id":23876036984931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c397586d957a509e56bbb84ceff63b005b59bd7b_81ed7c59-34f2-4bc4-8e1f-bc2b2ef6259c.webp?v=1714708502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c397586d957a509e56bbb84ceff63b005b59bd7b_81ed7c59-34f2-4bc4-8e1f-bc2b2ef6259c.webp?v=1714708502","width":2000},{"alt":null,"id":23876037509219,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5fa9dd994de099cc600e22ebc3acfe6b7154c88_81cc3b61-16ca-44a3-acd8-28797517474f.webp?v=1714708505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5fa9dd994de099cc600e22ebc3acfe6b7154c88_81cc3b61-16ca-44a3-acd8-28797517474f.webp?v=1714708505","width":2000},{"alt":null,"id":23876037869667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374fc37b8305131a9f2d05be8953c03cce9840e1_6d7ceeca-a47c-4635-b314-e1452d9e0742.webp?v=1714708507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374fc37b8305131a9f2d05be8953c03cce9840e1_6d7ceeca-a47c-4635-b314-e1452d9e0742.webp?v=1714708507","width":2000},{"alt":null,"id":23876038361187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4756ec42c32b62216d742b726ab45ccb86a872ea_7971decb-44ef-48a4-91df-b2c63ee0abc5.webp?v=1714708509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4756ec42c32b62216d742b726ab45ccb86a872ea_7971decb-44ef-48a4-91df-b2c63ee0abc5.webp?v=1714708509","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882404782179,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471132672099,"product_id":7408076652643,"position":9,"created_at":"2024-05-03T11:55:07+08:00","updated_at":"2024-05-03T11:55:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374fc37b8305131a9f2d05be8953c03cce9840e1_6d7ceeca-a47c-4635-b314-e1452d9e0742.webp?v=1714708507","variant_ids":[41882404782179]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23876037869667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374fc37b8305131a9f2d05be8953c03cce9840e1_6d7ceeca-a47c-4635-b314-e1452d9e0742.webp?v=1714708507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882404847715,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471129002083,"product_id":7408076652643,"position":3,"created_at":"2024-05-03T11:54:53+08:00","updated_at":"2024-05-03T11:54:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6b890cd09f68dae430dc019751916f1378e067_a11cf51e-25fc-4755-bbe1-a6b589bc87b0.webp?v=1714708493","variant_ids":[41882404847715]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23876034199651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d6b890cd09f68dae430dc019751916f1378e067_a11cf51e-25fc-4755-bbe1-a6b589bc87b0.webp?v=1714708493"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882405175395,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471128412259,"product_id":7408076652643,"position":2,"created_at":"2024-05-03T11:54:50+08:00","updated_at":"2024-05-03T11:54:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634c4894c7057498e2c21fdba95fecacec561a3b_6272e45d-2f48-4d32-bb01-9f1a4f4f4f8d.webp?v=1714708490","variant_ids":[41882405175395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23876033642595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/634c4894c7057498e2c21fdba95fecacec561a3b_6272e45d-2f48-4d32-bb01-9f1a4f4f4f8d.webp?v=1714708490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882404782179,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471132672099,"product_id":7408076652643,"position":9,"created_at":"2024-05-03T11:55:07+08:00","updated_at":"2024-05-03T11:55:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374fc37b8305131a9f2d05be8953c03cce9840e1_6d7ceeca-a47c-4635-b314-e1452d9e0742.webp?v=1714708507","variant_ids":[41882404782179]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23876037869667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374fc37b8305131a9f2d05be8953c03cce9840e1_6d7ceeca-a47c-4635-b314-e1452d9e0742.webp?v=1714708507"}},"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: "停產"
}