$product = {"id":7408240328803,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列","handle":"iphone-13-mini-mod-nx-printable-pb57","description":null,"published_at":"2024-06-11T16:35:09+08:00","created_at":"2024-05-03T12:27:12+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":41884213215331,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31471558262883,"product_id":7408240328803,"position":8,"created_at":"2024-05-03T12:27:30+08:00","updated_at":"2024-05-03T12:27:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd3d54858c4649a3b986c0ef0853df169cfc091_c37c5155-1e40-43f0-bfaa-bc2740ac0410.webp?v=1714710450","variant_ids":[41884213215331]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23876465000547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd3d54858c4649a3b986c0ef0853df169cfc091_c37c5155-1e40-43f0-bfaa-bc2740ac0410.webp?v=1714710450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884213280867,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31471559213155,"product_id":7408240328803,"position":10,"created_at":"2024-05-03T12:27:35+08:00","updated_at":"2024-05-03T12:27:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843cc93138edfbca8fd43e8a5243e31a0b64e60e_95b17473-6243-45ae-b91f-d6369a037f4f.webp?v=1714710455","variant_ids":[41884213280867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23876465983587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843cc93138edfbca8fd43e8a5243e31a0b64e60e_95b17473-6243-45ae-b91f-d6369a037f4f.webp?v=1714710455"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884213510243,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31471556657251,"product_id":7408240328803,"position":5,"created_at":"2024-05-03T12:27:24+08:00","updated_at":"2024-05-03T12:27:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55378a560c992a673c4662da556d2b371857e830_64af8473-e0c2-4ce8-89e7-c4c808694275.webp?v=1714710444","variant_ids":[41884213510243]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23876463394915,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55378a560c992a673c4662da556d2b371857e830_64af8473-e0c2-4ce8-89e7-c4c808694275.webp?v=1714710444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c506bc38ceb860d69f3522fc8a5f9d1c2a8e77e_7b8e9296-21d4-4eed-acac-9d1a5ac57f71.webp?v=1714710435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd105dea12888185ce7ffaf31a511db842537cf4_ccdf06f9-e5ce-4845-b70e-5573819b2670.webp?v=1714710437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5f73f46c68d15e6ce65742ced860408ce59a522_7dafb6c0-a153-4cf7-9ceb-289e8ef6eafa.webp?v=1714710439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04c28f705e819a5699fc66a7d74c36a55d4ea370_cba05bd6-564a-4f99-91e6-3bd7a1006335.webp?v=1714710441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55378a560c992a673c4662da556d2b371857e830_64af8473-e0c2-4ce8-89e7-c4c808694275.webp?v=1714710444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbc33ac826eecf573e9fe0f9a6fd99c1f083f780_fc2f65de-a0a3-49b0-8060-15e7b88a5c5f.webp?v=1714710446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ded5c35d57a0170042f685caf27669aeea96485b_cef323da-1eb0-4283-9a1f-83bf0de57132.webp?v=1714710448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd3d54858c4649a3b986c0ef0853df169cfc091_c37c5155-1e40-43f0-bfaa-bc2740ac0410.webp?v=1714710450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d95e5dbc96c93e03c558444f0241d01707a6fb4f_2f5b3c51-e0b8-4791-8c03-5aaec84f378e.webp?v=1714710452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843cc93138edfbca8fd43e8a5243e31a0b64e60e_95b17473-6243-45ae-b91f-d6369a037f4f.webp?v=1714710455"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c506bc38ceb860d69f3522fc8a5f9d1c2a8e77e_7b8e9296-21d4-4eed-acac-9d1a5ac57f71.webp?v=1714710435","options":["color"],"media":[{"alt":null,"id":23876461461603,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c506bc38ceb860d69f3522fc8a5f9d1c2a8e77e_7b8e9296-21d4-4eed-acac-9d1a5ac57f71.webp?v=1714710435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c506bc38ceb860d69f3522fc8a5f9d1c2a8e77e_7b8e9296-21d4-4eed-acac-9d1a5ac57f71.webp?v=1714710435","width":2000},{"alt":null,"id":23876461953123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd105dea12888185ce7ffaf31a511db842537cf4_ccdf06f9-e5ce-4845-b70e-5573819b2670.webp?v=1714710437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd105dea12888185ce7ffaf31a511db842537cf4_ccdf06f9-e5ce-4845-b70e-5573819b2670.webp?v=1714710437","width":2000},{"alt":null,"id":23876462379107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5f73f46c68d15e6ce65742ced860408ce59a522_7dafb6c0-a153-4cf7-9ceb-289e8ef6eafa.webp?v=1714710439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5f73f46c68d15e6ce65742ced860408ce59a522_7dafb6c0-a153-4cf7-9ceb-289e8ef6eafa.webp?v=1714710439","width":2000},{"alt":null,"id":23876462903395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04c28f705e819a5699fc66a7d74c36a55d4ea370_cba05bd6-564a-4f99-91e6-3bd7a1006335.webp?v=1714710441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04c28f705e819a5699fc66a7d74c36a55d4ea370_cba05bd6-564a-4f99-91e6-3bd7a1006335.webp?v=1714710441","width":2000},{"alt":null,"id":23876463394915,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55378a560c992a673c4662da556d2b371857e830_64af8473-e0c2-4ce8-89e7-c4c808694275.webp?v=1714710444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55378a560c992a673c4662da556d2b371857e830_64af8473-e0c2-4ce8-89e7-c4c808694275.webp?v=1714710444","width":2000},{"alt":null,"id":23876463820899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbc33ac826eecf573e9fe0f9a6fd99c1f083f780_fc2f65de-a0a3-49b0-8060-15e7b88a5c5f.webp?v=1714710446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbc33ac826eecf573e9fe0f9a6fd99c1f083f780_fc2f65de-a0a3-49b0-8060-15e7b88a5c5f.webp?v=1714710446","width":2000},{"alt":null,"id":23876464246883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ded5c35d57a0170042f685caf27669aeea96485b_cef323da-1eb0-4283-9a1f-83bf0de57132.webp?v=1714710448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ded5c35d57a0170042f685caf27669aeea96485b_cef323da-1eb0-4283-9a1f-83bf0de57132.webp?v=1714710448","width":2000},{"alt":null,"id":23876465000547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd3d54858c4649a3b986c0ef0853df169cfc091_c37c5155-1e40-43f0-bfaa-bc2740ac0410.webp?v=1714710450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd3d54858c4649a3b986c0ef0853df169cfc091_c37c5155-1e40-43f0-bfaa-bc2740ac0410.webp?v=1714710450","width":2000},{"alt":null,"id":23876465426531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d95e5dbc96c93e03c558444f0241d01707a6fb4f_2f5b3c51-e0b8-4791-8c03-5aaec84f378e.webp?v=1714710452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d95e5dbc96c93e03c558444f0241d01707a6fb4f_2f5b3c51-e0b8-4791-8c03-5aaec84f378e.webp?v=1714710452","width":2000},{"alt":null,"id":23876465983587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843cc93138edfbca8fd43e8a5243e31a0b64e60e_95b17473-6243-45ae-b91f-d6369a037f4f.webp?v=1714710455"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843cc93138edfbca8fd43e8a5243e31a0b64e60e_95b17473-6243-45ae-b91f-d6369a037f4f.webp?v=1714710455","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41884213215331,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31471558262883,"product_id":7408240328803,"position":8,"created_at":"2024-05-03T12:27:30+08:00","updated_at":"2024-05-03T12:27:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd3d54858c4649a3b986c0ef0853df169cfc091_c37c5155-1e40-43f0-bfaa-bc2740ac0410.webp?v=1714710450","variant_ids":[41884213215331]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23876465000547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd3d54858c4649a3b986c0ef0853df169cfc091_c37c5155-1e40-43f0-bfaa-bc2740ac0410.webp?v=1714710450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884213280867,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31471559213155,"product_id":7408240328803,"position":10,"created_at":"2024-05-03T12:27:35+08:00","updated_at":"2024-05-03T12:27:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843cc93138edfbca8fd43e8a5243e31a0b64e60e_95b17473-6243-45ae-b91f-d6369a037f4f.webp?v=1714710455","variant_ids":[41884213280867]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23876465983587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/843cc93138edfbca8fd43e8a5243e31a0b64e60e_95b17473-6243-45ae-b91f-d6369a037f4f.webp?v=1714710455"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884213510243,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31471556657251,"product_id":7408240328803,"position":5,"created_at":"2024-05-03T12:27:24+08:00","updated_at":"2024-05-03T12:27:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55378a560c992a673c4662da556d2b371857e830_64af8473-e0c2-4ce8-89e7-c4c808694275.webp?v=1714710444","variant_ids":[41884213510243]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23876463394915,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55378a560c992a673c4662da556d2b371857e830_64af8473-e0c2-4ce8-89e7-c4c808694275.webp?v=1714710444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41884213215331,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31471558262883,"product_id":7408240328803,"position":8,"created_at":"2024-05-03T12:27:30+08:00","updated_at":"2024-05-03T12:27:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd3d54858c4649a3b986c0ef0853df169cfc091_c37c5155-1e40-43f0-bfaa-bc2740ac0410.webp?v=1714710450","variant_ids":[41884213215331]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23876465000547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fd3d54858c4649a3b986c0ef0853df169cfc091_c37c5155-1e40-43f0-bfaa-bc2740ac0410.webp?v=1714710450"}},"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: "停產"
}