$product = {"id":7407836954723,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist","handle":"iphone-14-pro-mod-nx-printable-pb96","description":null,"published_at":"2024-06-11T16:24:13+08:00","created_at":"2024-05-03T10:59:39+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":41879443636323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31470490058851,"product_id":7407836954723,"position":1,"created_at":"2024-05-03T10:59:42+08:00","updated_at":"2024-05-03T10:59:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182","variant_ids":[41879443636323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23875393749091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879443734627,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31470491861091,"product_id":7407836954723,"position":5,"created_at":"2024-05-03T10:59:52+08:00","updated_at":"2024-05-03T10:59:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/817ec2c0ef73de17689db845276876f3d704501d_0f5daa21-acbd-4264-b9f3-c198110f6d7f.webp?v=1714705192","variant_ids":[41879443734627]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23875395616867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/817ec2c0ef73de17689db845276876f3d704501d_0f5daa21-acbd-4264-b9f3-c198110f6d7f.webp?v=1714705192"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879444193379,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31470490452067,"product_id":7407836954723,"position":2,"created_at":"2024-05-03T10:59:44+08:00","updated_at":"2024-05-03T10:59:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c865e32250fca86b109f3861d5a9b39c565a39b6_68f59972-dad0-47d1-b5da-79ab8d3c3633.webp?v=1714705184","variant_ids":[41879444193379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23875394207843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c865e32250fca86b109f3861d5a9b39c565a39b6_68f59972-dad0-47d1-b5da-79ab8d3c3633.webp?v=1714705184"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c865e32250fca86b109f3861d5a9b39c565a39b6_68f59972-dad0-47d1-b5da-79ab8d3c3633.webp?v=1714705184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05522fe28280c8ba62ccfc663097eee9c9b6bd56_f2a76017-3256-4b55-b174-b9c29156fa91.webp?v=1714705187","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958388e22cdd492373532dea2b463d485a119531_7ac39593-e350-41c0-977c-a2875f87879a.webp?v=1714705190","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/817ec2c0ef73de17689db845276876f3d704501d_0f5daa21-acbd-4264-b9f3-c198110f6d7f.webp?v=1714705192","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/042490dfd5328ea4a3959fc54b0968ac1b3aa0d8_be76574f-0751-42a2-8974-28c8f6ccd49f.webp?v=1714705195","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73def6b258f9fceff26c9fa72a58e792488b2af7_432d65d8-bff5-4b4b-9759-bc086defbe4b.webp?v=1714705198","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4fd2a753d8f13843708eaa77a208e9835298463_bda00cc5-798e-43b2-82cd-50105668fe66.webp?v=1714705200","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a27856dd53bfe9ccbb30092640bdd413f61e3796_8744cf44-d974-4fb9-a51d-897f76967b09.webp?v=1714705202","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dae48418417359db040414124c827cbcf59c0cbc_ed40661c-27e2-4401-98bb-db15786f35fc.webp?v=1714705205"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182","options":["color"],"media":[{"alt":null,"id":23875393749091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182","width":2000},{"alt":null,"id":23875394207843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c865e32250fca86b109f3861d5a9b39c565a39b6_68f59972-dad0-47d1-b5da-79ab8d3c3633.webp?v=1714705184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c865e32250fca86b109f3861d5a9b39c565a39b6_68f59972-dad0-47d1-b5da-79ab8d3c3633.webp?v=1714705184","width":2000},{"alt":null,"id":23875394666595,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05522fe28280c8ba62ccfc663097eee9c9b6bd56_f2a76017-3256-4b55-b174-b9c29156fa91.webp?v=1714705187"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05522fe28280c8ba62ccfc663097eee9c9b6bd56_f2a76017-3256-4b55-b174-b9c29156fa91.webp?v=1714705187","width":2000},{"alt":null,"id":23875395190883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958388e22cdd492373532dea2b463d485a119531_7ac39593-e350-41c0-977c-a2875f87879a.webp?v=1714705190"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958388e22cdd492373532dea2b463d485a119531_7ac39593-e350-41c0-977c-a2875f87879a.webp?v=1714705190","width":2000},{"alt":null,"id":23875395616867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/817ec2c0ef73de17689db845276876f3d704501d_0f5daa21-acbd-4264-b9f3-c198110f6d7f.webp?v=1714705192"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/817ec2c0ef73de17689db845276876f3d704501d_0f5daa21-acbd-4264-b9f3-c198110f6d7f.webp?v=1714705192","width":2000},{"alt":null,"id":23875396108387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/042490dfd5328ea4a3959fc54b0968ac1b3aa0d8_be76574f-0751-42a2-8974-28c8f6ccd49f.webp?v=1714705195"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/042490dfd5328ea4a3959fc54b0968ac1b3aa0d8_be76574f-0751-42a2-8974-28c8f6ccd49f.webp?v=1714705195","width":2000},{"alt":null,"id":23875396665443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73def6b258f9fceff26c9fa72a58e792488b2af7_432d65d8-bff5-4b4b-9759-bc086defbe4b.webp?v=1714705198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73def6b258f9fceff26c9fa72a58e792488b2af7_432d65d8-bff5-4b4b-9759-bc086defbe4b.webp?v=1714705198","width":2000},{"alt":null,"id":23875396993123,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4fd2a753d8f13843708eaa77a208e9835298463_bda00cc5-798e-43b2-82cd-50105668fe66.webp?v=1714705200"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4fd2a753d8f13843708eaa77a208e9835298463_bda00cc5-798e-43b2-82cd-50105668fe66.webp?v=1714705200","width":2000},{"alt":null,"id":23875397550179,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a27856dd53bfe9ccbb30092640bdd413f61e3796_8744cf44-d974-4fb9-a51d-897f76967b09.webp?v=1714705202"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a27856dd53bfe9ccbb30092640bdd413f61e3796_8744cf44-d974-4fb9-a51d-897f76967b09.webp?v=1714705202","width":2000},{"alt":null,"id":23875398074467,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dae48418417359db040414124c827cbcf59c0cbc_ed40661c-27e2-4401-98bb-db15786f35fc.webp?v=1714705205"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dae48418417359db040414124c827cbcf59c0cbc_ed40661c-27e2-4401-98bb-db15786f35fc.webp?v=1714705205","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879443636323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31470490058851,"product_id":7407836954723,"position":1,"created_at":"2024-05-03T10:59:42+08:00","updated_at":"2024-05-03T10:59:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182","variant_ids":[41879443636323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23875393749091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879443734627,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31470491861091,"product_id":7407836954723,"position":5,"created_at":"2024-05-03T10:59:52+08:00","updated_at":"2024-05-03T10:59:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/817ec2c0ef73de17689db845276876f3d704501d_0f5daa21-acbd-4264-b9f3-c198110f6d7f.webp?v=1714705192","variant_ids":[41879443734627]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23875395616867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/817ec2c0ef73de17689db845276876f3d704501d_0f5daa21-acbd-4264-b9f3-c198110f6d7f.webp?v=1714705192"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879444193379,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31470490452067,"product_id":7407836954723,"position":2,"created_at":"2024-05-03T10:59:44+08:00","updated_at":"2024-05-03T10:59:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c865e32250fca86b109f3861d5a9b39c565a39b6_68f59972-dad0-47d1-b5da-79ab8d3c3633.webp?v=1714705184","variant_ids":[41879444193379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23875394207843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c865e32250fca86b109f3861d5a9b39c565a39b6_68f59972-dad0-47d1-b5da-79ab8d3c3633.webp?v=1714705184"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879443636323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31470490058851,"product_id":7407836954723,"position":1,"created_at":"2024-05-03T10:59:42+08:00","updated_at":"2024-05-03T10:59:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182","variant_ids":[41879443636323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23875393749091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d01ec1b097578d45eba0c2706fb3dc0dccf8b4_07ef8c65-1a57-494b-98a9-cbdbe1f968cd.webp?v=1714705182"}},"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: "停產"
}