$product = {"id":7408000106595,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列","handle":"iphone-13-mini-mod-nx-printable-pb63","description":null,"published_at":"2024-06-11T16:28:44+08:00","created_at":"2024-05-03T11:38:02+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":41881566773347,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31470931771491,"product_id":7408000106595,"position":9,"created_at":"2024-05-03T11:38:27+08:00","updated_at":"2024-05-03T11:38:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff06f81671542e8f616305f40e61849c6b60536_ebe64988-e973-47d2-b5a4-5a439ecee22f.webp?v=1714707507","variant_ids":[41881566773347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - 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-PB63","featured_media":{"alt":null,"id":23875835986019,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff06f81671542e8f616305f40e61849c6b60536_ebe64988-e973-47d2-b5a4-5a439ecee22f.webp?v=1714707507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881566838883,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31470929313891,"product_id":7408000106595,"position":4,"created_at":"2024-05-03T11:38:15+08:00","updated_at":"2024-05-03T11:38:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0d1bb2e3e65926106babacf9d252b47df10f0dd_337af2c1-8c68-41cf-91f5-3b9abdbd8994.webp?v=1714707495","variant_ids":[41881566838883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - 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-PB63","featured_media":{"alt":null,"id":23875834019939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0d1bb2e3e65926106babacf9d252b47df10f0dd_337af2c1-8c68-41cf-91f5-3b9abdbd8994.webp?v=1714707495"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881567068259,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31470927937635,"product_id":7408000106595,"position":2,"created_at":"2024-05-03T11:38:07+08:00","updated_at":"2024-05-03T11:38:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b25d5888cbf57c9026e375ec4564e90a249580c_46afee96-852f-4929-80f6-a427247ddf86.webp?v=1714707487","variant_ids":[41881567068259]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - 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-PB63","featured_media":{"alt":null,"id":23875832610915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b25d5888cbf57c9026e375ec4564e90a249580c_46afee96-852f-4929-80f6-a427247ddf86.webp?v=1714707487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0a2a2a8ad5077faa221e4fd89ed007df410965_e0daaf3f-a445-424e-9c4c-1679c8e2eaab.webp?v=1714707485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b25d5888cbf57c9026e375ec4564e90a249580c_46afee96-852f-4929-80f6-a427247ddf86.webp?v=1714707487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4f72c3cfdf6900f7df9a0f0bf390bf3b117b35a_aff2f2ab-e3f0-4e7e-9d32-b9995d12866e.webp?v=1714707490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0d1bb2e3e65926106babacf9d252b47df10f0dd_337af2c1-8c68-41cf-91f5-3b9abdbd8994.webp?v=1714707495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8409f6b980c8101bca14fa6dfab04c9e570da8d1_a83bf2fb-ea49-4276-8e20-d3221249cf0e.webp?v=1714707497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d0f997239a7f3a9b07a90a9b160feed2fdbbe42_5fd5064b-ae6d-44e7-94b5-2b4426260512.webp?v=1714707499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57c828eed0fe03745de97d04b5e270ea8fb1438f_a38cde3a-a186-417d-b04c-6b22606284cc.webp?v=1714707502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2076814bafc931f893bf9616abff381ad2e160aa_af1683b9-8513-492d-8ca8-8f749d7dc08c.webp?v=1714707504","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff06f81671542e8f616305f40e61849c6b60536_ebe64988-e973-47d2-b5a4-5a439ecee22f.webp?v=1714707507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/271205594f209fd383f79d26986f0e68d1b11f60_1e0e0886-a4a9-48ce-b36f-123e4fb5c09f.webp?v=1714707509"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0a2a2a8ad5077faa221e4fd89ed007df410965_e0daaf3f-a445-424e-9c4c-1679c8e2eaab.webp?v=1714707485","options":["color"],"media":[{"alt":null,"id":23875832250467,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0a2a2a8ad5077faa221e4fd89ed007df410965_e0daaf3f-a445-424e-9c4c-1679c8e2eaab.webp?v=1714707485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c0a2a2a8ad5077faa221e4fd89ed007df410965_e0daaf3f-a445-424e-9c4c-1679c8e2eaab.webp?v=1714707485","width":2000},{"alt":null,"id":23875832610915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b25d5888cbf57c9026e375ec4564e90a249580c_46afee96-852f-4929-80f6-a427247ddf86.webp?v=1714707487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b25d5888cbf57c9026e375ec4564e90a249580c_46afee96-852f-4929-80f6-a427247ddf86.webp?v=1714707487","width":2000},{"alt":null,"id":23875833200739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4f72c3cfdf6900f7df9a0f0bf390bf3b117b35a_aff2f2ab-e3f0-4e7e-9d32-b9995d12866e.webp?v=1714707490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4f72c3cfdf6900f7df9a0f0bf390bf3b117b35a_aff2f2ab-e3f0-4e7e-9d32-b9995d12866e.webp?v=1714707490","width":2000},{"alt":null,"id":23875834019939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0d1bb2e3e65926106babacf9d252b47df10f0dd_337af2c1-8c68-41cf-91f5-3b9abdbd8994.webp?v=1714707495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0d1bb2e3e65926106babacf9d252b47df10f0dd_337af2c1-8c68-41cf-91f5-3b9abdbd8994.webp?v=1714707495","width":2000},{"alt":null,"id":23875834413155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8409f6b980c8101bca14fa6dfab04c9e570da8d1_a83bf2fb-ea49-4276-8e20-d3221249cf0e.webp?v=1714707497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8409f6b980c8101bca14fa6dfab04c9e570da8d1_a83bf2fb-ea49-4276-8e20-d3221249cf0e.webp?v=1714707497","width":2000},{"alt":null,"id":23875834806371,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d0f997239a7f3a9b07a90a9b160feed2fdbbe42_5fd5064b-ae6d-44e7-94b5-2b4426260512.webp?v=1714707499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d0f997239a7f3a9b07a90a9b160feed2fdbbe42_5fd5064b-ae6d-44e7-94b5-2b4426260512.webp?v=1714707499","width":2000},{"alt":null,"id":23875835265123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57c828eed0fe03745de97d04b5e270ea8fb1438f_a38cde3a-a186-417d-b04c-6b22606284cc.webp?v=1714707502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57c828eed0fe03745de97d04b5e270ea8fb1438f_a38cde3a-a186-417d-b04c-6b22606284cc.webp?v=1714707502","width":2000},{"alt":null,"id":23875835625571,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2076814bafc931f893bf9616abff381ad2e160aa_af1683b9-8513-492d-8ca8-8f749d7dc08c.webp?v=1714707504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2076814bafc931f893bf9616abff381ad2e160aa_af1683b9-8513-492d-8ca8-8f749d7dc08c.webp?v=1714707504","width":2000},{"alt":null,"id":23875835986019,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff06f81671542e8f616305f40e61849c6b60536_ebe64988-e973-47d2-b5a4-5a439ecee22f.webp?v=1714707507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff06f81671542e8f616305f40e61849c6b60536_ebe64988-e973-47d2-b5a4-5a439ecee22f.webp?v=1714707507","width":2000},{"alt":null,"id":23875837952099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/271205594f209fd383f79d26986f0e68d1b11f60_1e0e0886-a4a9-48ce-b36f-123e4fb5c09f.webp?v=1714707509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/271205594f209fd383f79d26986f0e68d1b11f60_1e0e0886-a4a9-48ce-b36f-123e4fb5c09f.webp?v=1714707509","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881566773347,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31470931771491,"product_id":7408000106595,"position":9,"created_at":"2024-05-03T11:38:27+08:00","updated_at":"2024-05-03T11:38:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff06f81671542e8f616305f40e61849c6b60536_ebe64988-e973-47d2-b5a4-5a439ecee22f.webp?v=1714707507","variant_ids":[41881566773347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - 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-PB63","featured_media":{"alt":null,"id":23875835986019,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff06f81671542e8f616305f40e61849c6b60536_ebe64988-e973-47d2-b5a4-5a439ecee22f.webp?v=1714707507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881566838883,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31470929313891,"product_id":7408000106595,"position":4,"created_at":"2024-05-03T11:38:15+08:00","updated_at":"2024-05-03T11:38:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0d1bb2e3e65926106babacf9d252b47df10f0dd_337af2c1-8c68-41cf-91f5-3b9abdbd8994.webp?v=1714707495","variant_ids":[41881566838883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - 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-PB63","featured_media":{"alt":null,"id":23875834019939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0d1bb2e3e65926106babacf9d252b47df10f0dd_337af2c1-8c68-41cf-91f5-3b9abdbd8994.webp?v=1714707495"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881567068259,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31470927937635,"product_id":7408000106595,"position":2,"created_at":"2024-05-03T11:38:07+08:00","updated_at":"2024-05-03T11:38:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b25d5888cbf57c9026e375ec4564e90a249580c_46afee96-852f-4929-80f6-a427247ddf86.webp?v=1714707487","variant_ids":[41881567068259]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - 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-PB63","featured_media":{"alt":null,"id":23875832610915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b25d5888cbf57c9026e375ec4564e90a249580c_46afee96-852f-4929-80f6-a427247ddf86.webp?v=1714707487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881566773347,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB63","requires_shipping":true,"taxable":true,"featured_image":{"id":31470931771491,"product_id":7408000106595,"position":9,"created_at":"2024-05-03T11:38:27+08:00","updated_at":"2024-05-03T11:38:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff06f81671542e8f616305f40e61849c6b60536_ebe64988-e973-47d2-b5a4-5a439ecee22f.webp?v=1714707507","variant_ids":[41881566773347]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 戰機-日文字系列 - 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-PB63","featured_media":{"alt":null,"id":23875835986019,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff06f81671542e8f616305f40e61849c6b60536_ebe64988-e973-47d2-b5a4-5a439ecee22f.webp?v=1714707507"}},"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: "停產"
}