$product = {"id":7414660431971,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 風暴兵-大臉系列","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb77","description":null,"published_at":"2024-06-11T17:52:53+08:00","created_at":"2024-05-05T14:36:27+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 13 mini","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":41908118683747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31485972938851,"product_id":7414660431971,"position":7,"created_at":"2024-05-05T14:36:42+08:00","updated_at":"2024-05-05T14:36:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d20a281b2d63dcb817194fdb3e2bbf619854e726_fa46ae71-0537-46ab-8d01-0ef6012dc406.webp?v=1714891002","variant_ids":[41908118683747]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122824-PB77","featured_media":{"alt":null,"id":23891308511331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d20a281b2d63dcb817194fdb3e2bbf619854e726_fa46ae71-0537-46ab-8d01-0ef6012dc406.webp?v=1714891002"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908118749283,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31485966450787,"product_id":7414660431971,"position":2,"created_at":"2024-05-05T14:36:31+08:00","updated_at":"2024-05-05T14:36:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ae420577a913108bfe6b2c416f14719807b727_80acc968-e229-4cc0-bb56-e70999743457.webp?v=1714890991","variant_ids":[41908118749283]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122804-PB77","featured_media":{"alt":null,"id":23891301335139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ae420577a913108bfe6b2c416f14719807b727_80acc968-e229-4cc0-bb56-e70999743457.webp?v=1714890991"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908118978659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31485974347875,"product_id":7414660431971,"position":8,"created_at":"2024-05-05T14:36:44+08:00","updated_at":"2024-05-05T14:36:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6cc710c038d340b96d4b03982cad0ef1f2fd4c_5b4bc44b-f4f9-495b-b2bd-4f90e253fa40.webp?v=1714891004","variant_ids":[41908118978659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB01228J5-PB77","featured_media":{"alt":null,"id":23891309854819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6cc710c038d340b96d4b03982cad0ef1f2fd4c_5b4bc44b-f4f9-495b-b2bd-4f90e253fa40.webp?v=1714891004"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4142ae9a09a133a71dd69380db86823ba5070170_8b7afc32-c07d-4eab-a569-17f98906730c.webp?v=1714890989","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ae420577a913108bfe6b2c416f14719807b727_80acc968-e229-4cc0-bb56-e70999743457.webp?v=1714890991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56197aab6ae8d306ac261fb23d3d5cacb200c46c_a7a2c3a1-4e9c-4b68-9487-fb8c27319b06.webp?v=1714890993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e3dd4d876b95f44026512a7af5a3659aa4bd43f_2cb15b99-1de8-4bf5-b19b-f7e886ae30ba.webp?v=1714890995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa9c48c11c838b452b7f8df699a4227b713384e7_b46ed62a-a04b-4ecf-b0f7-4293e98ce0fe.webp?v=1714890997","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f838305a9d485d4e0c0a4e1ec7fb0911f1fd96dc_3aac530c-a948-4e22-b9fe-9ce2eac247e9.webp?v=1714891000","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d20a281b2d63dcb817194fdb3e2bbf619854e726_fa46ae71-0537-46ab-8d01-0ef6012dc406.webp?v=1714891002","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6cc710c038d340b96d4b03982cad0ef1f2fd4c_5b4bc44b-f4f9-495b-b2bd-4f90e253fa40.webp?v=1714891004","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db81a010042f0d91661d9e9f7b9c984e61faa02_8183f602-1d9f-457a-8b47-591251d0cbf4.webp?v=1714891006","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6dd567864fd501e500934b7eda8036fd53f6d_bf660f52-e22c-45c4-8f83-3f8cd0ec30aa.webp?v=1714891008"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4142ae9a09a133a71dd69380db86823ba5070170_8b7afc32-c07d-4eab-a569-17f98906730c.webp?v=1714890989","options":["color"],"media":[{"alt":null,"id":23891298943075,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4142ae9a09a133a71dd69380db86823ba5070170_8b7afc32-c07d-4eab-a569-17f98906730c.webp?v=1714890989"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4142ae9a09a133a71dd69380db86823ba5070170_8b7afc32-c07d-4eab-a569-17f98906730c.webp?v=1714890989","width":2000},{"alt":null,"id":23891301335139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ae420577a913108bfe6b2c416f14719807b727_80acc968-e229-4cc0-bb56-e70999743457.webp?v=1714890991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ae420577a913108bfe6b2c416f14719807b727_80acc968-e229-4cc0-bb56-e70999743457.webp?v=1714890991","width":2000},{"alt":null,"id":23891302547555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56197aab6ae8d306ac261fb23d3d5cacb200c46c_a7a2c3a1-4e9c-4b68-9487-fb8c27319b06.webp?v=1714890993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56197aab6ae8d306ac261fb23d3d5cacb200c46c_a7a2c3a1-4e9c-4b68-9487-fb8c27319b06.webp?v=1714890993","width":2000},{"alt":null,"id":23891303694435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e3dd4d876b95f44026512a7af5a3659aa4bd43f_2cb15b99-1de8-4bf5-b19b-f7e886ae30ba.webp?v=1714890995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e3dd4d876b95f44026512a7af5a3659aa4bd43f_2cb15b99-1de8-4bf5-b19b-f7e886ae30ba.webp?v=1714890995","width":2000},{"alt":null,"id":23891305332835,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa9c48c11c838b452b7f8df699a4227b713384e7_b46ed62a-a04b-4ecf-b0f7-4293e98ce0fe.webp?v=1714890997"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa9c48c11c838b452b7f8df699a4227b713384e7_b46ed62a-a04b-4ecf-b0f7-4293e98ce0fe.webp?v=1714890997","width":2000},{"alt":null,"id":23891306709091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f838305a9d485d4e0c0a4e1ec7fb0911f1fd96dc_3aac530c-a948-4e22-b9fe-9ce2eac247e9.webp?v=1714891000"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f838305a9d485d4e0c0a4e1ec7fb0911f1fd96dc_3aac530c-a948-4e22-b9fe-9ce2eac247e9.webp?v=1714891000","width":2000},{"alt":null,"id":23891308511331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d20a281b2d63dcb817194fdb3e2bbf619854e726_fa46ae71-0537-46ab-8d01-0ef6012dc406.webp?v=1714891002"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d20a281b2d63dcb817194fdb3e2bbf619854e726_fa46ae71-0537-46ab-8d01-0ef6012dc406.webp?v=1714891002","width":2000},{"alt":null,"id":23891309854819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6cc710c038d340b96d4b03982cad0ef1f2fd4c_5b4bc44b-f4f9-495b-b2bd-4f90e253fa40.webp?v=1714891004"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6cc710c038d340b96d4b03982cad0ef1f2fd4c_5b4bc44b-f4f9-495b-b2bd-4f90e253fa40.webp?v=1714891004","width":2000},{"alt":null,"id":23891311296611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db81a010042f0d91661d9e9f7b9c984e61faa02_8183f602-1d9f-457a-8b47-591251d0cbf4.webp?v=1714891006"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1db81a010042f0d91661d9e9f7b9c984e61faa02_8183f602-1d9f-457a-8b47-591251d0cbf4.webp?v=1714891006","width":2000},{"alt":null,"id":23891312738403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6dd567864fd501e500934b7eda8036fd53f6d_bf660f52-e22c-45c4-8f83-3f8cd0ec30aa.webp?v=1714891008"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25f6dd567864fd501e500934b7eda8036fd53f6d_bf660f52-e22c-45c4-8f83-3f8cd0ec30aa.webp?v=1714891008","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41908118683747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31485972938851,"product_id":7414660431971,"position":7,"created_at":"2024-05-05T14:36:42+08:00","updated_at":"2024-05-05T14:36:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d20a281b2d63dcb817194fdb3e2bbf619854e726_fa46ae71-0537-46ab-8d01-0ef6012dc406.webp?v=1714891002","variant_ids":[41908118683747]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122824-PB77","featured_media":{"alt":null,"id":23891308511331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d20a281b2d63dcb817194fdb3e2bbf619854e726_fa46ae71-0537-46ab-8d01-0ef6012dc406.webp?v=1714891002"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908118749283,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31485966450787,"product_id":7414660431971,"position":2,"created_at":"2024-05-05T14:36:31+08:00","updated_at":"2024-05-05T14:36:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ae420577a913108bfe6b2c416f14719807b727_80acc968-e229-4cc0-bb56-e70999743457.webp?v=1714890991","variant_ids":[41908118749283]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122804-PB77","featured_media":{"alt":null,"id":23891301335139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ae420577a913108bfe6b2c416f14719807b727_80acc968-e229-4cc0-bb56-e70999743457.webp?v=1714890991"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908118978659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31485974347875,"product_id":7414660431971,"position":8,"created_at":"2024-05-05T14:36:44+08:00","updated_at":"2024-05-05T14:36:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6cc710c038d340b96d4b03982cad0ef1f2fd4c_5b4bc44b-f4f9-495b-b2bd-4f90e253fa40.webp?v=1714891004","variant_ids":[41908118978659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB01228J5-PB77","featured_media":{"alt":null,"id":23891309854819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6cc710c038d340b96d4b03982cad0ef1f2fd4c_5b4bc44b-f4f9-495b-b2bd-4f90e253fa40.webp?v=1714891004"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41908118683747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB77","requires_shipping":true,"taxable":true,"featured_image":{"id":31485972938851,"product_id":7414660431971,"position":7,"created_at":"2024-05-05T14:36:42+08:00","updated_at":"2024-05-05T14:36:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d20a281b2d63dcb817194fdb3e2bbf619854e726_fa46ae71-0537-46ab-8d01-0ef6012dc406.webp?v=1714891002","variant_ids":[41908118683747]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122824-PB77","featured_media":{"alt":null,"id":23891308511331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d20a281b2d63dcb817194fdb3e2bbf619854e726_fa46ae71-0537-46ab-8d01-0ef6012dc406.webp?v=1714891002"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}