Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 冰淇淋甜筒
$product = {"id":7369219899491,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 冰淇淋甜筒","handle":"iphone-14-pro-mod-nx-magsafe-printable-pl59","description":null,"published_at":"2024-06-11T17:31:42+08:00","created_at":"2024-04-23T15:46:53+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-snoopy","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":41793736835171,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387098480739,"product_id":7369219899491,"position":2,"created_at":"2024-04-23T15:46:58+08:00","updated_at":"2024-04-23T15:46:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe48f4491069d971eadcd0acb89f77e3e38b3db2_0d05f068-8f19-4a1d-abcc-8b7eb73152c0.webp?v=1713858418","variant_ids":[41793736835171]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 冰淇淋甜筒 - 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":"MPB0126224-PL59","featured_media":{"alt":null,"id":23789337182307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe48f4491069d971eadcd0acb89f77e3e38b3db2_0d05f068-8f19-4a1d-abcc-8b7eb73152c0.webp?v=1713858418"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793736900707,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387098906723,"product_id":7369219899491,"position":3,"created_at":"2024-04-23T15:47:00+08:00","updated_at":"2024-04-23T15:47:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9a2bc3bb730cc7570cf8b152886ef7ac7bb84e_9adc39ba-e6a8-4418-a89f-3a1eb69c0066.webp?v=1713858420","variant_ids":[41793736900707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 冰淇淋甜筒 - 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":"MPB0126204-PL59","featured_media":{"alt":null,"id":23789337673827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9a2bc3bb730cc7570cf8b152886ef7ac7bb84e_9adc39ba-e6a8-4418-a89f-3a1eb69c0066.webp?v=1713858420"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793737130083,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387100184675,"product_id":7369219899491,"position":5,"created_at":"2024-04-23T15:47:04+08:00","updated_at":"2024-04-23T15:47:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771ce1be7b0c3d9a427cff7966aa0c1badfd8632_1740ff7c-9d7f-4714-97e8-c79b182f93ba.webp?v=1713858424","variant_ids":[41793737130083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 冰淇淋甜筒 - 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":"MPB01262J5-PL59","featured_media":{"alt":null,"id":23789338951779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771ce1be7b0c3d9a427cff7966aa0c1badfd8632_1740ff7c-9d7f-4714-97e8-c79b182f93ba.webp?v=1713858424"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ce73db6f2e6a6eaa3994dd51927f77bc340810_0caae9a9-f725-47ba-aafd-0059f751f880.webp?v=1713858415","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe48f4491069d971eadcd0acb89f77e3e38b3db2_0d05f068-8f19-4a1d-abcc-8b7eb73152c0.webp?v=1713858418","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9a2bc3bb730cc7570cf8b152886ef7ac7bb84e_9adc39ba-e6a8-4418-a89f-3a1eb69c0066.webp?v=1713858420","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c82b46813e7d16ada911cbc2b290e9f6b1b3baf9_ec02493c-4b8e-4fb7-a2a1-612e651481fe.webp?v=1713858422","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771ce1be7b0c3d9a427cff7966aa0c1badfd8632_1740ff7c-9d7f-4714-97e8-c79b182f93ba.webp?v=1713858424","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54eb43fb69f9995b23cd66ee7a71e83393bd7bd4_b12b05d9-7b09-49f4-9ecb-13792e8a800f.webp?v=1713858426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09cd8e27dc626c6a822cc02233e90658e966616b_ceaff8fd-abf8-45d3-864d-c30bd0da826d.webp?v=1713858429","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/401d7a061e66814f3ae8f9bd4853e37b8ff695a5_039d5267-3c85-4a97-886a-8f7282fc882e.webp?v=1713858432","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/197f7137ef1abe506687ae198b65cff16ed529d8_2e6fb064-1645-4858-8ae1-044d7f1fba1a.webp?v=1713858434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/332fe81f1c0dd2138a63c3f47804a382e8c500f5_0c8428cc-3151-4432-aba5-b4d58f187fad.webp?v=1713858437"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ce73db6f2e6a6eaa3994dd51927f77bc340810_0caae9a9-f725-47ba-aafd-0059f751f880.webp?v=1713858415","options":["color"],"media":[{"alt":null,"id":23789336625251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ce73db6f2e6a6eaa3994dd51927f77bc340810_0caae9a9-f725-47ba-aafd-0059f751f880.webp?v=1713858415"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ce73db6f2e6a6eaa3994dd51927f77bc340810_0caae9a9-f725-47ba-aafd-0059f751f880.webp?v=1713858415","width":2000},{"alt":null,"id":23789337182307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe48f4491069d971eadcd0acb89f77e3e38b3db2_0d05f068-8f19-4a1d-abcc-8b7eb73152c0.webp?v=1713858418"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe48f4491069d971eadcd0acb89f77e3e38b3db2_0d05f068-8f19-4a1d-abcc-8b7eb73152c0.webp?v=1713858418","width":2000},{"alt":null,"id":23789337673827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9a2bc3bb730cc7570cf8b152886ef7ac7bb84e_9adc39ba-e6a8-4418-a89f-3a1eb69c0066.webp?v=1713858420"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9a2bc3bb730cc7570cf8b152886ef7ac7bb84e_9adc39ba-e6a8-4418-a89f-3a1eb69c0066.webp?v=1713858420","width":2000},{"alt":null,"id":23789338394723,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c82b46813e7d16ada911cbc2b290e9f6b1b3baf9_ec02493c-4b8e-4fb7-a2a1-612e651481fe.webp?v=1713858422"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c82b46813e7d16ada911cbc2b290e9f6b1b3baf9_ec02493c-4b8e-4fb7-a2a1-612e651481fe.webp?v=1713858422","width":2000},{"alt":null,"id":23789338951779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771ce1be7b0c3d9a427cff7966aa0c1badfd8632_1740ff7c-9d7f-4714-97e8-c79b182f93ba.webp?v=1713858424"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771ce1be7b0c3d9a427cff7966aa0c1badfd8632_1740ff7c-9d7f-4714-97e8-c79b182f93ba.webp?v=1713858424","width":2000},{"alt":null,"id":23789339607139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54eb43fb69f9995b23cd66ee7a71e83393bd7bd4_b12b05d9-7b09-49f4-9ecb-13792e8a800f.webp?v=1713858426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54eb43fb69f9995b23cd66ee7a71e83393bd7bd4_b12b05d9-7b09-49f4-9ecb-13792e8a800f.webp?v=1713858426","width":2000},{"alt":null,"id":23789340065891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09cd8e27dc626c6a822cc02233e90658e966616b_ceaff8fd-abf8-45d3-864d-c30bd0da826d.webp?v=1713858429"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09cd8e27dc626c6a822cc02233e90658e966616b_ceaff8fd-abf8-45d3-864d-c30bd0da826d.webp?v=1713858429","width":2000},{"alt":null,"id":23789340754019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/401d7a061e66814f3ae8f9bd4853e37b8ff695a5_039d5267-3c85-4a97-886a-8f7282fc882e.webp?v=1713858432"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/401d7a061e66814f3ae8f9bd4853e37b8ff695a5_039d5267-3c85-4a97-886a-8f7282fc882e.webp?v=1713858432","width":2000},{"alt":null,"id":23789341442147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/197f7137ef1abe506687ae198b65cff16ed529d8_2e6fb064-1645-4858-8ae1-044d7f1fba1a.webp?v=1713858434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/197f7137ef1abe506687ae198b65cff16ed529d8_2e6fb064-1645-4858-8ae1-044d7f1fba1a.webp?v=1713858434","width":2000},{"alt":null,"id":23789341999203,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/332fe81f1c0dd2138a63c3f47804a382e8c500f5_0c8428cc-3151-4432-aba5-b4d58f187fad.webp?v=1713858437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/332fe81f1c0dd2138a63c3f47804a382e8c500f5_0c8428cc-3151-4432-aba5-b4d58f187fad.webp?v=1713858437","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41793736835171,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387098480739,"product_id":7369219899491,"position":2,"created_at":"2024-04-23T15:46:58+08:00","updated_at":"2024-04-23T15:46:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe48f4491069d971eadcd0acb89f77e3e38b3db2_0d05f068-8f19-4a1d-abcc-8b7eb73152c0.webp?v=1713858418","variant_ids":[41793736835171]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 冰淇淋甜筒 - 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":"MPB0126224-PL59","featured_media":{"alt":null,"id":23789337182307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe48f4491069d971eadcd0acb89f77e3e38b3db2_0d05f068-8f19-4a1d-abcc-8b7eb73152c0.webp?v=1713858418"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793736900707,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387098906723,"product_id":7369219899491,"position":3,"created_at":"2024-04-23T15:47:00+08:00","updated_at":"2024-04-23T15:47:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9a2bc3bb730cc7570cf8b152886ef7ac7bb84e_9adc39ba-e6a8-4418-a89f-3a1eb69c0066.webp?v=1713858420","variant_ids":[41793736900707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 冰淇淋甜筒 - 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":"MPB0126204-PL59","featured_media":{"alt":null,"id":23789337673827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc9a2bc3bb730cc7570cf8b152886ef7ac7bb84e_9adc39ba-e6a8-4418-a89f-3a1eb69c0066.webp?v=1713858420"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793737130083,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387100184675,"product_id":7369219899491,"position":5,"created_at":"2024-04-23T15:47:04+08:00","updated_at":"2024-04-23T15:47:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771ce1be7b0c3d9a427cff7966aa0c1badfd8632_1740ff7c-9d7f-4714-97e8-c79b182f93ba.webp?v=1713858424","variant_ids":[41793737130083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 冰淇淋甜筒 - 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":"MPB01262J5-PL59","featured_media":{"alt":null,"id":23789338951779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771ce1be7b0c3d9a427cff7966aa0c1badfd8632_1740ff7c-9d7f-4714-97e8-c79b182f93ba.webp?v=1713858424"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41793736835171,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387098480739,"product_id":7369219899491,"position":2,"created_at":"2024-04-23T15:46:58+08:00","updated_at":"2024-04-23T15:46:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe48f4491069d971eadcd0acb89f77e3e38b3db2_0d05f068-8f19-4a1d-abcc-8b7eb73152c0.webp?v=1713858418","variant_ids":[41793736835171]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 冰淇淋甜筒 - 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":"MPB0126224-PL59","featured_media":{"alt":null,"id":23789337182307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe48f4491069d971eadcd0acb89f77e3e38b3db2_0d05f068-8f19-4a1d-abcc-8b7eb73152c0.webp?v=1713858418"}},"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: "停產"
}