Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(恆春)
$product = {"id":7414686187619,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(恆春)","handle":"iphone-13-mini-mod-nx-magsafe-printable-ae01","description":null,"published_at":"2024-06-11T17:53:07+08:00","created_at":"2024-05-05T14:38:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX MagSafe 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 13 mini","discountable-item","member","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller","reseller-modnx-magsafe-chi-po-lin-series","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":41908292255843,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31486034149475,"product_id":7414686187619,"position":6,"created_at":"2024-05-05T14:38:20+08:00","updated_at":"2024-05-05T14:38:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2727d34b8997df931e9b1f20a2681d2709a082b0_aefe77eb-c2ab-4f0f-ae29-d7843117bf1a.webp?v=1714891100","variant_ids":[41908292255843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23891369427043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2727d34b8997df931e9b1f20a2681d2709a082b0_aefe77eb-c2ab-4f0f-ae29-d7843117bf1a.webp?v=1714891100"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908292321379,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31486030610531,"product_id":7414686187619,"position":4,"created_at":"2024-05-05T14:38:15+08:00","updated_at":"2024-05-05T14:38:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c78e49cd44c82d5a7cceebe9b505fbba502ab92_6d060396-ec6f-403a-b098-a2a98ad0e96b.webp?v=1714891095","variant_ids":[41908292321379]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23891366215779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c78e49cd44c82d5a7cceebe9b505fbba502ab92_6d060396-ec6f-403a-b098-a2a98ad0e96b.webp?v=1714891095"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908292550755,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31486038212707,"product_id":7414686187619,"position":9,"created_at":"2024-05-05T14:38:27+08:00","updated_at":"2024-05-05T14:38:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593aafebf77c91aa02c18c3f3454bc465019d6f8_52afee6d-ec99-4bbe-a2c1-1ce58273b152.webp?v=1714891107","variant_ids":[41908292550755]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23891373719651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593aafebf77c91aa02c18c3f3454bc465019d6f8_52afee6d-ec99-4bbe-a2c1-1ce58273b152.webp?v=1714891107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf22f5480ad88111fd3b4ff4c58a76018e4c21c1_85f98357-a322-4850-a4f4-aa641462bac0.webp?v=1714891088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9a8c3e0f9ec01f9f82b9ee20e90c1ab84a55226_9d3ce524-cf39-41ee-88c1-ca8a5008b94a.webp?v=1714891090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c092a1e6d54c90dbcf41010fafaacf50b41ae9f_9f156f91-c592-48c5-844c-3dd35c089997.webp?v=1714891093","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c78e49cd44c82d5a7cceebe9b505fbba502ab92_6d060396-ec6f-403a-b098-a2a98ad0e96b.webp?v=1714891095","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0cde3991f41a0345b478662133daf5543ee0ede_1a98c5e9-c513-4ba9-afaf-594eaf12be44.webp?v=1714891097","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2727d34b8997df931e9b1f20a2681d2709a082b0_aefe77eb-c2ab-4f0f-ae29-d7843117bf1a.webp?v=1714891100","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8da4500de8fe4c3e5d01607701b808553eeb15_decef98a-7f36-44f0-862d-b5c5c5c5f262.webp?v=1714891102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3495f876bb389dfa716d29405e52ea8d1d8b5974_68140b6c-818b-47c8-9c63-b7b2ca248c47.webp?v=1714891105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593aafebf77c91aa02c18c3f3454bc465019d6f8_52afee6d-ec99-4bbe-a2c1-1ce58273b152.webp?v=1714891107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/698289dd01005dabc00e10c4a22940005b5bd796_dec47777-a791-4df9-a45c-b0660d8fd04f.webp?v=1714891109"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf22f5480ad88111fd3b4ff4c58a76018e4c21c1_85f98357-a322-4850-a4f4-aa641462bac0.webp?v=1714891088","options":["color"],"media":[{"alt":null,"id":23891361235043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf22f5480ad88111fd3b4ff4c58a76018e4c21c1_85f98357-a322-4850-a4f4-aa641462bac0.webp?v=1714891088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf22f5480ad88111fd3b4ff4c58a76018e4c21c1_85f98357-a322-4850-a4f4-aa641462bac0.webp?v=1714891088","width":2000},{"alt":null,"id":23891362971747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9a8c3e0f9ec01f9f82b9ee20e90c1ab84a55226_9d3ce524-cf39-41ee-88c1-ca8a5008b94a.webp?v=1714891090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9a8c3e0f9ec01f9f82b9ee20e90c1ab84a55226_9d3ce524-cf39-41ee-88c1-ca8a5008b94a.webp?v=1714891090","width":2000},{"alt":null,"id":23891364642915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c092a1e6d54c90dbcf41010fafaacf50b41ae9f_9f156f91-c592-48c5-844c-3dd35c089997.webp?v=1714891093"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c092a1e6d54c90dbcf41010fafaacf50b41ae9f_9f156f91-c592-48c5-844c-3dd35c089997.webp?v=1714891093","width":2000},{"alt":null,"id":23891366215779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c78e49cd44c82d5a7cceebe9b505fbba502ab92_6d060396-ec6f-403a-b098-a2a98ad0e96b.webp?v=1714891095"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c78e49cd44c82d5a7cceebe9b505fbba502ab92_6d060396-ec6f-403a-b098-a2a98ad0e96b.webp?v=1714891095","width":2000},{"alt":null,"id":23891367854179,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0cde3991f41a0345b478662133daf5543ee0ede_1a98c5e9-c513-4ba9-afaf-594eaf12be44.webp?v=1714891097"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0cde3991f41a0345b478662133daf5543ee0ede_1a98c5e9-c513-4ba9-afaf-594eaf12be44.webp?v=1714891097","width":2000},{"alt":null,"id":23891369427043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2727d34b8997df931e9b1f20a2681d2709a082b0_aefe77eb-c2ab-4f0f-ae29-d7843117bf1a.webp?v=1714891100"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2727d34b8997df931e9b1f20a2681d2709a082b0_aefe77eb-c2ab-4f0f-ae29-d7843117bf1a.webp?v=1714891100","width":2000},{"alt":null,"id":23891370967139,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8da4500de8fe4c3e5d01607701b808553eeb15_decef98a-7f36-44f0-862d-b5c5c5c5f262.webp?v=1714891102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8da4500de8fe4c3e5d01607701b808553eeb15_decef98a-7f36-44f0-862d-b5c5c5c5f262.webp?v=1714891102","width":2000},{"alt":null,"id":23891372310627,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3495f876bb389dfa716d29405e52ea8d1d8b5974_68140b6c-818b-47c8-9c63-b7b2ca248c47.webp?v=1714891105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3495f876bb389dfa716d29405e52ea8d1d8b5974_68140b6c-818b-47c8-9c63-b7b2ca248c47.webp?v=1714891105","width":2000},{"alt":null,"id":23891373719651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593aafebf77c91aa02c18c3f3454bc465019d6f8_52afee6d-ec99-4bbe-a2c1-1ce58273b152.webp?v=1714891107"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593aafebf77c91aa02c18c3f3454bc465019d6f8_52afee6d-ec99-4bbe-a2c1-1ce58273b152.webp?v=1714891107","width":2000},{"alt":null,"id":23891374997603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/698289dd01005dabc00e10c4a22940005b5bd796_dec47777-a791-4df9-a45c-b0660d8fd04f.webp?v=1714891109"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/698289dd01005dabc00e10c4a22940005b5bd796_dec47777-a791-4df9-a45c-b0660d8fd04f.webp?v=1714891109","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41908292255843,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31486034149475,"product_id":7414686187619,"position":6,"created_at":"2024-05-05T14:38:20+08:00","updated_at":"2024-05-05T14:38:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2727d34b8997df931e9b1f20a2681d2709a082b0_aefe77eb-c2ab-4f0f-ae29-d7843117bf1a.webp?v=1714891100","variant_ids":[41908292255843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23891369427043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2727d34b8997df931e9b1f20a2681d2709a082b0_aefe77eb-c2ab-4f0f-ae29-d7843117bf1a.webp?v=1714891100"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908292321379,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31486030610531,"product_id":7414686187619,"position":4,"created_at":"2024-05-05T14:38:15+08:00","updated_at":"2024-05-05T14:38:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c78e49cd44c82d5a7cceebe9b505fbba502ab92_6d060396-ec6f-403a-b098-a2a98ad0e96b.webp?v=1714891095","variant_ids":[41908292321379]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23891366215779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c78e49cd44c82d5a7cceebe9b505fbba502ab92_6d060396-ec6f-403a-b098-a2a98ad0e96b.webp?v=1714891095"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908292550755,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31486038212707,"product_id":7414686187619,"position":9,"created_at":"2024-05-05T14:38:27+08:00","updated_at":"2024-05-05T14:38:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593aafebf77c91aa02c18c3f3454bc465019d6f8_52afee6d-ec99-4bbe-a2c1-1ce58273b152.webp?v=1714891107","variant_ids":[41908292550755]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23891373719651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/593aafebf77c91aa02c18c3f3454bc465019d6f8_52afee6d-ec99-4bbe-a2c1-1ce58273b152.webp?v=1714891107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41908292255843,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31486034149475,"product_id":7414686187619,"position":6,"created_at":"2024-05-05T14:38:20+08:00","updated_at":"2024-05-05T14:38:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2727d34b8997df931e9b1f20a2681d2709a082b0_aefe77eb-c2ab-4f0f-ae29-d7843117bf1a.webp?v=1714891100","variant_ids":[41908292255843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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-AE01","featured_media":{"alt":null,"id":23891369427043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2727d34b8997df931e9b1f20a2681d2709a082b0_aefe77eb-c2ab-4f0f-ae29-d7843117bf1a.webp?v=1714891100"}},"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: "停產"
}