Home
›
犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha!
$product = {"id":7408200384611,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha!","handle":"iphone-13-mini-mod-nx-printable-yf08","description":null,"published_at":"2024-06-11T16:34:05+08:00","created_at":"2024-05-03T12:19:32+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-stitch","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":41883790639203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471456288867,"product_id":7408200384611,"position":8,"created_at":"2024-05-03T12:19:50+08:00","updated_at":"2024-05-03T12:19:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b511767382c31ab2e27a942a4133fd56d04a2c4_779b96cd-d031-4d7b-aa6d-4bd8c112b9fe.webp?v=1714709990","variant_ids":[41883790639203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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-YF08","featured_media":{"alt":null,"id":23876362666083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b511767382c31ab2e27a942a4133fd56d04a2c4_779b96cd-d031-4d7b-aa6d-4bd8c112b9fe.webp?v=1714709990"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883790770275,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471453700195,"product_id":7408200384611,"position":3,"created_at":"2024-05-03T12:19:39+08:00","updated_at":"2024-05-03T12:19:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f02ae906bc2ddcee4d65d65f4705cde5748725_7bda7aee-2bb9-4484-9946-e34c3a5936a3.webp?v=1714709979","variant_ids":[41883790770275]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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-YF08","featured_media":{"alt":null,"id":23876360142947,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f02ae906bc2ddcee4d65d65f4705cde5748725_7bda7aee-2bb9-4484-9946-e34c3a5936a3.webp?v=1714709979"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883791163491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471452913763,"product_id":7408200384611,"position":1,"created_at":"2024-05-03T12:19:34+08:00","updated_at":"2024-05-03T12:19:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310b8ec8c16f9f32e5e0f4420ea0add0817f681a_c54abd89-d414-475a-a965-27e3b74d7a83.webp?v=1714709974","variant_ids":[41883791163491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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-YF08","featured_media":{"alt":null,"id":23876359323747,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310b8ec8c16f9f32e5e0f4420ea0add0817f681a_c54abd89-d414-475a-a965-27e3b74d7a83.webp?v=1714709974"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310b8ec8c16f9f32e5e0f4420ea0add0817f681a_c54abd89-d414-475a-a965-27e3b74d7a83.webp?v=1714709974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d80c21c38e3a18a022cdbd1cb397fd0c7e04f57_e68a3465-6a8b-442c-b10f-d7d803749f81.webp?v=1714709976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f02ae906bc2ddcee4d65d65f4705cde5748725_7bda7aee-2bb9-4484-9946-e34c3a5936a3.webp?v=1714709979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ca8667f655285c7323ad06d3ac31014bbd3ab3_0696efc4-56a0-47c2-b920-c94faea0fae5.webp?v=1714709981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fae6bae8ec48330b8d9867e3821aabd9af14f50b_117183e5-d959-4b3e-a477-dc888e64cf2d.webp?v=1714709983","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46194640ca71a555705b00ce0ea3b6e23b8c6258_5a1a15ca-f180-4f1e-8571-9333f69c38b0.webp?v=1714709985","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383e60d4343c7a0192cddfc244c3e93804e44904_13088fdc-f158-4938-b915-fed7b6490822.webp?v=1714709988","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b511767382c31ab2e27a942a4133fd56d04a2c4_779b96cd-d031-4d7b-aa6d-4bd8c112b9fe.webp?v=1714709990","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3730ed6b06fb5197d8bfc2c3a627d20a9ed42fc7_9b99af79-1a32-4df5-b8d8-d73ed12c0fef.webp?v=1714709992","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c8c8f43f67ecd672c70b0cd1d3ca71cda76fda9_935f3664-adb4-4139-a996-61d9ff2d38c4.webp?v=1714709994"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310b8ec8c16f9f32e5e0f4420ea0add0817f681a_c54abd89-d414-475a-a965-27e3b74d7a83.webp?v=1714709974","options":["color"],"media":[{"alt":null,"id":23876359323747,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310b8ec8c16f9f32e5e0f4420ea0add0817f681a_c54abd89-d414-475a-a965-27e3b74d7a83.webp?v=1714709974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310b8ec8c16f9f32e5e0f4420ea0add0817f681a_c54abd89-d414-475a-a965-27e3b74d7a83.webp?v=1714709974","width":2000},{"alt":null,"id":23876359651427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d80c21c38e3a18a022cdbd1cb397fd0c7e04f57_e68a3465-6a8b-442c-b10f-d7d803749f81.webp?v=1714709976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d80c21c38e3a18a022cdbd1cb397fd0c7e04f57_e68a3465-6a8b-442c-b10f-d7d803749f81.webp?v=1714709976","width":2000},{"alt":null,"id":23876360142947,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f02ae906bc2ddcee4d65d65f4705cde5748725_7bda7aee-2bb9-4484-9946-e34c3a5936a3.webp?v=1714709979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f02ae906bc2ddcee4d65d65f4705cde5748725_7bda7aee-2bb9-4484-9946-e34c3a5936a3.webp?v=1714709979","width":2000},{"alt":null,"id":23876360700003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ca8667f655285c7323ad06d3ac31014bbd3ab3_0696efc4-56a0-47c2-b920-c94faea0fae5.webp?v=1714709981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ca8667f655285c7323ad06d3ac31014bbd3ab3_0696efc4-56a0-47c2-b920-c94faea0fae5.webp?v=1714709981","width":2000},{"alt":null,"id":23876361158755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fae6bae8ec48330b8d9867e3821aabd9af14f50b_117183e5-d959-4b3e-a477-dc888e64cf2d.webp?v=1714709983"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fae6bae8ec48330b8d9867e3821aabd9af14f50b_117183e5-d959-4b3e-a477-dc888e64cf2d.webp?v=1714709983","width":2000},{"alt":null,"id":23876361650275,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46194640ca71a555705b00ce0ea3b6e23b8c6258_5a1a15ca-f180-4f1e-8571-9333f69c38b0.webp?v=1714709985"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46194640ca71a555705b00ce0ea3b6e23b8c6258_5a1a15ca-f180-4f1e-8571-9333f69c38b0.webp?v=1714709985","width":2000},{"alt":null,"id":23876362109027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383e60d4343c7a0192cddfc244c3e93804e44904_13088fdc-f158-4938-b915-fed7b6490822.webp?v=1714709988"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/383e60d4343c7a0192cddfc244c3e93804e44904_13088fdc-f158-4938-b915-fed7b6490822.webp?v=1714709988","width":2000},{"alt":null,"id":23876362666083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b511767382c31ab2e27a942a4133fd56d04a2c4_779b96cd-d031-4d7b-aa6d-4bd8c112b9fe.webp?v=1714709990"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b511767382c31ab2e27a942a4133fd56d04a2c4_779b96cd-d031-4d7b-aa6d-4bd8c112b9fe.webp?v=1714709990","width":2000},{"alt":null,"id":23876363157603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3730ed6b06fb5197d8bfc2c3a627d20a9ed42fc7_9b99af79-1a32-4df5-b8d8-d73ed12c0fef.webp?v=1714709992"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3730ed6b06fb5197d8bfc2c3a627d20a9ed42fc7_9b99af79-1a32-4df5-b8d8-d73ed12c0fef.webp?v=1714709992","width":2000},{"alt":null,"id":23876363714659,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c8c8f43f67ecd672c70b0cd1d3ca71cda76fda9_935f3664-adb4-4139-a996-61d9ff2d38c4.webp?v=1714709994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c8c8f43f67ecd672c70b0cd1d3ca71cda76fda9_935f3664-adb4-4139-a996-61d9ff2d38c4.webp?v=1714709994","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41883790639203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471456288867,"product_id":7408200384611,"position":8,"created_at":"2024-05-03T12:19:50+08:00","updated_at":"2024-05-03T12:19:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b511767382c31ab2e27a942a4133fd56d04a2c4_779b96cd-d031-4d7b-aa6d-4bd8c112b9fe.webp?v=1714709990","variant_ids":[41883790639203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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-YF08","featured_media":{"alt":null,"id":23876362666083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b511767382c31ab2e27a942a4133fd56d04a2c4_779b96cd-d031-4d7b-aa6d-4bd8c112b9fe.webp?v=1714709990"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883790770275,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471453700195,"product_id":7408200384611,"position":3,"created_at":"2024-05-03T12:19:39+08:00","updated_at":"2024-05-03T12:19:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f02ae906bc2ddcee4d65d65f4705cde5748725_7bda7aee-2bb9-4484-9946-e34c3a5936a3.webp?v=1714709979","variant_ids":[41883790770275]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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-YF08","featured_media":{"alt":null,"id":23876360142947,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9f02ae906bc2ddcee4d65d65f4705cde5748725_7bda7aee-2bb9-4484-9946-e34c3a5936a3.webp?v=1714709979"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883791163491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471452913763,"product_id":7408200384611,"position":1,"created_at":"2024-05-03T12:19:34+08:00","updated_at":"2024-05-03T12:19:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310b8ec8c16f9f32e5e0f4420ea0add0817f681a_c54abd89-d414-475a-a965-27e3b74d7a83.webp?v=1714709974","variant_ids":[41883791163491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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-YF08","featured_media":{"alt":null,"id":23876359323747,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/310b8ec8c16f9f32e5e0f4420ea0add0817f681a_c54abd89-d414-475a-a965-27e3b74d7a83.webp?v=1714709974"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41883790639203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471456288867,"product_id":7408200384611,"position":8,"created_at":"2024-05-03T12:19:50+08:00","updated_at":"2024-05-03T12:19:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b511767382c31ab2e27a942a4133fd56d04a2c4_779b96cd-d031-4d7b-aa6d-4bd8c112b9fe.webp?v=1714709990","variant_ids":[41883790639203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 經典系列-Aloha! - 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-YF08","featured_media":{"alt":null,"id":23876362666083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b511767382c31ab2e27a942a4133fd56d04a2c4_779b96cd-d031-4d7b-aa6d-4bd8c112b9fe.webp?v=1714709990"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}