Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 來自空中的情書(明信片版)
$product = {"id":7411331399779,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 來自空中的情書(明信片版)","handle":"iphone-14-pro-mod-nx-magsafe-printable-ae06","description":null,"published_at":"2024-06-11T17:42:03+08:00","created_at":"2024-05-05T00:09:04+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX MagSafe 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 14 Pro","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":41897543106659,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480160583779,"product_id":7411331399779,"position":6,"created_at":"2024-05-05T00:09:19+08:00","updated_at":"2024-05-05T00:09:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18648c7387b17a8d5dfffcd4f963a562b0070dd3_4a2519e6-f0fd-40e6-b385-5dc042b2e449.webp?v=1714838959","variant_ids":[41897543106659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 來自空中的情書(明信片版) - 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-AE06","featured_media":{"alt":null,"id":23885411516515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18648c7387b17a8d5dfffcd4f963a562b0070dd3_4a2519e6-f0fd-40e6-b385-5dc042b2e449.webp?v=1714838959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897543172195,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480161173603,"product_id":7411331399779,"position":7,"created_at":"2024-05-05T00:09:21+08:00","updated_at":"2024-05-05T00:09:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536e5099f585420870bb0aaf8e8b5aee44deb1c5_2345988b-a988-48dc-9487-f5b9bae4d5e7.webp?v=1714838961","variant_ids":[41897543172195]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 來自空中的情書(明信片版) - 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-AE06","featured_media":{"alt":null,"id":23885412466787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536e5099f585420870bb0aaf8e8b5aee44deb1c5_2345988b-a988-48dc-9487-f5b9bae4d5e7.webp?v=1714838961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897543565411,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480160092259,"product_id":7411331399779,"position":5,"created_at":"2024-05-05T00:09:16+08:00","updated_at":"2024-05-05T00:09:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/969c0c82479ccf7d56bacf54d99c7ff5a7266d81_dee2abb9-2305-45d3-9a03-b935e38febc6.webp?v=1714838956","variant_ids":[41897543565411]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 來自空中的情書(明信片版) - 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-AE06","featured_media":{"alt":null,"id":23885410992227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/969c0c82479ccf7d56bacf54d99c7ff5a7266d81_dee2abb9-2305-45d3-9a03-b935e38febc6.webp?v=1714838956"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b966660e40d55f688e1f2435f121396e145f1f6e_cdd0f28c-8010-4215-bcde-737880ff3265.webp?v=1714838947","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0586edace6d78e57d68690ced9541d44af9123_d8686204-dec3-4467-b144-0d8797129ad9.webp?v=1714838949","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00cb5c0505262ad6d392b6df635d3cebd85fadfb_9114bb72-5f08-47cd-83d9-0c1a8421ac02.webp?v=1714838952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b023df52fc849bea2d354a59996f38c9f8decc4a_44bf1ab7-2dbf-4001-9d01-6bb386d9a074.webp?v=1714838954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/969c0c82479ccf7d56bacf54d99c7ff5a7266d81_dee2abb9-2305-45d3-9a03-b935e38febc6.webp?v=1714838956","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18648c7387b17a8d5dfffcd4f963a562b0070dd3_4a2519e6-f0fd-40e6-b385-5dc042b2e449.webp?v=1714838959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536e5099f585420870bb0aaf8e8b5aee44deb1c5_2345988b-a988-48dc-9487-f5b9bae4d5e7.webp?v=1714838961","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde679fe7841ed657307fe17415068aef0ff79e0_f500d7d6-fa70-4d76-b325-84bfc5eb843f.webp?v=1714838964","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00eb99d253c2c5b3d0310999841feaeb8cc4851f_f665490c-0b24-4469-8a0e-b13deb7c5a0e.webp?v=1714838966","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d615be4f1ac19fcf71ac025d1868d72e07f2a74f_b127f87c-6e68-4c18-a96d-6e6e124954fe.webp?v=1714838968"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b966660e40d55f688e1f2435f121396e145f1f6e_cdd0f28c-8010-4215-bcde-737880ff3265.webp?v=1714838947","options":["color"],"media":[{"alt":null,"id":23885408632931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b966660e40d55f688e1f2435f121396e145f1f6e_cdd0f28c-8010-4215-bcde-737880ff3265.webp?v=1714838947"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b966660e40d55f688e1f2435f121396e145f1f6e_cdd0f28c-8010-4215-bcde-737880ff3265.webp?v=1714838947","width":2000},{"alt":null,"id":23885409157219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0586edace6d78e57d68690ced9541d44af9123_d8686204-dec3-4467-b144-0d8797129ad9.webp?v=1714838949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0586edace6d78e57d68690ced9541d44af9123_d8686204-dec3-4467-b144-0d8797129ad9.webp?v=1714838949","width":2000},{"alt":null,"id":23885409550435,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00cb5c0505262ad6d392b6df635d3cebd85fadfb_9114bb72-5f08-47cd-83d9-0c1a8421ac02.webp?v=1714838952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00cb5c0505262ad6d392b6df635d3cebd85fadfb_9114bb72-5f08-47cd-83d9-0c1a8421ac02.webp?v=1714838952","width":2000},{"alt":null,"id":23885410205795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b023df52fc849bea2d354a59996f38c9f8decc4a_44bf1ab7-2dbf-4001-9d01-6bb386d9a074.webp?v=1714838954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b023df52fc849bea2d354a59996f38c9f8decc4a_44bf1ab7-2dbf-4001-9d01-6bb386d9a074.webp?v=1714838954","width":2000},{"alt":null,"id":23885410992227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/969c0c82479ccf7d56bacf54d99c7ff5a7266d81_dee2abb9-2305-45d3-9a03-b935e38febc6.webp?v=1714838956"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/969c0c82479ccf7d56bacf54d99c7ff5a7266d81_dee2abb9-2305-45d3-9a03-b935e38febc6.webp?v=1714838956","width":2000},{"alt":null,"id":23885411516515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18648c7387b17a8d5dfffcd4f963a562b0070dd3_4a2519e6-f0fd-40e6-b385-5dc042b2e449.webp?v=1714838959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18648c7387b17a8d5dfffcd4f963a562b0070dd3_4a2519e6-f0fd-40e6-b385-5dc042b2e449.webp?v=1714838959","width":2000},{"alt":null,"id":23885412466787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536e5099f585420870bb0aaf8e8b5aee44deb1c5_2345988b-a988-48dc-9487-f5b9bae4d5e7.webp?v=1714838961"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536e5099f585420870bb0aaf8e8b5aee44deb1c5_2345988b-a988-48dc-9487-f5b9bae4d5e7.webp?v=1714838961","width":2000},{"alt":null,"id":23885413056611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde679fe7841ed657307fe17415068aef0ff79e0_f500d7d6-fa70-4d76-b325-84bfc5eb843f.webp?v=1714838964"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde679fe7841ed657307fe17415068aef0ff79e0_f500d7d6-fa70-4d76-b325-84bfc5eb843f.webp?v=1714838964","width":2000},{"alt":null,"id":23885413580899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00eb99d253c2c5b3d0310999841feaeb8cc4851f_f665490c-0b24-4469-8a0e-b13deb7c5a0e.webp?v=1714838966"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00eb99d253c2c5b3d0310999841feaeb8cc4851f_f665490c-0b24-4469-8a0e-b13deb7c5a0e.webp?v=1714838966","width":2000},{"alt":null,"id":23885414039651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d615be4f1ac19fcf71ac025d1868d72e07f2a74f_b127f87c-6e68-4c18-a96d-6e6e124954fe.webp?v=1714838968"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d615be4f1ac19fcf71ac025d1868d72e07f2a74f_b127f87c-6e68-4c18-a96d-6e6e124954fe.webp?v=1714838968","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41897543106659,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480160583779,"product_id":7411331399779,"position":6,"created_at":"2024-05-05T00:09:19+08:00","updated_at":"2024-05-05T00:09:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18648c7387b17a8d5dfffcd4f963a562b0070dd3_4a2519e6-f0fd-40e6-b385-5dc042b2e449.webp?v=1714838959","variant_ids":[41897543106659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 來自空中的情書(明信片版) - 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-AE06","featured_media":{"alt":null,"id":23885411516515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18648c7387b17a8d5dfffcd4f963a562b0070dd3_4a2519e6-f0fd-40e6-b385-5dc042b2e449.webp?v=1714838959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897543172195,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480161173603,"product_id":7411331399779,"position":7,"created_at":"2024-05-05T00:09:21+08:00","updated_at":"2024-05-05T00:09:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536e5099f585420870bb0aaf8e8b5aee44deb1c5_2345988b-a988-48dc-9487-f5b9bae4d5e7.webp?v=1714838961","variant_ids":[41897543172195]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 來自空中的情書(明信片版) - 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-AE06","featured_media":{"alt":null,"id":23885412466787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536e5099f585420870bb0aaf8e8b5aee44deb1c5_2345988b-a988-48dc-9487-f5b9bae4d5e7.webp?v=1714838961"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897543565411,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480160092259,"product_id":7411331399779,"position":5,"created_at":"2024-05-05T00:09:16+08:00","updated_at":"2024-05-05T00:09:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/969c0c82479ccf7d56bacf54d99c7ff5a7266d81_dee2abb9-2305-45d3-9a03-b935e38febc6.webp?v=1714838956","variant_ids":[41897543565411]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 來自空中的情書(明信片版) - 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-AE06","featured_media":{"alt":null,"id":23885410992227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/969c0c82479ccf7d56bacf54d99c7ff5a7266d81_dee2abb9-2305-45d3-9a03-b935e38febc6.webp?v=1714838956"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41897543106659,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480160583779,"product_id":7411331399779,"position":6,"created_at":"2024-05-05T00:09:19+08:00","updated_at":"2024-05-05T00:09:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18648c7387b17a8d5dfffcd4f963a562b0070dd3_4a2519e6-f0fd-40e6-b385-5dc042b2e449.webp?v=1714838959","variant_ids":[41897543106659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 來自空中的情書(明信片版) - 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-AE06","featured_media":{"alt":null,"id":23885411516515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18648c7387b17a8d5dfffcd4f963a562b0070dd3_4a2519e6-f0fd-40e6-b385-5dc042b2e449.webp?v=1714838959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}