$product = {"id":7411268911203,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 貼紙款","handle":"iphone-14-pro-mod-nx-magsafe-printable-sr08","description":null,"published_at":"2024-06-11T17:40:23+08:00","created_at":"2024-05-04T23:57:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區The Powerpuff Girls","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-the-power-puff-girls","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-the-power-puff-girls","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":41896753266787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480004444259,"product_id":7411268911203,"position":4,"created_at":"2024-05-04T23:57:18+08:00","updated_at":"2024-05-04T23:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dd779793ad34f414e9e9642c79785cc8c29e4a_2797f38a-c2e9-4a0d-9675-b570c28b02ab.webp?v=1714838238","variant_ids":[41896753266787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 貼紙款 - 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-SR08","featured_media":{"alt":null,"id":23885255114851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dd779793ad34f414e9e9642c79785cc8c29e4a_2797f38a-c2e9-4a0d-9675-b570c28b02ab.webp?v=1714838238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896753397859,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480005034083,"product_id":7411268911203,"position":5,"created_at":"2024-05-04T23:57:21+08:00","updated_at":"2024-05-04T23:57:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ba67bcae606a81a5ad9e9b29e31743a4c65e54_0aabdfae-be92-4f40-a6f7-4e882e880e40.webp?v=1714838241","variant_ids":[41896753397859]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 貼紙款 - 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-SR08","featured_media":{"alt":null,"id":23885255802979,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ba67bcae606a81a5ad9e9b29e31743a4c65e54_0aabdfae-be92-4f40-a6f7-4e882e880e40.webp?v=1714838241"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896753823843,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480003428451,"product_id":7411268911203,"position":3,"created_at":"2024-05-04T23:57:16+08:00","updated_at":"2024-05-04T23:57:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba68e9f38de930e0a5c76273ad3d33ded529fd19_0c4caf27-758d-42b2-9d92-e3ad5ca76642.webp?v=1714838236","variant_ids":[41896753823843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 貼紙款 - 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-SR08","featured_media":{"alt":null,"id":23885254295651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba68e9f38de930e0a5c76273ad3d33ded529fd19_0c4caf27-758d-42b2-9d92-e3ad5ca76642.webp?v=1714838236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e2c87cbae5f4150ef19d0161e0c2b739be0b47_40aea4ef-4f9d-494f-afa5-7b59b6c0a7b4.webp?v=1714838231","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6873a0656ebf1e93879ff2e5ca67962cca9f6eb1_370d0b7c-70df-4b12-80de-1e0c14f26313.webp?v=1714838234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba68e9f38de930e0a5c76273ad3d33ded529fd19_0c4caf27-758d-42b2-9d92-e3ad5ca76642.webp?v=1714838236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dd779793ad34f414e9e9642c79785cc8c29e4a_2797f38a-c2e9-4a0d-9675-b570c28b02ab.webp?v=1714838238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ba67bcae606a81a5ad9e9b29e31743a4c65e54_0aabdfae-be92-4f40-a6f7-4e882e880e40.webp?v=1714838241","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c15637720f964428c7f4960f8061f63b37cab1_d918fba7-5184-41a4-95e0-3dda7119f023.webp?v=1714838243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c04537c18734fad8d8a1af6c696d1ada8618b9_530121e3-49e2-4e01-b6fc-6a1e7aa14a7f.webp?v=1714838246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e44251cb545917e9e747ca856e877b836ffed1_025f6395-b045-4e62-92d4-d45d009b76b5.webp?v=1714838248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79d4f95672fdb52d6b619b7dd2c7a308d3d18c11_12d9605a-3bbf-471d-bcaa-a5d8ce735060.webp?v=1714838251","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/033cccb3b8ebe3f4caab0cbdef38cccb03909ccb_6fa45f87-2def-4dfe-b359-8decd257802b.webp?v=1714838253"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e2c87cbae5f4150ef19d0161e0c2b739be0b47_40aea4ef-4f9d-494f-afa5-7b59b6c0a7b4.webp?v=1714838231","options":["color"],"media":[{"alt":null,"id":23885252591715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e2c87cbae5f4150ef19d0161e0c2b739be0b47_40aea4ef-4f9d-494f-afa5-7b59b6c0a7b4.webp?v=1714838231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e2c87cbae5f4150ef19d0161e0c2b739be0b47_40aea4ef-4f9d-494f-afa5-7b59b6c0a7b4.webp?v=1714838231","width":2000},{"alt":null,"id":23885253476451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6873a0656ebf1e93879ff2e5ca67962cca9f6eb1_370d0b7c-70df-4b12-80de-1e0c14f26313.webp?v=1714838234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6873a0656ebf1e93879ff2e5ca67962cca9f6eb1_370d0b7c-70df-4b12-80de-1e0c14f26313.webp?v=1714838234","width":2000},{"alt":null,"id":23885254295651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba68e9f38de930e0a5c76273ad3d33ded529fd19_0c4caf27-758d-42b2-9d92-e3ad5ca76642.webp?v=1714838236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba68e9f38de930e0a5c76273ad3d33ded529fd19_0c4caf27-758d-42b2-9d92-e3ad5ca76642.webp?v=1714838236","width":2000},{"alt":null,"id":23885255114851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dd779793ad34f414e9e9642c79785cc8c29e4a_2797f38a-c2e9-4a0d-9675-b570c28b02ab.webp?v=1714838238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dd779793ad34f414e9e9642c79785cc8c29e4a_2797f38a-c2e9-4a0d-9675-b570c28b02ab.webp?v=1714838238","width":2000},{"alt":null,"id":23885255802979,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ba67bcae606a81a5ad9e9b29e31743a4c65e54_0aabdfae-be92-4f40-a6f7-4e882e880e40.webp?v=1714838241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ba67bcae606a81a5ad9e9b29e31743a4c65e54_0aabdfae-be92-4f40-a6f7-4e882e880e40.webp?v=1714838241","width":2000},{"alt":null,"id":23885256654947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c15637720f964428c7f4960f8061f63b37cab1_d918fba7-5184-41a4-95e0-3dda7119f023.webp?v=1714838243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c15637720f964428c7f4960f8061f63b37cab1_d918fba7-5184-41a4-95e0-3dda7119f023.webp?v=1714838243","width":2000},{"alt":null,"id":23885257539683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c04537c18734fad8d8a1af6c696d1ada8618b9_530121e3-49e2-4e01-b6fc-6a1e7aa14a7f.webp?v=1714838246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c04537c18734fad8d8a1af6c696d1ada8618b9_530121e3-49e2-4e01-b6fc-6a1e7aa14a7f.webp?v=1714838246","width":2000},{"alt":null,"id":23885258260579,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e44251cb545917e9e747ca856e877b836ffed1_025f6395-b045-4e62-92d4-d45d009b76b5.webp?v=1714838248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e44251cb545917e9e747ca856e877b836ffed1_025f6395-b045-4e62-92d4-d45d009b76b5.webp?v=1714838248","width":2000},{"alt":null,"id":23885258817635,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79d4f95672fdb52d6b619b7dd2c7a308d3d18c11_12d9605a-3bbf-471d-bcaa-a5d8ce735060.webp?v=1714838251"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79d4f95672fdb52d6b619b7dd2c7a308d3d18c11_12d9605a-3bbf-471d-bcaa-a5d8ce735060.webp?v=1714838251","width":2000},{"alt":null,"id":23885259341923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/033cccb3b8ebe3f4caab0cbdef38cccb03909ccb_6fa45f87-2def-4dfe-b359-8decd257802b.webp?v=1714838253"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/033cccb3b8ebe3f4caab0cbdef38cccb03909ccb_6fa45f87-2def-4dfe-b359-8decd257802b.webp?v=1714838253","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896753266787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480004444259,"product_id":7411268911203,"position":4,"created_at":"2024-05-04T23:57:18+08:00","updated_at":"2024-05-04T23:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dd779793ad34f414e9e9642c79785cc8c29e4a_2797f38a-c2e9-4a0d-9675-b570c28b02ab.webp?v=1714838238","variant_ids":[41896753266787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 貼紙款 - 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-SR08","featured_media":{"alt":null,"id":23885255114851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dd779793ad34f414e9e9642c79785cc8c29e4a_2797f38a-c2e9-4a0d-9675-b570c28b02ab.webp?v=1714838238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896753397859,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480005034083,"product_id":7411268911203,"position":5,"created_at":"2024-05-04T23:57:21+08:00","updated_at":"2024-05-04T23:57:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ba67bcae606a81a5ad9e9b29e31743a4c65e54_0aabdfae-be92-4f40-a6f7-4e882e880e40.webp?v=1714838241","variant_ids":[41896753397859]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 貼紙款 - 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-SR08","featured_media":{"alt":null,"id":23885255802979,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95ba67bcae606a81a5ad9e9b29e31743a4c65e54_0aabdfae-be92-4f40-a6f7-4e882e880e40.webp?v=1714838241"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896753823843,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480003428451,"product_id":7411268911203,"position":3,"created_at":"2024-05-04T23:57:16+08:00","updated_at":"2024-05-04T23:57:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba68e9f38de930e0a5c76273ad3d33ded529fd19_0c4caf27-758d-42b2-9d92-e3ad5ca76642.webp?v=1714838236","variant_ids":[41896753823843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 貼紙款 - 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-SR08","featured_media":{"alt":null,"id":23885254295651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba68e9f38de930e0a5c76273ad3d33ded529fd19_0c4caf27-758d-42b2-9d92-e3ad5ca76642.webp?v=1714838236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896753266787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480004444259,"product_id":7411268911203,"position":4,"created_at":"2024-05-04T23:57:18+08:00","updated_at":"2024-05-04T23:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dd779793ad34f414e9e9642c79785cc8c29e4a_2797f38a-c2e9-4a0d-9675-b570c28b02ab.webp?v=1714838238","variant_ids":[41896753266787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 貼紙款 - 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-SR08","featured_media":{"alt":null,"id":23885255114851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dd779793ad34f414e9e9642c79785cc8c29e4a_2797f38a-c2e9-4a0d-9675-b570c28b02ab.webp?v=1714838238"}},"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: "停產"
}