$product = {"id":7408099328099,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑","handle":"iphone-13-mini-mod-nx-printable-pb11","description":null,"published_at":"2024-06-11T16:31:22+08:00","created_at":"2024-05-03T11:59:45+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 13 mini","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":41882664796259,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471189983331,"product_id":7408099328099,"position":3,"created_at":"2024-05-03T11:59:52+08:00","updated_at":"2024-05-03T11:59:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2164eecab1012ca48c7098b016be0ec7aea8926_f80bac5a-d66f-4716-8568-878f67c3ffbf.webp?v=1714708792","variant_ids":[41882664796259]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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":"NPB0122824-PB11","featured_media":{"alt":null,"id":23876095213667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2164eecab1012ca48c7098b016be0ec7aea8926_f80bac5a-d66f-4716-8568-878f67c3ffbf.webp?v=1714708792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882664861795,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471192997987,"product_id":7408099328099,"position":8,"created_at":"2024-05-03T12:00:05+08:00","updated_at":"2024-05-03T12:00:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b06825e27ba3219222ca8b9ca39003d5b205f76_9808e4b2-e6c9-4bf3-872e-90df7391b40c.webp?v=1714708805","variant_ids":[41882664861795]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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":"NPB0122804-PB11","featured_media":{"alt":null,"id":23876098326627,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b06825e27ba3219222ca8b9ca39003d5b205f76_9808e4b2-e6c9-4bf3-872e-90df7391b40c.webp?v=1714708805"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882665091171,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471192309859,"product_id":7408099328099,"position":7,"created_at":"2024-05-03T12:00:02+08:00","updated_at":"2024-05-03T12:00:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318a73e5c33b64b79a8bcb1734463918cca38158_3d73144d-147b-4317-9c7a-e6496f9aebab.webp?v=1714708802","variant_ids":[41882665091171]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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":"NPB01228J5-PB11","featured_media":{"alt":null,"id":23876097540195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318a73e5c33b64b79a8bcb1734463918cca38158_3d73144d-147b-4317-9c7a-e6496f9aebab.webp?v=1714708802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b9a8eb3ab74025c87f9bad86d3d5364667b7c7_4c66eb4a-7ff8-4fab-9be0-9b273ad01630.webp?v=1714708787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9d4f4bcc50759383ccb9971ab916a8dbc442f6_b32ba4b0-0b53-4413-8d1f-02b0a9e13fa4.webp?v=1714708790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2164eecab1012ca48c7098b016be0ec7aea8926_f80bac5a-d66f-4716-8568-878f67c3ffbf.webp?v=1714708792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb7ba01e3cee7fcd7635b7961e6a826eb8ee1f8_55798808-5d8a-447f-9cf8-c4787b022ce6.webp?v=1714708795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438055b6b95d45702ebe1aefeb0a672abade1001_39266f38-d786-4b49-81d7-92abf3b76a6c.webp?v=1714708797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f47bfa30a6fd6805cd97cfe51bef5410b582766_26f9440e-cf1b-4618-bdab-5bc58d157996.webp?v=1714708799","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318a73e5c33b64b79a8bcb1734463918cca38158_3d73144d-147b-4317-9c7a-e6496f9aebab.webp?v=1714708802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b06825e27ba3219222ca8b9ca39003d5b205f76_9808e4b2-e6c9-4bf3-872e-90df7391b40c.webp?v=1714708805","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af5f37da142a024fd15394d2de08bef9eeb6d6b1_3b3b7806-7c6e-47ad-92f6-68c94377b86a.webp?v=1714708807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c0aac73555d7a1fbb2500c3178aa6d157417f4_feacfc96-9172-47c4-97ec-ccf393532668.webp?v=1714708809"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b9a8eb3ab74025c87f9bad86d3d5364667b7c7_4c66eb4a-7ff8-4fab-9be0-9b273ad01630.webp?v=1714708787","options":["color"],"media":[{"alt":null,"id":23876094296163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b9a8eb3ab74025c87f9bad86d3d5364667b7c7_4c66eb4a-7ff8-4fab-9be0-9b273ad01630.webp?v=1714708787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88b9a8eb3ab74025c87f9bad86d3d5364667b7c7_4c66eb4a-7ff8-4fab-9be0-9b273ad01630.webp?v=1714708787","width":2000},{"alt":null,"id":23876094722147,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9d4f4bcc50759383ccb9971ab916a8dbc442f6_b32ba4b0-0b53-4413-8d1f-02b0a9e13fa4.webp?v=1714708790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c9d4f4bcc50759383ccb9971ab916a8dbc442f6_b32ba4b0-0b53-4413-8d1f-02b0a9e13fa4.webp?v=1714708790","width":2000},{"alt":null,"id":23876095213667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2164eecab1012ca48c7098b016be0ec7aea8926_f80bac5a-d66f-4716-8568-878f67c3ffbf.webp?v=1714708792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2164eecab1012ca48c7098b016be0ec7aea8926_f80bac5a-d66f-4716-8568-878f67c3ffbf.webp?v=1714708792","width":2000},{"alt":null,"id":23876095869027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb7ba01e3cee7fcd7635b7961e6a826eb8ee1f8_55798808-5d8a-447f-9cf8-c4787b022ce6.webp?v=1714708795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb7ba01e3cee7fcd7635b7961e6a826eb8ee1f8_55798808-5d8a-447f-9cf8-c4787b022ce6.webp?v=1714708795","width":2000},{"alt":null,"id":23876096360547,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438055b6b95d45702ebe1aefeb0a672abade1001_39266f38-d786-4b49-81d7-92abf3b76a6c.webp?v=1714708797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/438055b6b95d45702ebe1aefeb0a672abade1001_39266f38-d786-4b49-81d7-92abf3b76a6c.webp?v=1714708797","width":2000},{"alt":null,"id":23876097015907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f47bfa30a6fd6805cd97cfe51bef5410b582766_26f9440e-cf1b-4618-bdab-5bc58d157996.webp?v=1714708799"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f47bfa30a6fd6805cd97cfe51bef5410b582766_26f9440e-cf1b-4618-bdab-5bc58d157996.webp?v=1714708799","width":2000},{"alt":null,"id":23876097540195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318a73e5c33b64b79a8bcb1734463918cca38158_3d73144d-147b-4317-9c7a-e6496f9aebab.webp?v=1714708802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318a73e5c33b64b79a8bcb1734463918cca38158_3d73144d-147b-4317-9c7a-e6496f9aebab.webp?v=1714708802","width":2000},{"alt":null,"id":23876098326627,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b06825e27ba3219222ca8b9ca39003d5b205f76_9808e4b2-e6c9-4bf3-872e-90df7391b40c.webp?v=1714708805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b06825e27ba3219222ca8b9ca39003d5b205f76_9808e4b2-e6c9-4bf3-872e-90df7391b40c.webp?v=1714708805","width":2000},{"alt":null,"id":23876098752611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af5f37da142a024fd15394d2de08bef9eeb6d6b1_3b3b7806-7c6e-47ad-92f6-68c94377b86a.webp?v=1714708807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af5f37da142a024fd15394d2de08bef9eeb6d6b1_3b3b7806-7c6e-47ad-92f6-68c94377b86a.webp?v=1714708807","width":2000},{"alt":null,"id":23876099309667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c0aac73555d7a1fbb2500c3178aa6d157417f4_feacfc96-9172-47c4-97ec-ccf393532668.webp?v=1714708809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c0aac73555d7a1fbb2500c3178aa6d157417f4_feacfc96-9172-47c4-97ec-ccf393532668.webp?v=1714708809","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882664796259,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471189983331,"product_id":7408099328099,"position":3,"created_at":"2024-05-03T11:59:52+08:00","updated_at":"2024-05-03T11:59:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2164eecab1012ca48c7098b016be0ec7aea8926_f80bac5a-d66f-4716-8568-878f67c3ffbf.webp?v=1714708792","variant_ids":[41882664796259]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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":"NPB0122824-PB11","featured_media":{"alt":null,"id":23876095213667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2164eecab1012ca48c7098b016be0ec7aea8926_f80bac5a-d66f-4716-8568-878f67c3ffbf.webp?v=1714708792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882664861795,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471192997987,"product_id":7408099328099,"position":8,"created_at":"2024-05-03T12:00:05+08:00","updated_at":"2024-05-03T12:00:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b06825e27ba3219222ca8b9ca39003d5b205f76_9808e4b2-e6c9-4bf3-872e-90df7391b40c.webp?v=1714708805","variant_ids":[41882664861795]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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":"NPB0122804-PB11","featured_media":{"alt":null,"id":23876098326627,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b06825e27ba3219222ca8b9ca39003d5b205f76_9808e4b2-e6c9-4bf3-872e-90df7391b40c.webp?v=1714708805"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882665091171,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471192309859,"product_id":7408099328099,"position":7,"created_at":"2024-05-03T12:00:02+08:00","updated_at":"2024-05-03T12:00:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318a73e5c33b64b79a8bcb1734463918cca38158_3d73144d-147b-4317-9c7a-e6496f9aebab.webp?v=1714708802","variant_ids":[41882665091171]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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":"NPB01228J5-PB11","featured_media":{"alt":null,"id":23876097540195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/318a73e5c33b64b79a8bcb1734463918cca38158_3d73144d-147b-4317-9c7a-e6496f9aebab.webp?v=1714708802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882664796259,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB11","requires_shipping":true,"taxable":true,"featured_image":{"id":31471189983331,"product_id":7408099328099,"position":3,"created_at":"2024-05-03T11:59:52+08:00","updated_at":"2024-05-03T11:59:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2164eecab1012ca48c7098b016be0ec7aea8926_f80bac5a-d66f-4716-8568-878f67c3ffbf.webp?v=1714708792","variant_ids":[41882664796259]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具2-黑 - 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":"NPB0122824-PB11","featured_media":{"alt":null,"id":23876095213667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2164eecab1012ca48c7098b016be0ec7aea8926_f80bac5a-d66f-4716-8568-878f67c3ffbf.webp?v=1714708792"}},"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: "停產"
}