$product = {"id":7920319627363,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto","handle":"iphone-14-pro-mod-nx-magsafe-ltc03","description":null,"published_at":"2025-11-11T09:32:29+08:00","created_at":"2025-11-10T10:58:54+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlecattos","device-iPhone 14 Pro","merge","reseller-littlecattos"],"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":43828189331555,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780603842659,"product_id":7920319627363,"position":11,"created_at":"2025-11-10T10:59:03+08:00","updated_at":"2025-11-10T10:59:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f0db4f4cb5e369e4f4948fc279ef2fc0fd38931.webp?v=1762743544","variant_ids":[43828189331555]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-LTC03","featured_media":{"alt":null,"id":26346740121699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f0db4f4cb5e369e4f4948fc279ef2fc0fd38931.webp?v=1762743544"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828189364323,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780603318371,"product_id":7920319627363,"position":7,"created_at":"2025-11-10T10:59:00+08:00","updated_at":"2025-11-10T10:59:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61898c45bad3d9997a5a97ddd57d720c0de88675.webp?v=1762743542","variant_ids":[43828189364323]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-LTC03","featured_media":{"alt":null,"id":26346739597411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61898c45bad3d9997a5a97ddd57d720c0de88675.webp?v=1762743542"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828189593699,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780602171491,"product_id":7920319627363,"position":1,"created_at":"2025-11-10T10:58:56+08:00","updated_at":"2025-11-10T10:58:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb51956a8aba84eb7ce769fcd42aaaa6f6f4239.webp?v=1762743538","variant_ids":[43828189593699]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-LTC03","featured_media":{"alt":null,"id":26346738450531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb51956a8aba84eb7ce769fcd42aaaa6f6f4239.webp?v=1762743538"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb51956a8aba84eb7ce769fcd42aaaa6f6f4239.webp?v=1762743538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/786e352a671569ab99e77e829ab02a7942774aa8.webp?v=1762743538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe23e239a3640b59e299c5ac8b33d9b7fed00cb0.webp?v=1762743539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92421937dd1570876a48e2459cde529cf8f5e72b.webp?v=1762743539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f5bbc0b891c6acad5dae742d65dc2d39f8a3adf.webp?v=1762743540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cd2f2f15e7bbf7f1ff301e4bc262cc76da97b76.webp?v=1762743542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61898c45bad3d9997a5a97ddd57d720c0de88675.webp?v=1762743542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a16d8bc9cd09a64fe1eeac5318187e5afd32fd63.webp?v=1762743543","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee0387784332a92db5b1530d962356747a84853.webp?v=1762743543","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dca1e0e609c6c2cf61c770ed88d03fc5a43743a.webp?v=1762743544","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f0db4f4cb5e369e4f4948fc279ef2fc0fd38931.webp?v=1762743544","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53a8b48fc7d010c1b13899e9a6a713beb9e25fcc.webp?v=1762743545"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb51956a8aba84eb7ce769fcd42aaaa6f6f4239.webp?v=1762743538","options":["color"],"media":[{"alt":null,"id":26346738450531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb51956a8aba84eb7ce769fcd42aaaa6f6f4239.webp?v=1762743538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb51956a8aba84eb7ce769fcd42aaaa6f6f4239.webp?v=1762743538","width":2000},{"alt":null,"id":26346738712675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/786e352a671569ab99e77e829ab02a7942774aa8.webp?v=1762743538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/786e352a671569ab99e77e829ab02a7942774aa8.webp?v=1762743538","width":2000},{"alt":null,"id":26346739040355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe23e239a3640b59e299c5ac8b33d9b7fed00cb0.webp?v=1762743539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe23e239a3640b59e299c5ac8b33d9b7fed00cb0.webp?v=1762743539","width":2000},{"alt":null,"id":26346739269731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92421937dd1570876a48e2459cde529cf8f5e72b.webp?v=1762743539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92421937dd1570876a48e2459cde529cf8f5e72b.webp?v=1762743539","width":2000},{"alt":null,"id":26346739400803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f5bbc0b891c6acad5dae742d65dc2d39f8a3adf.webp?v=1762743540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f5bbc0b891c6acad5dae742d65dc2d39f8a3adf.webp?v=1762743540","width":2000},{"alt":null,"id":26346739466339,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cd2f2f15e7bbf7f1ff301e4bc262cc76da97b76.webp?v=1762743542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cd2f2f15e7bbf7f1ff301e4bc262cc76da97b76.webp?v=1762743542","width":2000},{"alt":null,"id":26346739597411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61898c45bad3d9997a5a97ddd57d720c0de88675.webp?v=1762743542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61898c45bad3d9997a5a97ddd57d720c0de88675.webp?v=1762743542","width":2000},{"alt":null,"id":26346739662947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a16d8bc9cd09a64fe1eeac5318187e5afd32fd63.webp?v=1762743543"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a16d8bc9cd09a64fe1eeac5318187e5afd32fd63.webp?v=1762743543","width":2000},{"alt":null,"id":26346739761251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee0387784332a92db5b1530d962356747a84853.webp?v=1762743543"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ee0387784332a92db5b1530d962356747a84853.webp?v=1762743543","width":2000},{"alt":null,"id":26346739957859,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dca1e0e609c6c2cf61c770ed88d03fc5a43743a.webp?v=1762743544"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dca1e0e609c6c2cf61c770ed88d03fc5a43743a.webp?v=1762743544","width":2000},{"alt":null,"id":26346740121699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f0db4f4cb5e369e4f4948fc279ef2fc0fd38931.webp?v=1762743544"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f0db4f4cb5e369e4f4948fc279ef2fc0fd38931.webp?v=1762743544","width":2000},{"alt":null,"id":26346740416611,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53a8b48fc7d010c1b13899e9a6a713beb9e25fcc.webp?v=1762743545"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53a8b48fc7d010c1b13899e9a6a713beb9e25fcc.webp?v=1762743545","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43828189331555,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780603842659,"product_id":7920319627363,"position":11,"created_at":"2025-11-10T10:59:03+08:00","updated_at":"2025-11-10T10:59:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f0db4f4cb5e369e4f4948fc279ef2fc0fd38931.webp?v=1762743544","variant_ids":[43828189331555]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-LTC03","featured_media":{"alt":null,"id":26346740121699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f0db4f4cb5e369e4f4948fc279ef2fc0fd38931.webp?v=1762743544"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828189364323,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780603318371,"product_id":7920319627363,"position":7,"created_at":"2025-11-10T10:59:00+08:00","updated_at":"2025-11-10T10:59:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61898c45bad3d9997a5a97ddd57d720c0de88675.webp?v=1762743542","variant_ids":[43828189364323]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-LTC03","featured_media":{"alt":null,"id":26346739597411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61898c45bad3d9997a5a97ddd57d720c0de88675.webp?v=1762743542"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828189593699,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780602171491,"product_id":7920319627363,"position":1,"created_at":"2025-11-10T10:58:56+08:00","updated_at":"2025-11-10T10:58:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb51956a8aba84eb7ce769fcd42aaaa6f6f4239.webp?v=1762743538","variant_ids":[43828189593699]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-LTC03","featured_media":{"alt":null,"id":26346738450531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb51956a8aba84eb7ce769fcd42aaaa6f6f4239.webp?v=1762743538"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43828189331555,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780603842659,"product_id":7920319627363,"position":11,"created_at":"2025-11-10T10:59:03+08:00","updated_at":"2025-11-10T10:59:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f0db4f4cb5e369e4f4948fc279ef2fc0fd38931.webp?v=1762743544","variant_ids":[43828189331555]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-LTC03","featured_media":{"alt":null,"id":26346740121699,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f0db4f4cb5e369e4f4948fc279ef2fc0fd38931.webp?v=1762743544"}},"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: "停產"
}