Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 可愛大王喜樂無常
$product = {"id":7411224445027,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 可愛大王喜樂無常","handle":"iphone-14-pro-mod-nx-magsafe-printable-eo03","description":null,"published_at":"2024-06-11T17:39:14+08:00","created_at":"2024-05-04T23:48:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-weiweiboy","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":41896210301027,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31479890182243,"product_id":7411224445027,"position":1,"created_at":"2024-05-04T23:48:41+08:00","updated_at":"2024-05-04T23:48:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721","variant_ids":[41896210301027]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 可愛大王喜樂無常 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-EO03","featured_media":{"alt":null,"id":23885140623459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896210432099,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31479891099747,"product_id":7411224445027,"position":3,"created_at":"2024-05-04T23:48:45+08:00","updated_at":"2024-05-04T23:48:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6e008a6896e62ce387dc633350eead52691751_c61d37af-956f-4bbc-a59c-e336fb37c3e2.webp?v=1714837725","variant_ids":[41896210432099]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 可愛大王喜樂無常 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-EO03","featured_media":{"alt":null,"id":23885141508195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6e008a6896e62ce387dc633350eead52691751_c61d37af-956f-4bbc-a59c-e336fb37c3e2.webp?v=1714837725"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896210890851,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31479891492963,"product_id":7411224445027,"position":4,"created_at":"2024-05-04T23:48:48+08:00","updated_at":"2024-05-04T23:48:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f354a71aafc64c3b2761e6b7cba23a50f4db8a_78325cfd-ba3c-4ba7-9a8d-e2c3d351d65b.webp?v=1714837728","variant_ids":[41896210890851]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 可愛大王喜樂無常 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-EO03","featured_media":{"alt":null,"id":23885141868643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f354a71aafc64c3b2761e6b7cba23a50f4db8a_78325cfd-ba3c-4ba7-9a8d-e2c3d351d65b.webp?v=1714837728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d546f26bcaa04a5e837c5ae34d1f6f5e879c67_016e9904-35d7-4d38-9aa1-885420937e1e.webp?v=1714837723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6e008a6896e62ce387dc633350eead52691751_c61d37af-956f-4bbc-a59c-e336fb37c3e2.webp?v=1714837725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f354a71aafc64c3b2761e6b7cba23a50f4db8a_78325cfd-ba3c-4ba7-9a8d-e2c3d351d65b.webp?v=1714837728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42b412168c72341ce24f0245b603ad93493b6504_fde24aff-5ed6-488a-94a6-92b362876079.webp?v=1714837730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7dd53f5ac3ec69b96b65d94a82a94af7784a422c_f7fd43d1-46cb-4c89-af63-9c72ebd3f794.webp?v=1714837732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/053c3a7f25d4d714fd8b7acf2ce4ae6e8a083b9d_de169bfb-3c71-4bc9-b997-e0d7667da767.webp?v=1714837734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f646acb4bb56f0f9e6002582ee6110b1b91af0_b9ebcb2d-0bf6-48a6-9870-111af208ea4b.webp?v=1714837737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec74938c7d2023f6c2471a91d0f04d510cab01de_96675b8f-75a9-4ac6-b450-f2dea9696a25.webp?v=1714837739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c68cac29b06eb82d28fd635b14ea89b7fe1fdd3_7bea8497-38f5-432f-8b63-f7b404910b60.webp?v=1714837741"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721","options":["color"],"media":[{"alt":null,"id":23885140623459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721","width":2000},{"alt":null,"id":23885141016675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d546f26bcaa04a5e837c5ae34d1f6f5e879c67_016e9904-35d7-4d38-9aa1-885420937e1e.webp?v=1714837723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d546f26bcaa04a5e837c5ae34d1f6f5e879c67_016e9904-35d7-4d38-9aa1-885420937e1e.webp?v=1714837723","width":2000},{"alt":null,"id":23885141508195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6e008a6896e62ce387dc633350eead52691751_c61d37af-956f-4bbc-a59c-e336fb37c3e2.webp?v=1714837725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6e008a6896e62ce387dc633350eead52691751_c61d37af-956f-4bbc-a59c-e336fb37c3e2.webp?v=1714837725","width":2000},{"alt":null,"id":23885141868643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f354a71aafc64c3b2761e6b7cba23a50f4db8a_78325cfd-ba3c-4ba7-9a8d-e2c3d351d65b.webp?v=1714837728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f354a71aafc64c3b2761e6b7cba23a50f4db8a_78325cfd-ba3c-4ba7-9a8d-e2c3d351d65b.webp?v=1714837728","width":2000},{"alt":null,"id":23885142392931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42b412168c72341ce24f0245b603ad93493b6504_fde24aff-5ed6-488a-94a6-92b362876079.webp?v=1714837730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42b412168c72341ce24f0245b603ad93493b6504_fde24aff-5ed6-488a-94a6-92b362876079.webp?v=1714837730","width":2000},{"alt":null,"id":23885142818915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7dd53f5ac3ec69b96b65d94a82a94af7784a422c_f7fd43d1-46cb-4c89-af63-9c72ebd3f794.webp?v=1714837732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7dd53f5ac3ec69b96b65d94a82a94af7784a422c_f7fd43d1-46cb-4c89-af63-9c72ebd3f794.webp?v=1714837732","width":2000},{"alt":null,"id":23885143310435,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/053c3a7f25d4d714fd8b7acf2ce4ae6e8a083b9d_de169bfb-3c71-4bc9-b997-e0d7667da767.webp?v=1714837734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/053c3a7f25d4d714fd8b7acf2ce4ae6e8a083b9d_de169bfb-3c71-4bc9-b997-e0d7667da767.webp?v=1714837734","width":2000},{"alt":null,"id":23885143933027,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f646acb4bb56f0f9e6002582ee6110b1b91af0_b9ebcb2d-0bf6-48a6-9870-111af208ea4b.webp?v=1714837737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57f646acb4bb56f0f9e6002582ee6110b1b91af0_b9ebcb2d-0bf6-48a6-9870-111af208ea4b.webp?v=1714837737","width":2000},{"alt":null,"id":23885144359011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec74938c7d2023f6c2471a91d0f04d510cab01de_96675b8f-75a9-4ac6-b450-f2dea9696a25.webp?v=1714837739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec74938c7d2023f6c2471a91d0f04d510cab01de_96675b8f-75a9-4ac6-b450-f2dea9696a25.webp?v=1714837739","width":2000},{"alt":null,"id":23885144948835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c68cac29b06eb82d28fd635b14ea89b7fe1fdd3_7bea8497-38f5-432f-8b63-f7b404910b60.webp?v=1714837741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c68cac29b06eb82d28fd635b14ea89b7fe1fdd3_7bea8497-38f5-432f-8b63-f7b404910b60.webp?v=1714837741","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896210301027,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31479890182243,"product_id":7411224445027,"position":1,"created_at":"2024-05-04T23:48:41+08:00","updated_at":"2024-05-04T23:48:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721","variant_ids":[41896210301027]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 可愛大王喜樂無常 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-EO03","featured_media":{"alt":null,"id":23885140623459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896210432099,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31479891099747,"product_id":7411224445027,"position":3,"created_at":"2024-05-04T23:48:45+08:00","updated_at":"2024-05-04T23:48:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6e008a6896e62ce387dc633350eead52691751_c61d37af-956f-4bbc-a59c-e336fb37c3e2.webp?v=1714837725","variant_ids":[41896210432099]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 可愛大王喜樂無常 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-EO03","featured_media":{"alt":null,"id":23885141508195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e6e008a6896e62ce387dc633350eead52691751_c61d37af-956f-4bbc-a59c-e336fb37c3e2.webp?v=1714837725"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896210890851,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31479891492963,"product_id":7411224445027,"position":4,"created_at":"2024-05-04T23:48:48+08:00","updated_at":"2024-05-04T23:48:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f354a71aafc64c3b2761e6b7cba23a50f4db8a_78325cfd-ba3c-4ba7-9a8d-e2c3d351d65b.webp?v=1714837728","variant_ids":[41896210890851]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 可愛大王喜樂無常 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-EO03","featured_media":{"alt":null,"id":23885141868643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8f354a71aafc64c3b2761e6b7cba23a50f4db8a_78325cfd-ba3c-4ba7-9a8d-e2c3d351d65b.webp?v=1714837728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896210301027,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-EO03","requires_shipping":true,"taxable":true,"featured_image":{"id":31479890182243,"product_id":7411224445027,"position":1,"created_at":"2024-05-04T23:48:41+08:00","updated_at":"2024-05-04T23:48:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721","variant_ids":[41896210301027]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Weiweiboy - 可愛大王喜樂無常 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-EO03","featured_media":{"alt":null,"id":23885140623459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a301d2f19eff075f768ad27fb2597ef018391f93_c822665a-f4bc-4170-9379-a8ea2a1d06d3.webp?v=1714837721"}},"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: "停產"
}