$product = {"id":7407968583779,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號","handle":"iphone-14-pro-mod-nx-printable-pb67","description":null,"published_at":"2024-06-11T16:27:54+08:00","created_at":"2024-05-03T11:25:35+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":41881171099747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31470832418915,"product_id":7407968583779,"position":9,"created_at":"2024-05-03T11:25:56+08:00","updated_at":"2024-05-03T11:25:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70f95f1fadd2a86ff472fb80050372298d8f948_a553eead-b1ae-4545-bd6d-dd5ea47d4958.webp?v=1714706756","variant_ids":[41881171099747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - 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-PB67","featured_media":{"alt":null,"id":23875736862819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70f95f1fadd2a86ff472fb80050372298d8f948_a553eead-b1ae-4545-bd6d-dd5ea47d4958.webp?v=1714706756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881171198051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31470832877667,"product_id":7407968583779,"position":10,"created_at":"2024-05-03T11:25:58+08:00","updated_at":"2024-05-03T11:25:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe57e75127926d4194ac1496330b942ce877bca_d9883be0-fc43-49e9-8da8-d5e965bb7075.webp?v=1714706758","variant_ids":[41881171198051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - 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-PB67","featured_media":{"alt":null,"id":23875737387107,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe57e75127926d4194ac1496330b942ce877bca_d9883be0-fc43-49e9-8da8-d5e965bb7075.webp?v=1714706758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881171427427,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31470830288995,"product_id":7407968583779,"position":5,"created_at":"2024-05-03T11:25:46+08:00","updated_at":"2024-05-03T11:25:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66dbd5f3deadb15d8546a4635bfbd9d6867fb33_b427f4f9-1dff-426c-a962-5310e38ebfd1.webp?v=1714706746","variant_ids":[41881171427427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - 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-PB67","featured_media":{"alt":null,"id":23875734798435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66dbd5f3deadb15d8546a4635bfbd9d6867fb33_b427f4f9-1dff-426c-a962-5310e38ebfd1.webp?v=1714706746"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443d33d4a2ca556989b623268629e9086e77ce2_74f3f2df-0388-48f0-8a4a-d815932ccf2d.webp?v=1714706737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9723ab52d16762bccd9b97e9aa56415230ee3ff4_a41be62a-320e-4d11-967c-4fb71f9ba352.webp?v=1714706739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91cf8ed65a6e704ae74a07648a67cf75d0e2738_5117e02d-f87d-42ce-b418-63c560211f29.webp?v=1714706742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47924605c08e2e23fd86471a342ae1fa1a798434_28d9b935-61a6-479c-ae99-1aac7bb9208d.webp?v=1714706744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66dbd5f3deadb15d8546a4635bfbd9d6867fb33_b427f4f9-1dff-426c-a962-5310e38ebfd1.webp?v=1714706746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f5b9429cab4545a05c82b56c07f6e0f2bd79f54_d47fad91-36c7-4cb6-8356-86634d77a22e.webp?v=1714706749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feede782ec85d3eb01dec470e16412b4894dcc1f_a3cdd27b-7e79-4dda-94a4-e3ed1f996be0.webp?v=1714706751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79533781d2fa0cc4965cafe11dcd49c670fbf743_9ab60e68-99ec-4876-8f5c-0ecabebbc662.webp?v=1714706753","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70f95f1fadd2a86ff472fb80050372298d8f948_a553eead-b1ae-4545-bd6d-dd5ea47d4958.webp?v=1714706756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe57e75127926d4194ac1496330b942ce877bca_d9883be0-fc43-49e9-8da8-d5e965bb7075.webp?v=1714706758"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443d33d4a2ca556989b623268629e9086e77ce2_74f3f2df-0388-48f0-8a4a-d815932ccf2d.webp?v=1714706737","options":["color"],"media":[{"alt":null,"id":23875732668515,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443d33d4a2ca556989b623268629e9086e77ce2_74f3f2df-0388-48f0-8a4a-d815932ccf2d.webp?v=1714706737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f443d33d4a2ca556989b623268629e9086e77ce2_74f3f2df-0388-48f0-8a4a-d815932ccf2d.webp?v=1714706737","width":2000},{"alt":null,"id":23875733127267,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9723ab52d16762bccd9b97e9aa56415230ee3ff4_a41be62a-320e-4d11-967c-4fb71f9ba352.webp?v=1714706739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9723ab52d16762bccd9b97e9aa56415230ee3ff4_a41be62a-320e-4d11-967c-4fb71f9ba352.webp?v=1714706739","width":2000},{"alt":null,"id":23875733749859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91cf8ed65a6e704ae74a07648a67cf75d0e2738_5117e02d-f87d-42ce-b418-63c560211f29.webp?v=1714706742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91cf8ed65a6e704ae74a07648a67cf75d0e2738_5117e02d-f87d-42ce-b418-63c560211f29.webp?v=1714706742","width":2000},{"alt":null,"id":23875734208611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47924605c08e2e23fd86471a342ae1fa1a798434_28d9b935-61a6-479c-ae99-1aac7bb9208d.webp?v=1714706744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47924605c08e2e23fd86471a342ae1fa1a798434_28d9b935-61a6-479c-ae99-1aac7bb9208d.webp?v=1714706744","width":2000},{"alt":null,"id":23875734798435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66dbd5f3deadb15d8546a4635bfbd9d6867fb33_b427f4f9-1dff-426c-a962-5310e38ebfd1.webp?v=1714706746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66dbd5f3deadb15d8546a4635bfbd9d6867fb33_b427f4f9-1dff-426c-a962-5310e38ebfd1.webp?v=1714706746","width":2000},{"alt":null,"id":23875735289955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f5b9429cab4545a05c82b56c07f6e0f2bd79f54_d47fad91-36c7-4cb6-8356-86634d77a22e.webp?v=1714706749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f5b9429cab4545a05c82b56c07f6e0f2bd79f54_d47fad91-36c7-4cb6-8356-86634d77a22e.webp?v=1714706749","width":2000},{"alt":null,"id":23875735912547,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feede782ec85d3eb01dec470e16412b4894dcc1f_a3cdd27b-7e79-4dda-94a4-e3ed1f996be0.webp?v=1714706751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feede782ec85d3eb01dec470e16412b4894dcc1f_a3cdd27b-7e79-4dda-94a4-e3ed1f996be0.webp?v=1714706751","width":2000},{"alt":null,"id":23875736371299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79533781d2fa0cc4965cafe11dcd49c670fbf743_9ab60e68-99ec-4876-8f5c-0ecabebbc662.webp?v=1714706753"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79533781d2fa0cc4965cafe11dcd49c670fbf743_9ab60e68-99ec-4876-8f5c-0ecabebbc662.webp?v=1714706753","width":2000},{"alt":null,"id":23875736862819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70f95f1fadd2a86ff472fb80050372298d8f948_a553eead-b1ae-4545-bd6d-dd5ea47d4958.webp?v=1714706756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70f95f1fadd2a86ff472fb80050372298d8f948_a553eead-b1ae-4545-bd6d-dd5ea47d4958.webp?v=1714706756","width":2000},{"alt":null,"id":23875737387107,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe57e75127926d4194ac1496330b942ce877bca_d9883be0-fc43-49e9-8da8-d5e965bb7075.webp?v=1714706758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe57e75127926d4194ac1496330b942ce877bca_d9883be0-fc43-49e9-8da8-d5e965bb7075.webp?v=1714706758","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41881171099747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31470832418915,"product_id":7407968583779,"position":9,"created_at":"2024-05-03T11:25:56+08:00","updated_at":"2024-05-03T11:25:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70f95f1fadd2a86ff472fb80050372298d8f948_a553eead-b1ae-4545-bd6d-dd5ea47d4958.webp?v=1714706756","variant_ids":[41881171099747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - 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-PB67","featured_media":{"alt":null,"id":23875736862819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70f95f1fadd2a86ff472fb80050372298d8f948_a553eead-b1ae-4545-bd6d-dd5ea47d4958.webp?v=1714706756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881171198051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31470832877667,"product_id":7407968583779,"position":10,"created_at":"2024-05-03T11:25:58+08:00","updated_at":"2024-05-03T11:25:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe57e75127926d4194ac1496330b942ce877bca_d9883be0-fc43-49e9-8da8-d5e965bb7075.webp?v=1714706758","variant_ids":[41881171198051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - 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-PB67","featured_media":{"alt":null,"id":23875737387107,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe57e75127926d4194ac1496330b942ce877bca_d9883be0-fc43-49e9-8da8-d5e965bb7075.webp?v=1714706758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881171427427,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31470830288995,"product_id":7407968583779,"position":5,"created_at":"2024-05-03T11:25:46+08:00","updated_at":"2024-05-03T11:25:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66dbd5f3deadb15d8546a4635bfbd9d6867fb33_b427f4f9-1dff-426c-a962-5310e38ebfd1.webp?v=1714706746","variant_ids":[41881171427427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - 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-PB67","featured_media":{"alt":null,"id":23875734798435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66dbd5f3deadb15d8546a4635bfbd9d6867fb33_b427f4f9-1dff-426c-a962-5310e38ebfd1.webp?v=1714706746"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41881171099747,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31470832418915,"product_id":7407968583779,"position":9,"created_at":"2024-05-03T11:25:56+08:00","updated_at":"2024-05-03T11:25:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70f95f1fadd2a86ff472fb80050372298d8f948_a553eead-b1ae-4545-bd6d-dd5ea47d4958.webp?v=1714706756","variant_ids":[41881171099747]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - 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-PB67","featured_media":{"alt":null,"id":23875736862819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c70f95f1fadd2a86ff472fb80050372298d8f948_a553eead-b1ae-4545-bd6d-dd5ea47d4958.webp?v=1714706756"}},"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: "停產"
}