$product = {"id":7413960409187,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb57","description":null,"published_at":"2024-06-11T17:46:12+08:00","created_at":"2024-05-05T13:50:42+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":41902712782947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31484331524195,"product_id":7413960409187,"position":10,"created_at":"2024-05-05T13:51:04+08:00","updated_at":"2024-05-05T13:51:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4856bd17543c3262877313af8f1e093485be8e6b_f3f3576e-0aac-468a-a05b-b2157f31e5c9.webp?v=1714888264","variant_ids":[41902712782947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23889625186403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4856bd17543c3262877313af8f1e093485be8e6b_f3f3576e-0aac-468a-a05b-b2157f31e5c9.webp?v=1714888264"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902712848483,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31484326183011,"product_id":7413960409187,"position":3,"created_at":"2024-05-05T13:50:49+08:00","updated_at":"2024-05-05T13:50:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36fd2d8903ab4ef9127919cebc127a867bd07636_73408bdd-95e2-410a-9867-72846fcf614b.webp?v=1714888249","variant_ids":[41902712848483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23889619845219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36fd2d8903ab4ef9127919cebc127a867bd07636_73408bdd-95e2-410a-9867-72846fcf614b.webp?v=1714888249"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902713077859,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31484329656419,"product_id":7413960409187,"position":6,"created_at":"2024-05-05T13:50:56+08:00","updated_at":"2024-05-05T13:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189b9521ab14dd6d6c55317b5ae8e0fcd66fc19f_4efa5e1d-ae22-4335-b657-c1bd90ce2dfa.webp?v=1714888256","variant_ids":[41902713077859]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23889623351395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189b9521ab14dd6d6c55317b5ae8e0fcd66fc19f_4efa5e1d-ae22-4335-b657-c1bd90ce2dfa.webp?v=1714888256"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2ba6889c29f675a7a3c0d0e1cfff7c175af212a_337d5405-ba91-4b8e-be79-4d1bc3589be2.webp?v=1714888245","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e88cc42449da2f21dbac38fc58221b02c6c093_b6cfb5dc-3241-4422-bfc1-51e28dbbf58a.webp?v=1714888247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36fd2d8903ab4ef9127919cebc127a867bd07636_73408bdd-95e2-410a-9867-72846fcf614b.webp?v=1714888249","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7b5256fd8fde075c190d5becded7a429d3cb04a_76b348b3-3e50-481f-8a8d-5af6d8153277.webp?v=1714888251","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25dfc19052907000f75aabebfb0c5183bd12229d_047f1d22-b6fe-4626-abdc-12afb8339c19.webp?v=1714888253","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189b9521ab14dd6d6c55317b5ae8e0fcd66fc19f_4efa5e1d-ae22-4335-b657-c1bd90ce2dfa.webp?v=1714888256","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/937828525376fad4dd16cb0e7536cd92dc21618c_fec285a6-c7c2-489e-b05a-399a7046607e.webp?v=1714888258","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d6633afe25fe5b29f2b7cae82b6d83b703c6ec3_e254a62f-b297-4a63-9dcd-08e9422c2553.webp?v=1714888260","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bf241685e9a01d57b883c2ac43c719b5c933d11_b1cf8277-1cd7-4cd9-84c9-d6d35a6231ae.webp?v=1714888262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4856bd17543c3262877313af8f1e093485be8e6b_f3f3576e-0aac-468a-a05b-b2157f31e5c9.webp?v=1714888264"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2ba6889c29f675a7a3c0d0e1cfff7c175af212a_337d5405-ba91-4b8e-be79-4d1bc3589be2.webp?v=1714888245","options":["color"],"media":[{"alt":null,"id":23889618993251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2ba6889c29f675a7a3c0d0e1cfff7c175af212a_337d5405-ba91-4b8e-be79-4d1bc3589be2.webp?v=1714888245"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2ba6889c29f675a7a3c0d0e1cfff7c175af212a_337d5405-ba91-4b8e-be79-4d1bc3589be2.webp?v=1714888245","width":2000},{"alt":null,"id":23889619452003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e88cc42449da2f21dbac38fc58221b02c6c093_b6cfb5dc-3241-4422-bfc1-51e28dbbf58a.webp?v=1714888247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e88cc42449da2f21dbac38fc58221b02c6c093_b6cfb5dc-3241-4422-bfc1-51e28dbbf58a.webp?v=1714888247","width":2000},{"alt":null,"id":23889619845219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36fd2d8903ab4ef9127919cebc127a867bd07636_73408bdd-95e2-410a-9867-72846fcf614b.webp?v=1714888249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36fd2d8903ab4ef9127919cebc127a867bd07636_73408bdd-95e2-410a-9867-72846fcf614b.webp?v=1714888249","width":2000},{"alt":null,"id":23889620303971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7b5256fd8fde075c190d5becded7a429d3cb04a_76b348b3-3e50-481f-8a8d-5af6d8153277.webp?v=1714888251"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7b5256fd8fde075c190d5becded7a429d3cb04a_76b348b3-3e50-481f-8a8d-5af6d8153277.webp?v=1714888251","width":2000},{"alt":null,"id":23889622827107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25dfc19052907000f75aabebfb0c5183bd12229d_047f1d22-b6fe-4626-abdc-12afb8339c19.webp?v=1714888253"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25dfc19052907000f75aabebfb0c5183bd12229d_047f1d22-b6fe-4626-abdc-12afb8339c19.webp?v=1714888253","width":2000},{"alt":null,"id":23889623351395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189b9521ab14dd6d6c55317b5ae8e0fcd66fc19f_4efa5e1d-ae22-4335-b657-c1bd90ce2dfa.webp?v=1714888256"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189b9521ab14dd6d6c55317b5ae8e0fcd66fc19f_4efa5e1d-ae22-4335-b657-c1bd90ce2dfa.webp?v=1714888256","width":2000},{"alt":null,"id":23889623646307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/937828525376fad4dd16cb0e7536cd92dc21618c_fec285a6-c7c2-489e-b05a-399a7046607e.webp?v=1714888258"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/937828525376fad4dd16cb0e7536cd92dc21618c_fec285a6-c7c2-489e-b05a-399a7046607e.webp?v=1714888258","width":2000},{"alt":null,"id":23889624236131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d6633afe25fe5b29f2b7cae82b6d83b703c6ec3_e254a62f-b297-4a63-9dcd-08e9422c2553.webp?v=1714888260"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d6633afe25fe5b29f2b7cae82b6d83b703c6ec3_e254a62f-b297-4a63-9dcd-08e9422c2553.webp?v=1714888260","width":2000},{"alt":null,"id":23889624662115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bf241685e9a01d57b883c2ac43c719b5c933d11_b1cf8277-1cd7-4cd9-84c9-d6d35a6231ae.webp?v=1714888262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bf241685e9a01d57b883c2ac43c719b5c933d11_b1cf8277-1cd7-4cd9-84c9-d6d35a6231ae.webp?v=1714888262","width":2000},{"alt":null,"id":23889625186403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4856bd17543c3262877313af8f1e093485be8e6b_f3f3576e-0aac-468a-a05b-b2157f31e5c9.webp?v=1714888264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4856bd17543c3262877313af8f1e093485be8e6b_f3f3576e-0aac-468a-a05b-b2157f31e5c9.webp?v=1714888264","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41902712782947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31484331524195,"product_id":7413960409187,"position":10,"created_at":"2024-05-05T13:51:04+08:00","updated_at":"2024-05-05T13:51:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4856bd17543c3262877313af8f1e093485be8e6b_f3f3576e-0aac-468a-a05b-b2157f31e5c9.webp?v=1714888264","variant_ids":[41902712782947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23889625186403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4856bd17543c3262877313af8f1e093485be8e6b_f3f3576e-0aac-468a-a05b-b2157f31e5c9.webp?v=1714888264"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902712848483,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31484326183011,"product_id":7413960409187,"position":3,"created_at":"2024-05-05T13:50:49+08:00","updated_at":"2024-05-05T13:50:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36fd2d8903ab4ef9127919cebc127a867bd07636_73408bdd-95e2-410a-9867-72846fcf614b.webp?v=1714888249","variant_ids":[41902712848483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23889619845219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36fd2d8903ab4ef9127919cebc127a867bd07636_73408bdd-95e2-410a-9867-72846fcf614b.webp?v=1714888249"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902713077859,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31484329656419,"product_id":7413960409187,"position":6,"created_at":"2024-05-05T13:50:56+08:00","updated_at":"2024-05-05T13:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189b9521ab14dd6d6c55317b5ae8e0fcd66fc19f_4efa5e1d-ae22-4335-b657-c1bd90ce2dfa.webp?v=1714888256","variant_ids":[41902713077859]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23889623351395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189b9521ab14dd6d6c55317b5ae8e0fcd66fc19f_4efa5e1d-ae22-4335-b657-c1bd90ce2dfa.webp?v=1714888256"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41902712782947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31484331524195,"product_id":7413960409187,"position":10,"created_at":"2024-05-05T13:51:04+08:00","updated_at":"2024-05-05T13:51:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4856bd17543c3262877313af8f1e093485be8e6b_f3f3576e-0aac-468a-a05b-b2157f31e5c9.webp?v=1714888264","variant_ids":[41902712782947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - 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-PB57","featured_media":{"alt":null,"id":23889625186403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4856bd17543c3262877313af8f1e093485be8e6b_f3f3576e-0aac-468a-a05b-b2157f31e5c9.webp?v=1714888264"}},"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: "停產"
}