$product = {"id":7407842885731,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆黑","handle":"iphone-14-pro-mod-nx-printable-pb01","description":null,"published_at":"2024-06-11T16:24:23+08:00","created_at":"2024-05-03T11:00:52+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":41879522017379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470506115171,"product_id":7407842885731,"position":4,"created_at":"2024-05-03T11:01:02+08:00","updated_at":"2024-05-03T11:01:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1978cae89db501fb6b4fe621c8aa60a6549906b_febfaa2d-47d3-42bb-a23f-e1136e0b6d48.webp?v=1714705262","variant_ids":[41879522017379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB01","featured_media":{"alt":null,"id":23875409870947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1978cae89db501fb6b4fe621c8aa60a6549906b_febfaa2d-47d3-42bb-a23f-e1136e0b6d48.webp?v=1714705262"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879522082915,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470507720803,"product_id":7407842885731,"position":8,"created_at":"2024-05-03T11:01:11+08:00","updated_at":"2024-05-03T11:01:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299d9f78580c5a78b350e28d9074f3cbc2729a58_91efd79c-0025-4d18-9b20-3b7deb2f4373.webp?v=1714705271","variant_ids":[41879522082915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB01","featured_media":{"alt":null,"id":23875411509347,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299d9f78580c5a78b350e28d9074f3cbc2729a58_91efd79c-0025-4d18-9b20-3b7deb2f4373.webp?v=1714705271"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879522443363,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470507294819,"product_id":7407842885731,"position":7,"created_at":"2024-05-03T11:01:09+08:00","updated_at":"2024-05-03T11:01:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42308ad86582b87f994e4707675e0c38f66fee93_e25d08ee-fa0a-4892-9212-0003a5fad0b3.webp?v=1714705269","variant_ids":[41879522443363]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB01","featured_media":{"alt":null,"id":23875411050595,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42308ad86582b87f994e4707675e0c38f66fee93_e25d08ee-fa0a-4892-9212-0003a5fad0b3.webp?v=1714705269"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1647ed868e48730ccdbce406cfe60991dc6fd557_12c079e8-7849-4a82-9abd-07a94c870fba.webp?v=1714705254","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9147bc8a9e4251a3937127517c2481e451d605_6999fd82-de80-40ba-a4a9-c2877785b296.webp?v=1714705257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d023907d9502543f94a75e44e168f3efa1f40a_670b95e9-2fe2-4d0f-91c3-3a46566a3eaf.webp?v=1714705259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1978cae89db501fb6b4fe621c8aa60a6549906b_febfaa2d-47d3-42bb-a23f-e1136e0b6d48.webp?v=1714705262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11aead4172024e17471f087a648469bd99ef1fd0_72ce7a0b-0826-4a52-8e8b-2cc68fd043d3.webp?v=1714705265","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdcf35f747154c9d707d25d5b6be60ca53e1c75b_d65729a0-6504-4bb1-89c0-dce95f83047a.webp?v=1714705267","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42308ad86582b87f994e4707675e0c38f66fee93_e25d08ee-fa0a-4892-9212-0003a5fad0b3.webp?v=1714705269","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299d9f78580c5a78b350e28d9074f3cbc2729a58_91efd79c-0025-4d18-9b20-3b7deb2f4373.webp?v=1714705271","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a18336a51e5e542f529d094bbafe563192f6289_4becda01-3398-40eb-8f20-77f009325e0d.webp?v=1714705274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4830dff95e8ff4f71cdd1dfb6c8255988af8b0c_f037dc16-9a2e-41cb-88d6-246fcbb79ca0.webp?v=1714705276"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1647ed868e48730ccdbce406cfe60991dc6fd557_12c079e8-7849-4a82-9abd-07a94c870fba.webp?v=1714705254","options":["color"],"media":[{"alt":null,"id":23875408265315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1647ed868e48730ccdbce406cfe60991dc6fd557_12c079e8-7849-4a82-9abd-07a94c870fba.webp?v=1714705254"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1647ed868e48730ccdbce406cfe60991dc6fd557_12c079e8-7849-4a82-9abd-07a94c870fba.webp?v=1714705254","width":2000},{"alt":null,"id":23875408691299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9147bc8a9e4251a3937127517c2481e451d605_6999fd82-de80-40ba-a4a9-c2877785b296.webp?v=1714705257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c9147bc8a9e4251a3937127517c2481e451d605_6999fd82-de80-40ba-a4a9-c2877785b296.webp?v=1714705257","width":2000},{"alt":null,"id":23875409215587,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d023907d9502543f94a75e44e168f3efa1f40a_670b95e9-2fe2-4d0f-91c3-3a46566a3eaf.webp?v=1714705259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d023907d9502543f94a75e44e168f3efa1f40a_670b95e9-2fe2-4d0f-91c3-3a46566a3eaf.webp?v=1714705259","width":2000},{"alt":null,"id":23875409870947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1978cae89db501fb6b4fe621c8aa60a6549906b_febfaa2d-47d3-42bb-a23f-e1136e0b6d48.webp?v=1714705262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1978cae89db501fb6b4fe621c8aa60a6549906b_febfaa2d-47d3-42bb-a23f-e1136e0b6d48.webp?v=1714705262","width":2000},{"alt":null,"id":23875410264163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11aead4172024e17471f087a648469bd99ef1fd0_72ce7a0b-0826-4a52-8e8b-2cc68fd043d3.webp?v=1714705265"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11aead4172024e17471f087a648469bd99ef1fd0_72ce7a0b-0826-4a52-8e8b-2cc68fd043d3.webp?v=1714705265","width":2000},{"alt":null,"id":23875410624611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdcf35f747154c9d707d25d5b6be60ca53e1c75b_d65729a0-6504-4bb1-89c0-dce95f83047a.webp?v=1714705267"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdcf35f747154c9d707d25d5b6be60ca53e1c75b_d65729a0-6504-4bb1-89c0-dce95f83047a.webp?v=1714705267","width":2000},{"alt":null,"id":23875411050595,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42308ad86582b87f994e4707675e0c38f66fee93_e25d08ee-fa0a-4892-9212-0003a5fad0b3.webp?v=1714705269"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42308ad86582b87f994e4707675e0c38f66fee93_e25d08ee-fa0a-4892-9212-0003a5fad0b3.webp?v=1714705269","width":2000},{"alt":null,"id":23875411509347,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299d9f78580c5a78b350e28d9074f3cbc2729a58_91efd79c-0025-4d18-9b20-3b7deb2f4373.webp?v=1714705271"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299d9f78580c5a78b350e28d9074f3cbc2729a58_91efd79c-0025-4d18-9b20-3b7deb2f4373.webp?v=1714705271","width":2000},{"alt":null,"id":23875411968099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a18336a51e5e542f529d094bbafe563192f6289_4becda01-3398-40eb-8f20-77f009325e0d.webp?v=1714705274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a18336a51e5e542f529d094bbafe563192f6289_4becda01-3398-40eb-8f20-77f009325e0d.webp?v=1714705274","width":2000},{"alt":null,"id":23875412361315,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4830dff95e8ff4f71cdd1dfb6c8255988af8b0c_f037dc16-9a2e-41cb-88d6-246fcbb79ca0.webp?v=1714705276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4830dff95e8ff4f71cdd1dfb6c8255988af8b0c_f037dc16-9a2e-41cb-88d6-246fcbb79ca0.webp?v=1714705276","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879522017379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470506115171,"product_id":7407842885731,"position":4,"created_at":"2024-05-03T11:01:02+08:00","updated_at":"2024-05-03T11:01:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1978cae89db501fb6b4fe621c8aa60a6549906b_febfaa2d-47d3-42bb-a23f-e1136e0b6d48.webp?v=1714705262","variant_ids":[41879522017379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB01","featured_media":{"alt":null,"id":23875409870947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1978cae89db501fb6b4fe621c8aa60a6549906b_febfaa2d-47d3-42bb-a23f-e1136e0b6d48.webp?v=1714705262"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879522082915,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470507720803,"product_id":7407842885731,"position":8,"created_at":"2024-05-03T11:01:11+08:00","updated_at":"2024-05-03T11:01:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299d9f78580c5a78b350e28d9074f3cbc2729a58_91efd79c-0025-4d18-9b20-3b7deb2f4373.webp?v=1714705271","variant_ids":[41879522082915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB01","featured_media":{"alt":null,"id":23875411509347,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/299d9f78580c5a78b350e28d9074f3cbc2729a58_91efd79c-0025-4d18-9b20-3b7deb2f4373.webp?v=1714705271"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879522443363,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470507294819,"product_id":7407842885731,"position":7,"created_at":"2024-05-03T11:01:09+08:00","updated_at":"2024-05-03T11:01:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42308ad86582b87f994e4707675e0c38f66fee93_e25d08ee-fa0a-4892-9212-0003a5fad0b3.webp?v=1714705269","variant_ids":[41879522443363]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB01","featured_media":{"alt":null,"id":23875411050595,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42308ad86582b87f994e4707675e0c38f66fee93_e25d08ee-fa0a-4892-9212-0003a5fad0b3.webp?v=1714705269"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879522017379,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470506115171,"product_id":7407842885731,"position":4,"created_at":"2024-05-03T11:01:02+08:00","updated_at":"2024-05-03T11:01:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1978cae89db501fb6b4fe621c8aa60a6549906b_febfaa2d-47d3-42bb-a23f-e1136e0b6d48.webp?v=1714705262","variant_ids":[41879522017379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB01","featured_media":{"alt":null,"id":23875409870947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1978cae89db501fb6b4fe621c8aa60a6549906b_febfaa2d-47d3-42bb-a23f-e1136e0b6d48.webp?v=1714705262"}},"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: "停產"
}