$product = {"id":7411227983971,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 風暴兵-剪紙系列","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb56","description":null,"published_at":"2024-06-11T17:39:19+08:00","created_at":"2024-05-04T23:49:16+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":41896248770659,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB56","requires_shipping":true,"taxable":true,"featured_image":{"id":31479901552739,"product_id":7411227983971,"position":5,"created_at":"2024-05-04T23:49:28+08:00","updated_at":"2024-05-04T23:49:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9794b20ecc1669c3f30e98b40ef04bea1368708_7e4ed9b6-2679-4f2a-9c32-f68057349acd.webp?v=1714837768","variant_ids":[41896248770659]},"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-PB56","featured_media":{"alt":null,"id":23885151928419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9794b20ecc1669c3f30e98b40ef04bea1368708_7e4ed9b6-2679-4f2a-9c32-f68057349acd.webp?v=1714837768"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896248901731,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB56","requires_shipping":true,"taxable":true,"featured_image":{"id":31479900274787,"product_id":7411227983971,"position":3,"created_at":"2024-05-04T23:49:23+08:00","updated_at":"2024-05-04T23:49:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c264435f64f004860b7b16927534334ad690254f_f26dc656-6ba6-4914-8aa8-66ec3d5ebaac.webp?v=1714837763","variant_ids":[41896248901731]},"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-PB56","featured_media":{"alt":null,"id":23885150781539,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c264435f64f004860b7b16927534334ad690254f_f26dc656-6ba6-4914-8aa8-66ec3d5ebaac.webp?v=1714837763"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896249262179,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB56","requires_shipping":true,"taxable":true,"featured_image":{"id":31479903879267,"product_id":7411227983971,"position":9,"created_at":"2024-05-04T23:49:37+08:00","updated_at":"2024-05-04T23:49:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b20c436cf036fba5affebaed2806be0e0ec854_bc1cd3c0-7f78-489a-8ef7-5921555d1b6f.webp?v=1714837777","variant_ids":[41896249262179]},"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-PB56","featured_media":{"alt":null,"id":23885154582627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b20c436cf036fba5affebaed2806be0e0ec854_bc1cd3c0-7f78-489a-8ef7-5921555d1b6f.webp?v=1714837777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa73967fb07a20a28eb344ee0b2dd794cd5ba8f5_e4f6ac26-ef7f-4c8e-8f91-2bb89363696e.webp?v=1714837758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a2911746f3f4ce424f6362d0604cece9deaa46_ff32ef36-f7cf-462b-a516-164e2f0f4dd4.webp?v=1714837760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c264435f64f004860b7b16927534334ad690254f_f26dc656-6ba6-4914-8aa8-66ec3d5ebaac.webp?v=1714837763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9af4c1bb23baceacff7baba3b9aa1b785746452a_cd15494d-9638-4feb-a3cc-f397533f4fdb.webp?v=1714837765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9794b20ecc1669c3f30e98b40ef04bea1368708_7e4ed9b6-2679-4f2a-9c32-f68057349acd.webp?v=1714837768","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/317aa32cf13b59b0a22c92a66f31aab5855bdd31_0d6f4d00-ed05-498a-bc7b-fc41bf8f44ff.webp?v=1714837770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea75efb03add55d6be03f1f84a775d4983b4068_d46673a4-71b4-48aa-b76e-3fae3f996e5f.webp?v=1714837772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10a1d1164101c998c271710f1b96eee5b14423f0_130e7195-6761-4480-b0cc-81401210eef7.webp?v=1714837775","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b20c436cf036fba5affebaed2806be0e0ec854_bc1cd3c0-7f78-489a-8ef7-5921555d1b6f.webp?v=1714837777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb3597095e94838fa6ddfbe7eb6069370519430_80e84c72-500d-4434-9af8-9f404ee6dfad.webp?v=1714837779"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa73967fb07a20a28eb344ee0b2dd794cd5ba8f5_e4f6ac26-ef7f-4c8e-8f91-2bb89363696e.webp?v=1714837758","options":["color"],"media":[{"alt":null,"id":23885149569123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa73967fb07a20a28eb344ee0b2dd794cd5ba8f5_e4f6ac26-ef7f-4c8e-8f91-2bb89363696e.webp?v=1714837758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa73967fb07a20a28eb344ee0b2dd794cd5ba8f5_e4f6ac26-ef7f-4c8e-8f91-2bb89363696e.webp?v=1714837758","width":2000},{"alt":null,"id":23885150191715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a2911746f3f4ce424f6362d0604cece9deaa46_ff32ef36-f7cf-462b-a516-164e2f0f4dd4.webp?v=1714837760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34a2911746f3f4ce424f6362d0604cece9deaa46_ff32ef36-f7cf-462b-a516-164e2f0f4dd4.webp?v=1714837760","width":2000},{"alt":null,"id":23885150781539,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c264435f64f004860b7b16927534334ad690254f_f26dc656-6ba6-4914-8aa8-66ec3d5ebaac.webp?v=1714837763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c264435f64f004860b7b16927534334ad690254f_f26dc656-6ba6-4914-8aa8-66ec3d5ebaac.webp?v=1714837763","width":2000},{"alt":null,"id":23885151436899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9af4c1bb23baceacff7baba3b9aa1b785746452a_cd15494d-9638-4feb-a3cc-f397533f4fdb.webp?v=1714837765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9af4c1bb23baceacff7baba3b9aa1b785746452a_cd15494d-9638-4feb-a3cc-f397533f4fdb.webp?v=1714837765","width":2000},{"alt":null,"id":23885151928419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9794b20ecc1669c3f30e98b40ef04bea1368708_7e4ed9b6-2679-4f2a-9c32-f68057349acd.webp?v=1714837768"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9794b20ecc1669c3f30e98b40ef04bea1368708_7e4ed9b6-2679-4f2a-9c32-f68057349acd.webp?v=1714837768","width":2000},{"alt":null,"id":23885152616547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/317aa32cf13b59b0a22c92a66f31aab5855bdd31_0d6f4d00-ed05-498a-bc7b-fc41bf8f44ff.webp?v=1714837770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/317aa32cf13b59b0a22c92a66f31aab5855bdd31_0d6f4d00-ed05-498a-bc7b-fc41bf8f44ff.webp?v=1714837770","width":2000},{"alt":null,"id":23885153140835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea75efb03add55d6be03f1f84a775d4983b4068_d46673a4-71b4-48aa-b76e-3fae3f996e5f.webp?v=1714837772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea75efb03add55d6be03f1f84a775d4983b4068_d46673a4-71b4-48aa-b76e-3fae3f996e5f.webp?v=1714837772","width":2000},{"alt":null,"id":23885153894499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10a1d1164101c998c271710f1b96eee5b14423f0_130e7195-6761-4480-b0cc-81401210eef7.webp?v=1714837775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10a1d1164101c998c271710f1b96eee5b14423f0_130e7195-6761-4480-b0cc-81401210eef7.webp?v=1714837775","width":2000},{"alt":null,"id":23885154582627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b20c436cf036fba5affebaed2806be0e0ec854_bc1cd3c0-7f78-489a-8ef7-5921555d1b6f.webp?v=1714837777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b20c436cf036fba5affebaed2806be0e0ec854_bc1cd3c0-7f78-489a-8ef7-5921555d1b6f.webp?v=1714837777","width":2000},{"alt":null,"id":23885155106915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb3597095e94838fa6ddfbe7eb6069370519430_80e84c72-500d-4434-9af8-9f404ee6dfad.webp?v=1714837779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb3597095e94838fa6ddfbe7eb6069370519430_80e84c72-500d-4434-9af8-9f404ee6dfad.webp?v=1714837779","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896248770659,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB56","requires_shipping":true,"taxable":true,"featured_image":{"id":31479901552739,"product_id":7411227983971,"position":5,"created_at":"2024-05-04T23:49:28+08:00","updated_at":"2024-05-04T23:49:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9794b20ecc1669c3f30e98b40ef04bea1368708_7e4ed9b6-2679-4f2a-9c32-f68057349acd.webp?v=1714837768","variant_ids":[41896248770659]},"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-PB56","featured_media":{"alt":null,"id":23885151928419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9794b20ecc1669c3f30e98b40ef04bea1368708_7e4ed9b6-2679-4f2a-9c32-f68057349acd.webp?v=1714837768"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896248901731,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB56","requires_shipping":true,"taxable":true,"featured_image":{"id":31479900274787,"product_id":7411227983971,"position":3,"created_at":"2024-05-04T23:49:23+08:00","updated_at":"2024-05-04T23:49:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c264435f64f004860b7b16927534334ad690254f_f26dc656-6ba6-4914-8aa8-66ec3d5ebaac.webp?v=1714837763","variant_ids":[41896248901731]},"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-PB56","featured_media":{"alt":null,"id":23885150781539,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c264435f64f004860b7b16927534334ad690254f_f26dc656-6ba6-4914-8aa8-66ec3d5ebaac.webp?v=1714837763"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896249262179,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB56","requires_shipping":true,"taxable":true,"featured_image":{"id":31479903879267,"product_id":7411227983971,"position":9,"created_at":"2024-05-04T23:49:37+08:00","updated_at":"2024-05-04T23:49:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b20c436cf036fba5affebaed2806be0e0ec854_bc1cd3c0-7f78-489a-8ef7-5921555d1b6f.webp?v=1714837777","variant_ids":[41896249262179]},"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-PB56","featured_media":{"alt":null,"id":23885154582627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b20c436cf036fba5affebaed2806be0e0ec854_bc1cd3c0-7f78-489a-8ef7-5921555d1b6f.webp?v=1714837777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896248770659,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB56","requires_shipping":true,"taxable":true,"featured_image":{"id":31479901552739,"product_id":7411227983971,"position":5,"created_at":"2024-05-04T23:49:28+08:00","updated_at":"2024-05-04T23:49:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9794b20ecc1669c3f30e98b40ef04bea1368708_7e4ed9b6-2679-4f2a-9c32-f68057349acd.webp?v=1714837768","variant_ids":[41896248770659]},"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-PB56","featured_media":{"alt":null,"id":23885151928419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9794b20ecc1669c3f30e98b40ef04bea1368708_7e4ed9b6-2679-4f2a-9c32-f68057349acd.webp?v=1714837768"}},"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: "停產"
}