$product = {"id":7411411484771,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條黑","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb17","description":null,"published_at":"2024-06-11T17:44:15+08:00","created_at":"2024-05-05T00:24:37+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41898552197219,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31480362467427,"product_id":7411411484771,"position":8,"created_at":"2024-05-05T00:24:57+08:00","updated_at":"2024-05-05T00:24:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7021f8611a6945040eba37edb858c9ba96914112_64c25db6-a6c5-4ba2-ab3d-13be31a03b72.webp?v=1714839897","variant_ids":[41898552197219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條黑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB17","featured_media":{"alt":null,"id":23885614219363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7021f8611a6945040eba37edb858c9ba96914112_64c25db6-a6c5-4ba2-ab3d-13be31a03b72.webp?v=1714839897"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898552262755,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31480363417699,"product_id":7411411484771,"position":10,"created_at":"2024-05-05T00:25:02+08:00","updated_at":"2024-05-05T00:25:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f52a41356c45f759c8fc028e0ffb6990da462a_fe3aac87-9987-499c-bcfe-83ce6a0c986a.webp?v=1714839902","variant_ids":[41898552262755]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條黑 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB17","featured_media":{"alt":null,"id":23885615202403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f52a41356c45f759c8fc028e0ffb6990da462a_fe3aac87-9987-499c-bcfe-83ce6a0c986a.webp?v=1714839902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898552524899,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31480361484387,"product_id":7411411484771,"position":6,"created_at":"2024-05-05T00:24:51+08:00","updated_at":"2024-05-05T00:24:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777240ba9404023d1dccf93ce05e0729af166b34_65f537cf-7e61-41ad-95e4-5ecb6ef30885.webp?v=1714839891","variant_ids":[41898552524899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條黑 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB17","featured_media":{"alt":null,"id":23885613170787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777240ba9404023d1dccf93ce05e0729af166b34_65f537cf-7e61-41ad-95e4-5ecb6ef30885.webp?v=1714839891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc196546a11c852516ec44851a97d06cf7b5ba3e_2f346ac7-5b4b-4c81-bc34-68de5967db88.webp?v=1714839880","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f510246551e9baf6095e01be02b4651cf36bfecd_3d035ccb-d68f-445f-b190-ac2a0281e262.webp?v=1714839882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e1db628048b23e4bc5dd412daa4ad27d912000a_74abeb35-cac1-43e1-8b4c-97e048b7e881.webp?v=1714839884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d194b0a1c348ee7c8822e1f77d17f90d6a52e938_c5f55d13-d2c8-472f-84b2-f3a0aa06f429.webp?v=1714839887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee027470d3a081d2c9cabfe557d9a08254476b8_00737fe6-0336-4032-904a-83aaf464da7c.webp?v=1714839889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777240ba9404023d1dccf93ce05e0729af166b34_65f537cf-7e61-41ad-95e4-5ecb6ef30885.webp?v=1714839891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed29803f8993621d2d6e2bcb35812718b67b88e2_95f13231-42c2-46b0-b263-38387848c2ce.webp?v=1714839894","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7021f8611a6945040eba37edb858c9ba96914112_64c25db6-a6c5-4ba2-ab3d-13be31a03b72.webp?v=1714839897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005fdbd1d12a691377b4a95d2ac23591846e3b48_d732734a-5fc3-4c28-aa4d-4e539fff7692.webp?v=1714839900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f52a41356c45f759c8fc028e0ffb6990da462a_fe3aac87-9987-499c-bcfe-83ce6a0c986a.webp?v=1714839902"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc196546a11c852516ec44851a97d06cf7b5ba3e_2f346ac7-5b4b-4c81-bc34-68de5967db88.webp?v=1714839880","options":["color"],"media":[{"alt":null,"id":23885610483811,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc196546a11c852516ec44851a97d06cf7b5ba3e_2f346ac7-5b4b-4c81-bc34-68de5967db88.webp?v=1714839880"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc196546a11c852516ec44851a97d06cf7b5ba3e_2f346ac7-5b4b-4c81-bc34-68de5967db88.webp?v=1714839880","width":2000},{"alt":null,"id":23885610942563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f510246551e9baf6095e01be02b4651cf36bfecd_3d035ccb-d68f-445f-b190-ac2a0281e262.webp?v=1714839882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f510246551e9baf6095e01be02b4651cf36bfecd_3d035ccb-d68f-445f-b190-ac2a0281e262.webp?v=1714839882","width":2000},{"alt":null,"id":23885611434083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e1db628048b23e4bc5dd412daa4ad27d912000a_74abeb35-cac1-43e1-8b4c-97e048b7e881.webp?v=1714839884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e1db628048b23e4bc5dd412daa4ad27d912000a_74abeb35-cac1-43e1-8b4c-97e048b7e881.webp?v=1714839884","width":2000},{"alt":null,"id":23885611827299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d194b0a1c348ee7c8822e1f77d17f90d6a52e938_c5f55d13-d2c8-472f-84b2-f3a0aa06f429.webp?v=1714839887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d194b0a1c348ee7c8822e1f77d17f90d6a52e938_c5f55d13-d2c8-472f-84b2-f3a0aa06f429.webp?v=1714839887","width":2000},{"alt":null,"id":23885612646499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee027470d3a081d2c9cabfe557d9a08254476b8_00737fe6-0336-4032-904a-83aaf464da7c.webp?v=1714839889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ee027470d3a081d2c9cabfe557d9a08254476b8_00737fe6-0336-4032-904a-83aaf464da7c.webp?v=1714839889","width":2000},{"alt":null,"id":23885613170787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777240ba9404023d1dccf93ce05e0729af166b34_65f537cf-7e61-41ad-95e4-5ecb6ef30885.webp?v=1714839891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777240ba9404023d1dccf93ce05e0729af166b34_65f537cf-7e61-41ad-95e4-5ecb6ef30885.webp?v=1714839891","width":2000},{"alt":null,"id":23885613727843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed29803f8993621d2d6e2bcb35812718b67b88e2_95f13231-42c2-46b0-b263-38387848c2ce.webp?v=1714839894"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed29803f8993621d2d6e2bcb35812718b67b88e2_95f13231-42c2-46b0-b263-38387848c2ce.webp?v=1714839894","width":2000},{"alt":null,"id":23885614219363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7021f8611a6945040eba37edb858c9ba96914112_64c25db6-a6c5-4ba2-ab3d-13be31a03b72.webp?v=1714839897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7021f8611a6945040eba37edb858c9ba96914112_64c25db6-a6c5-4ba2-ab3d-13be31a03b72.webp?v=1714839897","width":2000},{"alt":null,"id":23885614809187,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005fdbd1d12a691377b4a95d2ac23591846e3b48_d732734a-5fc3-4c28-aa4d-4e539fff7692.webp?v=1714839900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005fdbd1d12a691377b4a95d2ac23591846e3b48_d732734a-5fc3-4c28-aa4d-4e539fff7692.webp?v=1714839900","width":2000},{"alt":null,"id":23885615202403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f52a41356c45f759c8fc028e0ffb6990da462a_fe3aac87-9987-499c-bcfe-83ce6a0c986a.webp?v=1714839902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f52a41356c45f759c8fc028e0ffb6990da462a_fe3aac87-9987-499c-bcfe-83ce6a0c986a.webp?v=1714839902","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41898552197219,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31480362467427,"product_id":7411411484771,"position":8,"created_at":"2024-05-05T00:24:57+08:00","updated_at":"2024-05-05T00:24:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7021f8611a6945040eba37edb858c9ba96914112_64c25db6-a6c5-4ba2-ab3d-13be31a03b72.webp?v=1714839897","variant_ids":[41898552197219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條黑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB17","featured_media":{"alt":null,"id":23885614219363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7021f8611a6945040eba37edb858c9ba96914112_64c25db6-a6c5-4ba2-ab3d-13be31a03b72.webp?v=1714839897"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898552262755,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31480363417699,"product_id":7411411484771,"position":10,"created_at":"2024-05-05T00:25:02+08:00","updated_at":"2024-05-05T00:25:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f52a41356c45f759c8fc028e0ffb6990da462a_fe3aac87-9987-499c-bcfe-83ce6a0c986a.webp?v=1714839902","variant_ids":[41898552262755]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條黑 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB17","featured_media":{"alt":null,"id":23885615202403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f52a41356c45f759c8fc028e0ffb6990da462a_fe3aac87-9987-499c-bcfe-83ce6a0c986a.webp?v=1714839902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898552524899,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31480361484387,"product_id":7411411484771,"position":6,"created_at":"2024-05-05T00:24:51+08:00","updated_at":"2024-05-05T00:24:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777240ba9404023d1dccf93ce05e0729af166b34_65f537cf-7e61-41ad-95e4-5ecb6ef30885.webp?v=1714839891","variant_ids":[41898552524899]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條黑 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB17","featured_media":{"alt":null,"id":23885613170787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/777240ba9404023d1dccf93ce05e0729af166b34_65f537cf-7e61-41ad-95e4-5ecb6ef30885.webp?v=1714839891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41898552197219,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB17","requires_shipping":true,"taxable":true,"featured_image":{"id":31480362467427,"product_id":7411411484771,"position":8,"created_at":"2024-05-05T00:24:57+08:00","updated_at":"2024-05-05T00:24:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7021f8611a6945040eba37edb858c9ba96914112_64c25db6-a6c5-4ba2-ab3d-13be31a03b72.webp?v=1714839897","variant_ids":[41898552197219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條黑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB17","featured_media":{"alt":null,"id":23885614219363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7021f8611a6945040eba37edb858c9ba96914112_64c25db6-a6c5-4ba2-ab3d-13be31a03b72.webp?v=1714839897"}},"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: "停產"
}