$product = {"id":7407865692259,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 賈霸-塗鴉藝術","handle":"iphone-14-pro-mod-nx-printable-pb41","description":null,"published_at":"2024-06-11T16:25:01+08:00","created_at":"2024-05-03T11:05:30+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":41879820664931,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31470570569827,"product_id":7407865692259,"position":3,"created_at":"2024-05-03T11:05:37+08:00","updated_at":"2024-05-03T11:05:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9df6c57160f1011f145d04e7ca3b110398ebd8_12decca5-1623-4eb2-9dc6-067dd8b58495.webp?v=1714705537","variant_ids":[41879820664931]},"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-PB41","featured_media":{"alt":null,"id":23875474423907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9df6c57160f1011f145d04e7ca3b110398ebd8_12decca5-1623-4eb2-9dc6-067dd8b58495.webp?v=1714705537"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879820796003,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31470571126883,"product_id":7407865692259,"position":4,"created_at":"2024-05-03T11:05:40+08:00","updated_at":"2024-05-03T11:05:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cff9e1a8398893fb8487ab86ed86ff45a0dd8_fbf56422-4d08-42fd-b232-7c2316b30636.webp?v=1714705540","variant_ids":[41879820796003]},"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-PB41","featured_media":{"alt":null,"id":23875474980963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cff9e1a8398893fb8487ab86ed86ff45a0dd8_fbf56422-4d08-42fd-b232-7c2316b30636.webp?v=1714705540"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879821189219,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31470569783395,"product_id":7407865692259,"position":1,"created_at":"2024-05-03T11:05:32+08:00","updated_at":"2024-05-03T11:05:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aade068755455ad2adc245523be8b2a1d15498c9_dba8d736-1be6-438e-aca1-fcd71abae74c.webp?v=1714705532","variant_ids":[41879821189219]},"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-PB41","featured_media":{"alt":null,"id":23875473637475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aade068755455ad2adc245523be8b2a1d15498c9_dba8d736-1be6-438e-aca1-fcd71abae74c.webp?v=1714705532"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aade068755455ad2adc245523be8b2a1d15498c9_dba8d736-1be6-438e-aca1-fcd71abae74c.webp?v=1714705532","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c22b4c51e06f9e84ec61eed76563ed3f8de45b9_35fdd1e6-a3dc-44a4-ac4c-8db71d783fcc.webp?v=1714705535","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9df6c57160f1011f145d04e7ca3b110398ebd8_12decca5-1623-4eb2-9dc6-067dd8b58495.webp?v=1714705537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cff9e1a8398893fb8487ab86ed86ff45a0dd8_fbf56422-4d08-42fd-b232-7c2316b30636.webp?v=1714705540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ac84c21beeb3f37a3a1e0cc986159e4d491dd8f_52579fa7-302c-4d28-8c63-075edf13be8b.webp?v=1714705542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49d7ee2e3870f67d5f1d671f8403d3d799cffd92_c4b59fcb-1eb6-4e45-a1cf-89055c224d08.webp?v=1714705544","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfcbb72e110100386e6440d222d273882a93ca07_273a152a-ec6a-47ee-b58c-9f911abe4c4b.webp?v=1714705546","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf603c92eecd359dd320adda2ccc75b2484e61c7_cfb8655d-0d92-436f-bd3c-7f6736494607.webp?v=1714705549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40efc686d27999dd7d4a9ccf7ee085d7af7d31ea_bb4a4170-b740-4cec-ae60-26053c1057fc.webp?v=1714705551","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17232accb7407faad4c177db5f3befc97964a0d9_1a2c1d64-fbcf-48b6-8441-cf9739ac506c.webp?v=1714705553"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aade068755455ad2adc245523be8b2a1d15498c9_dba8d736-1be6-438e-aca1-fcd71abae74c.webp?v=1714705532","options":["color"],"media":[{"alt":null,"id":23875473637475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aade068755455ad2adc245523be8b2a1d15498c9_dba8d736-1be6-438e-aca1-fcd71abae74c.webp?v=1714705532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aade068755455ad2adc245523be8b2a1d15498c9_dba8d736-1be6-438e-aca1-fcd71abae74c.webp?v=1714705532","width":2000},{"alt":null,"id":23875474128995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c22b4c51e06f9e84ec61eed76563ed3f8de45b9_35fdd1e6-a3dc-44a4-ac4c-8db71d783fcc.webp?v=1714705535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c22b4c51e06f9e84ec61eed76563ed3f8de45b9_35fdd1e6-a3dc-44a4-ac4c-8db71d783fcc.webp?v=1714705535","width":2000},{"alt":null,"id":23875474423907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9df6c57160f1011f145d04e7ca3b110398ebd8_12decca5-1623-4eb2-9dc6-067dd8b58495.webp?v=1714705537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9df6c57160f1011f145d04e7ca3b110398ebd8_12decca5-1623-4eb2-9dc6-067dd8b58495.webp?v=1714705537","width":2000},{"alt":null,"id":23875474980963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cff9e1a8398893fb8487ab86ed86ff45a0dd8_fbf56422-4d08-42fd-b232-7c2316b30636.webp?v=1714705540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cff9e1a8398893fb8487ab86ed86ff45a0dd8_fbf56422-4d08-42fd-b232-7c2316b30636.webp?v=1714705540","width":2000},{"alt":null,"id":23875475341411,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ac84c21beeb3f37a3a1e0cc986159e4d491dd8f_52579fa7-302c-4d28-8c63-075edf13be8b.webp?v=1714705542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ac84c21beeb3f37a3a1e0cc986159e4d491dd8f_52579fa7-302c-4d28-8c63-075edf13be8b.webp?v=1714705542","width":2000},{"alt":null,"id":23875475767395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49d7ee2e3870f67d5f1d671f8403d3d799cffd92_c4b59fcb-1eb6-4e45-a1cf-89055c224d08.webp?v=1714705544"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49d7ee2e3870f67d5f1d671f8403d3d799cffd92_c4b59fcb-1eb6-4e45-a1cf-89055c224d08.webp?v=1714705544","width":2000},{"alt":null,"id":23875476226147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfcbb72e110100386e6440d222d273882a93ca07_273a152a-ec6a-47ee-b58c-9f911abe4c4b.webp?v=1714705546"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfcbb72e110100386e6440d222d273882a93ca07_273a152a-ec6a-47ee-b58c-9f911abe4c4b.webp?v=1714705546","width":2000},{"alt":null,"id":23875476586595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf603c92eecd359dd320adda2ccc75b2484e61c7_cfb8655d-0d92-436f-bd3c-7f6736494607.webp?v=1714705549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf603c92eecd359dd320adda2ccc75b2484e61c7_cfb8655d-0d92-436f-bd3c-7f6736494607.webp?v=1714705549","width":2000},{"alt":null,"id":23875477045347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40efc686d27999dd7d4a9ccf7ee085d7af7d31ea_bb4a4170-b740-4cec-ae60-26053c1057fc.webp?v=1714705551"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40efc686d27999dd7d4a9ccf7ee085d7af7d31ea_bb4a4170-b740-4cec-ae60-26053c1057fc.webp?v=1714705551","width":2000},{"alt":null,"id":23875477536867,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17232accb7407faad4c177db5f3befc97964a0d9_1a2c1d64-fbcf-48b6-8441-cf9739ac506c.webp?v=1714705553"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17232accb7407faad4c177db5f3befc97964a0d9_1a2c1d64-fbcf-48b6-8441-cf9739ac506c.webp?v=1714705553","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41879820664931,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31470570569827,"product_id":7407865692259,"position":3,"created_at":"2024-05-03T11:05:37+08:00","updated_at":"2024-05-03T11:05:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9df6c57160f1011f145d04e7ca3b110398ebd8_12decca5-1623-4eb2-9dc6-067dd8b58495.webp?v=1714705537","variant_ids":[41879820664931]},"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-PB41","featured_media":{"alt":null,"id":23875474423907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9df6c57160f1011f145d04e7ca3b110398ebd8_12decca5-1623-4eb2-9dc6-067dd8b58495.webp?v=1714705537"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879820796003,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31470571126883,"product_id":7407865692259,"position":4,"created_at":"2024-05-03T11:05:40+08:00","updated_at":"2024-05-03T11:05:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cff9e1a8398893fb8487ab86ed86ff45a0dd8_fbf56422-4d08-42fd-b232-7c2316b30636.webp?v=1714705540","variant_ids":[41879820796003]},"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-PB41","featured_media":{"alt":null,"id":23875474980963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cff9e1a8398893fb8487ab86ed86ff45a0dd8_fbf56422-4d08-42fd-b232-7c2316b30636.webp?v=1714705540"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879821189219,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31470569783395,"product_id":7407865692259,"position":1,"created_at":"2024-05-03T11:05:32+08:00","updated_at":"2024-05-03T11:05:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aade068755455ad2adc245523be8b2a1d15498c9_dba8d736-1be6-438e-aca1-fcd71abae74c.webp?v=1714705532","variant_ids":[41879821189219]},"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-PB41","featured_media":{"alt":null,"id":23875473637475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aade068755455ad2adc245523be8b2a1d15498c9_dba8d736-1be6-438e-aca1-fcd71abae74c.webp?v=1714705532"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41879820664931,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB41","requires_shipping":true,"taxable":true,"featured_image":{"id":31470570569827,"product_id":7407865692259,"position":3,"created_at":"2024-05-03T11:05:37+08:00","updated_at":"2024-05-03T11:05:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9df6c57160f1011f145d04e7ca3b110398ebd8_12decca5-1623-4eb2-9dc6-067dd8b58495.webp?v=1714705537","variant_ids":[41879820664931]},"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-PB41","featured_media":{"alt":null,"id":23875474423907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9df6c57160f1011f145d04e7ca3b110398ebd8_12decca5-1623-4eb2-9dc6-067dd8b58495.webp?v=1714705537"}},"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: "停產"
}