$product = {"id":7407987458147,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白","handle":"iphone-14-pro-mod-nx-printable-pb16","description":null,"published_at":"2024-06-11T16:28:24+08:00","created_at":"2024-05-03T11:29:15+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 14 Pro","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":41881420267619,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31470884192355,"product_id":7407987458147,"position":10,"created_at":"2024-05-03T11:29:38+08:00","updated_at":"2024-05-03T11:29:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b417cd46861a58f8df2656407f5dc42ba3fcd4_430973b0-816e-4aaf-8845-5551bbf0ce20.webp?v=1714706978","variant_ids":[41881420267619]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0126224-PB16","featured_media":{"alt":null,"id":23875788800099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b417cd46861a58f8df2656407f5dc42ba3fcd4_430973b0-816e-4aaf-8845-5551bbf0ce20.webp?v=1714706978"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881420333155,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31470882193507,"product_id":7407987458147,"position":6,"created_at":"2024-05-03T11:29:28+08:00","updated_at":"2024-05-03T11:29:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152a200ed60a7a55bd70f908231730e39fd2b308_7960cffe-c173-4555-a4ba-3a93eb45a3ad.webp?v=1714706968","variant_ids":[41881420333155]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0126204-PB16","featured_media":{"alt":null,"id":23875786866787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152a200ed60a7a55bd70f908231730e39fd2b308_7960cffe-c173-4555-a4ba-3a93eb45a3ad.webp?v=1714706968"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881420562531,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31470883700835,"product_id":7407987458147,"position":9,"created_at":"2024-05-03T11:29:35+08:00","updated_at":"2024-05-03T11:29:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ba95e7f04c7ad266e52940cb5e655cac7f830b_1a362b27-b084-43d5-868e-65a0625477fc.webp?v=1714706975","variant_ids":[41881420562531]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB01262J5-PB16","featured_media":{"alt":null,"id":23875788374115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ba95e7f04c7ad266e52940cb5e655cac7f830b_1a362b27-b084-43d5-868e-65a0625477fc.webp?v=1714706975"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3983a0126d56fe8dbb996d4481eb15cfd088bcd5_2aa44cc2-3ddd-4be0-8cb3-edf9da05a387.webp?v=1714706957","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3bc23a3ff6de618682d00288b7f41ce463f3a1_d4ac91da-b6d7-4517-8ccc-8124e34edbcd.webp?v=1714706959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c873cbbfda0c8af3b19a0791880c5fbf2abf3216_8ce26880-1913-402d-9abe-25611454469a.webp?v=1714706962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536a0827469a2f1c807df425d07dbf440e9d0ee9_4f92f8b7-f905-4973-8a70-7b9dbfe4d584.webp?v=1714706964","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a85c2c88ca203df683e7e2238dda3770a1e2f4d_ab6a44dd-a00d-4276-9f87-19f980ef7aca.webp?v=1714706966","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152a200ed60a7a55bd70f908231730e39fd2b308_7960cffe-c173-4555-a4ba-3a93eb45a3ad.webp?v=1714706968","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c0b9af6b02b318ed833c242b05a435eaaa4d632_289eac1c-fc0e-44c4-adfc-0ea358a6ae7c.webp?v=1714706971","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80819408b360168bba1fada27091c803f2fc598b_f24b8310-e5e6-4875-ae72-a416a4374788.webp?v=1714706973","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ba95e7f04c7ad266e52940cb5e655cac7f830b_1a362b27-b084-43d5-868e-65a0625477fc.webp?v=1714706975","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b417cd46861a58f8df2656407f5dc42ba3fcd4_430973b0-816e-4aaf-8845-5551bbf0ce20.webp?v=1714706978"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3983a0126d56fe8dbb996d4481eb15cfd088bcd5_2aa44cc2-3ddd-4be0-8cb3-edf9da05a387.webp?v=1714706957","options":["color"],"media":[{"alt":null,"id":23875784343651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3983a0126d56fe8dbb996d4481eb15cfd088bcd5_2aa44cc2-3ddd-4be0-8cb3-edf9da05a387.webp?v=1714706957"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3983a0126d56fe8dbb996d4481eb15cfd088bcd5_2aa44cc2-3ddd-4be0-8cb3-edf9da05a387.webp?v=1714706957","width":2000},{"alt":null,"id":23875784802403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3bc23a3ff6de618682d00288b7f41ce463f3a1_d4ac91da-b6d7-4517-8ccc-8124e34edbcd.webp?v=1714706959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3bc23a3ff6de618682d00288b7f41ce463f3a1_d4ac91da-b6d7-4517-8ccc-8124e34edbcd.webp?v=1714706959","width":2000},{"alt":null,"id":23875785261155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c873cbbfda0c8af3b19a0791880c5fbf2abf3216_8ce26880-1913-402d-9abe-25611454469a.webp?v=1714706962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c873cbbfda0c8af3b19a0791880c5fbf2abf3216_8ce26880-1913-402d-9abe-25611454469a.webp?v=1714706962","width":2000},{"alt":null,"id":23875785752675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536a0827469a2f1c807df425d07dbf440e9d0ee9_4f92f8b7-f905-4973-8a70-7b9dbfe4d584.webp?v=1714706964"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536a0827469a2f1c807df425d07dbf440e9d0ee9_4f92f8b7-f905-4973-8a70-7b9dbfe4d584.webp?v=1714706964","width":2000},{"alt":null,"id":23875786375267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a85c2c88ca203df683e7e2238dda3770a1e2f4d_ab6a44dd-a00d-4276-9f87-19f980ef7aca.webp?v=1714706966"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a85c2c88ca203df683e7e2238dda3770a1e2f4d_ab6a44dd-a00d-4276-9f87-19f980ef7aca.webp?v=1714706966","width":2000},{"alt":null,"id":23875786866787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152a200ed60a7a55bd70f908231730e39fd2b308_7960cffe-c173-4555-a4ba-3a93eb45a3ad.webp?v=1714706968"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152a200ed60a7a55bd70f908231730e39fd2b308_7960cffe-c173-4555-a4ba-3a93eb45a3ad.webp?v=1714706968","width":2000},{"alt":null,"id":23875787423843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c0b9af6b02b318ed833c242b05a435eaaa4d632_289eac1c-fc0e-44c4-adfc-0ea358a6ae7c.webp?v=1714706971"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c0b9af6b02b318ed833c242b05a435eaaa4d632_289eac1c-fc0e-44c4-adfc-0ea358a6ae7c.webp?v=1714706971","width":2000},{"alt":null,"id":23875787849827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80819408b360168bba1fada27091c803f2fc598b_f24b8310-e5e6-4875-ae72-a416a4374788.webp?v=1714706973"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80819408b360168bba1fada27091c803f2fc598b_f24b8310-e5e6-4875-ae72-a416a4374788.webp?v=1714706973","width":2000},{"alt":null,"id":23875788374115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ba95e7f04c7ad266e52940cb5e655cac7f830b_1a362b27-b084-43d5-868e-65a0625477fc.webp?v=1714706975"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ba95e7f04c7ad266e52940cb5e655cac7f830b_1a362b27-b084-43d5-868e-65a0625477fc.webp?v=1714706975","width":2000},{"alt":null,"id":23875788800099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b417cd46861a58f8df2656407f5dc42ba3fcd4_430973b0-816e-4aaf-8845-5551bbf0ce20.webp?v=1714706978"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b417cd46861a58f8df2656407f5dc42ba3fcd4_430973b0-816e-4aaf-8845-5551bbf0ce20.webp?v=1714706978","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881420267619,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31470884192355,"product_id":7407987458147,"position":10,"created_at":"2024-05-03T11:29:38+08:00","updated_at":"2024-05-03T11:29:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b417cd46861a58f8df2656407f5dc42ba3fcd4_430973b0-816e-4aaf-8845-5551bbf0ce20.webp?v=1714706978","variant_ids":[41881420267619]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0126224-PB16","featured_media":{"alt":null,"id":23875788800099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b417cd46861a58f8df2656407f5dc42ba3fcd4_430973b0-816e-4aaf-8845-5551bbf0ce20.webp?v=1714706978"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881420333155,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31470882193507,"product_id":7407987458147,"position":6,"created_at":"2024-05-03T11:29:28+08:00","updated_at":"2024-05-03T11:29:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152a200ed60a7a55bd70f908231730e39fd2b308_7960cffe-c173-4555-a4ba-3a93eb45a3ad.webp?v=1714706968","variant_ids":[41881420333155]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0126204-PB16","featured_media":{"alt":null,"id":23875786866787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/152a200ed60a7a55bd70f908231730e39fd2b308_7960cffe-c173-4555-a4ba-3a93eb45a3ad.webp?v=1714706968"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881420562531,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31470883700835,"product_id":7407987458147,"position":9,"created_at":"2024-05-03T11:29:35+08:00","updated_at":"2024-05-03T11:29:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ba95e7f04c7ad266e52940cb5e655cac7f830b_1a362b27-b084-43d5-868e-65a0625477fc.webp?v=1714706975","variant_ids":[41881420562531]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB01262J5-PB16","featured_media":{"alt":null,"id":23875788374115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24ba95e7f04c7ad266e52940cb5e655cac7f830b_1a362b27-b084-43d5-868e-65a0625477fc.webp?v=1714706975"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881420267619,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31470884192355,"product_id":7407987458147,"position":10,"created_at":"2024-05-03T11:29:38+08:00","updated_at":"2024-05-03T11:29:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b417cd46861a58f8df2656407f5dc42ba3fcd4_430973b0-816e-4aaf-8845-5551bbf0ce20.webp?v=1714706978","variant_ids":[41881420267619]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"NPB0126224-PB16","featured_media":{"alt":null,"id":23875788800099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11b417cd46861a58f8df2656407f5dc42ba3fcd4_430973b0-816e-4aaf-8845-5551bbf0ce20.webp?v=1714706978"}},"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: "停產"
}