$product = {"id":7414476439651,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb14","description":null,"published_at":"2024-06-11T17:51:32+08:00","created_at":"2024-05-05T14:27:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","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":41906775261283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31485569990755,"product_id":7414476439651,"position":1,"created_at":"2024-05-05T14:27:11+08:00","updated_at":"2024-05-05T14:27:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431","variant_ids":[41906775261283]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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":"MPB0122824-PB14","featured_media":{"alt":null,"id":23890886623331,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906775326819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31485591584867,"product_id":7414476439651,"position":9,"created_at":"2024-05-05T14:27:29+08:00","updated_at":"2024-05-05T14:27:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b26c8eabbcf1089c3d9e0ba24598e3e2812ce71_6c5e2c7a-0797-41be-9210-3b6b9161fc42.webp?v=1714890449","variant_ids":[41906775326819]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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":"MPB0122804-PB14","featured_media":{"alt":null,"id":23890908184675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b26c8eabbcf1089c3d9e0ba24598e3e2812ce71_6c5e2c7a-0797-41be-9210-3b6b9161fc42.webp?v=1714890449"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906775556195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31485593747555,"product_id":7414476439651,"position":10,"created_at":"2024-05-05T14:27:32+08:00","updated_at":"2024-05-05T14:27:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c792b6d1d6fc99cc816fc2771e203d7b9c505b69_43e86f5e-e811-435e-b0ac-0d452c7baf44.webp?v=1714890452","variant_ids":[41906775556195]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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":"MPB01228J5-PB14","featured_media":{"alt":null,"id":23890910183523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c792b6d1d6fc99cc816fc2771e203d7b9c505b69_43e86f5e-e811-435e-b0ac-0d452c7baf44.webp?v=1714890452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be6e2ac9c2e21d32b607aea6d9253014a4fd798c_3ab25dc4-c6f8-4080-811d-1ef76fe5db0f.webp?v=1714890433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfd9fe7bdd05e2e312c8d4604e3d86428711fa5_7a275ab8-0604-4c35-95c6-9b6ba1174ded.webp?v=1714890436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d846491b06b211c9748d3006e0fa27820474497_2f21492f-4a51-40c6-b8d1-f81ccacd2bf2.webp?v=1714890438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5575766f5f74bd1c59aba3cd7ca886c99bee83bf_c85788fb-3753-41b9-bf4c-4ffd25919d85.webp?v=1714890440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53b58fbe7f3c6825419d855964e33036909c6b67_f158f556-fcb6-483f-905b-7e1ea90a9313.webp?v=1714890442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3475052a989b4ff7102fcbc4f8002f13e39b4701_0b039e19-4dc5-4991-ac91-3319aae912b6.webp?v=1714890445","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13920ab5060f9d521c17929bda85b85270d5f366_1b920741-8687-41ce-a5b3-3de9472eb293.webp?v=1714890447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b26c8eabbcf1089c3d9e0ba24598e3e2812ce71_6c5e2c7a-0797-41be-9210-3b6b9161fc42.webp?v=1714890449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c792b6d1d6fc99cc816fc2771e203d7b9c505b69_43e86f5e-e811-435e-b0ac-0d452c7baf44.webp?v=1714890452"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431","options":["color"],"media":[{"alt":null,"id":23890886623331,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431","width":2000},{"alt":null,"id":23890888884323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be6e2ac9c2e21d32b607aea6d9253014a4fd798c_3ab25dc4-c6f8-4080-811d-1ef76fe5db0f.webp?v=1714890433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be6e2ac9c2e21d32b607aea6d9253014a4fd798c_3ab25dc4-c6f8-4080-811d-1ef76fe5db0f.webp?v=1714890433","width":2000},{"alt":null,"id":23890891178083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfd9fe7bdd05e2e312c8d4604e3d86428711fa5_7a275ab8-0604-4c35-95c6-9b6ba1174ded.webp?v=1714890436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edfd9fe7bdd05e2e312c8d4604e3d86428711fa5_7a275ab8-0604-4c35-95c6-9b6ba1174ded.webp?v=1714890436","width":2000},{"alt":null,"id":23890894684259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d846491b06b211c9748d3006e0fa27820474497_2f21492f-4a51-40c6-b8d1-f81ccacd2bf2.webp?v=1714890438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d846491b06b211c9748d3006e0fa27820474497_2f21492f-4a51-40c6-b8d1-f81ccacd2bf2.webp?v=1714890438","width":2000},{"alt":null,"id":23890899566691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5575766f5f74bd1c59aba3cd7ca886c99bee83bf_c85788fb-3753-41b9-bf4c-4ffd25919d85.webp?v=1714890440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5575766f5f74bd1c59aba3cd7ca886c99bee83bf_c85788fb-3753-41b9-bf4c-4ffd25919d85.webp?v=1714890440","width":2000},{"alt":null,"id":23890901598307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53b58fbe7f3c6825419d855964e33036909c6b67_f158f556-fcb6-483f-905b-7e1ea90a9313.webp?v=1714890442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53b58fbe7f3c6825419d855964e33036909c6b67_f158f556-fcb6-483f-905b-7e1ea90a9313.webp?v=1714890442","width":2000},{"alt":null,"id":23890903531619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3475052a989b4ff7102fcbc4f8002f13e39b4701_0b039e19-4dc5-4991-ac91-3319aae912b6.webp?v=1714890445"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3475052a989b4ff7102fcbc4f8002f13e39b4701_0b039e19-4dc5-4991-ac91-3319aae912b6.webp?v=1714890445","width":2000},{"alt":null,"id":23890906021987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13920ab5060f9d521c17929bda85b85270d5f366_1b920741-8687-41ce-a5b3-3de9472eb293.webp?v=1714890447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13920ab5060f9d521c17929bda85b85270d5f366_1b920741-8687-41ce-a5b3-3de9472eb293.webp?v=1714890447","width":2000},{"alt":null,"id":23890908184675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b26c8eabbcf1089c3d9e0ba24598e3e2812ce71_6c5e2c7a-0797-41be-9210-3b6b9161fc42.webp?v=1714890449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b26c8eabbcf1089c3d9e0ba24598e3e2812ce71_6c5e2c7a-0797-41be-9210-3b6b9161fc42.webp?v=1714890449","width":2000},{"alt":null,"id":23890910183523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c792b6d1d6fc99cc816fc2771e203d7b9c505b69_43e86f5e-e811-435e-b0ac-0d452c7baf44.webp?v=1714890452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c792b6d1d6fc99cc816fc2771e203d7b9c505b69_43e86f5e-e811-435e-b0ac-0d452c7baf44.webp?v=1714890452","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41906775261283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31485569990755,"product_id":7414476439651,"position":1,"created_at":"2024-05-05T14:27:11+08:00","updated_at":"2024-05-05T14:27:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431","variant_ids":[41906775261283]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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":"MPB0122824-PB14","featured_media":{"alt":null,"id":23890886623331,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906775326819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31485591584867,"product_id":7414476439651,"position":9,"created_at":"2024-05-05T14:27:29+08:00","updated_at":"2024-05-05T14:27:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b26c8eabbcf1089c3d9e0ba24598e3e2812ce71_6c5e2c7a-0797-41be-9210-3b6b9161fc42.webp?v=1714890449","variant_ids":[41906775326819]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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":"MPB0122804-PB14","featured_media":{"alt":null,"id":23890908184675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b26c8eabbcf1089c3d9e0ba24598e3e2812ce71_6c5e2c7a-0797-41be-9210-3b6b9161fc42.webp?v=1714890449"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906775556195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31485593747555,"product_id":7414476439651,"position":10,"created_at":"2024-05-05T14:27:32+08:00","updated_at":"2024-05-05T14:27:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c792b6d1d6fc99cc816fc2771e203d7b9c505b69_43e86f5e-e811-435e-b0ac-0d452c7baf44.webp?v=1714890452","variant_ids":[41906775556195]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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":"MPB01228J5-PB14","featured_media":{"alt":null,"id":23890910183523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c792b6d1d6fc99cc816fc2771e203d7b9c505b69_43e86f5e-e811-435e-b0ac-0d452c7baf44.webp?v=1714890452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41906775261283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31485569990755,"product_id":7414476439651,"position":1,"created_at":"2024-05-05T14:27:11+08:00","updated_at":"2024-05-05T14:27:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431","variant_ids":[41906775261283]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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":"MPB0122824-PB14","featured_media":{"alt":null,"id":23890886623331,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3c2d6e0199b59086df81692cb6fa6c8c77e8643_55698799-3d88-4bf8-aad7-78cc76302774.webp?v=1714890431"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}