$product = {"id":7892162609251,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊車車","handle":"iphone-14-pro-mod-nx-magsafe-printable-fw58","description":null,"published_at":"2025-10-01T12:10:31+08:00","created_at":"2025-10-01T09:44:30+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-xiuxiubear","device-iPhone 14 Pro","merge","reseller-xiuxiubear"],"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":43754719412323,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-FW58","requires_shipping":true,"taxable":true,"featured_image":{"id":34541011370083,"product_id":7892162609251,"position":1,"created_at":"2025-10-01T09:44:34+08:00","updated_at":"2025-10-01T09:44:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076","variant_ids":[43754719412323]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊車車 - 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-FW58","featured_media":{"alt":null,"id":26110778507363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754719576163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-FW58","requires_shipping":true,"taxable":true,"featured_image":{"id":34541012025443,"product_id":7892162609251,"position":3,"created_at":"2025-10-01T09:44:36+08:00","updated_at":"2025-10-01T09:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f087eacbf922a89b46b0dae6c91964fbc5d7ee54.webp?v=1759283078","variant_ids":[43754719576163]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊車車 - 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-FW58","featured_media":{"alt":null,"id":26110779162723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f087eacbf922a89b46b0dae6c91964fbc5d7ee54.webp?v=1759283078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754719641699,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-FW58","requires_shipping":true,"taxable":true,"featured_image":{"id":34541012385891,"product_id":7892162609251,"position":6,"created_at":"2025-10-01T09:44:38+08:00","updated_at":"2025-10-01T09:44:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/866c44792d44c2b674557e9612fe042bd4240768.webp?v=1759283080","variant_ids":[43754719641699]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊車車 - 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-FW58","featured_media":{"alt":null,"id":26110779523171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/866c44792d44c2b674557e9612fe042bd4240768.webp?v=1759283080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dcc9d9ee92bec6dcaad7228f14af5e7da63f9c4.webp?v=1759283078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f087eacbf922a89b46b0dae6c91964fbc5d7ee54.webp?v=1759283078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fd91d8bd516032598f9f50fbe819302853e740a.webp?v=1759283078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da34c965776c27e87aa9bd70ce591fe089f56c81.webp?v=1759283079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/866c44792d44c2b674557e9612fe042bd4240768.webp?v=1759283080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9ecd33ae8d90925328dbb2234b17de002e51b0d.webp?v=1759283080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23c95b278c58c286ffa37de80125538083f8203c.webp?v=1759283081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d32a00f9864b9edfde05f6bf41d1403f8613ca4.webp?v=1759283081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/876651c04278a1d85473a0e48bfa6c0541ca6f1b.webp?v=1759283082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9fcb048a0e586e739794dfb6d0f6ab7d2e337e5.webp?v=1759283082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2fb19c9e5eb31b95a83ca1d7d693eda970b7dfb.webp?v=1759283083"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076","options":["color"],"media":[{"alt":null,"id":26110778507363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076","width":2000},{"alt":null,"id":26110778998883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dcc9d9ee92bec6dcaad7228f14af5e7da63f9c4.webp?v=1759283078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dcc9d9ee92bec6dcaad7228f14af5e7da63f9c4.webp?v=1759283078","width":2000},{"alt":null,"id":26110779162723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f087eacbf922a89b46b0dae6c91964fbc5d7ee54.webp?v=1759283078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f087eacbf922a89b46b0dae6c91964fbc5d7ee54.webp?v=1759283078","width":2000},{"alt":null,"id":26110779228259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fd91d8bd516032598f9f50fbe819302853e740a.webp?v=1759283078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fd91d8bd516032598f9f50fbe819302853e740a.webp?v=1759283078","width":2000},{"alt":null,"id":26110779424867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da34c965776c27e87aa9bd70ce591fe089f56c81.webp?v=1759283079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da34c965776c27e87aa9bd70ce591fe089f56c81.webp?v=1759283079","width":2000},{"alt":null,"id":26110779523171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/866c44792d44c2b674557e9612fe042bd4240768.webp?v=1759283080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/866c44792d44c2b674557e9612fe042bd4240768.webp?v=1759283080","width":2000},{"alt":null,"id":26110779752547,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9ecd33ae8d90925328dbb2234b17de002e51b0d.webp?v=1759283080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9ecd33ae8d90925328dbb2234b17de002e51b0d.webp?v=1759283080","width":2000},{"alt":null,"id":26110779850851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23c95b278c58c286ffa37de80125538083f8203c.webp?v=1759283081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23c95b278c58c286ffa37de80125538083f8203c.webp?v=1759283081","width":2000},{"alt":null,"id":26110780014691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d32a00f9864b9edfde05f6bf41d1403f8613ca4.webp?v=1759283081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d32a00f9864b9edfde05f6bf41d1403f8613ca4.webp?v=1759283081","width":2000},{"alt":null,"id":26110780112995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/876651c04278a1d85473a0e48bfa6c0541ca6f1b.webp?v=1759283082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/876651c04278a1d85473a0e48bfa6c0541ca6f1b.webp?v=1759283082","width":2000},{"alt":null,"id":26110780211299,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9fcb048a0e586e739794dfb6d0f6ab7d2e337e5.webp?v=1759283082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9fcb048a0e586e739794dfb6d0f6ab7d2e337e5.webp?v=1759283082","width":2000},{"alt":null,"id":26110780309603,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2fb19c9e5eb31b95a83ca1d7d693eda970b7dfb.webp?v=1759283083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2fb19c9e5eb31b95a83ca1d7d693eda970b7dfb.webp?v=1759283083","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43754719412323,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-FW58","requires_shipping":true,"taxable":true,"featured_image":{"id":34541011370083,"product_id":7892162609251,"position":1,"created_at":"2025-10-01T09:44:34+08:00","updated_at":"2025-10-01T09:44:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076","variant_ids":[43754719412323]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊車車 - 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-FW58","featured_media":{"alt":null,"id":26110778507363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754719576163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-FW58","requires_shipping":true,"taxable":true,"featured_image":{"id":34541012025443,"product_id":7892162609251,"position":3,"created_at":"2025-10-01T09:44:36+08:00","updated_at":"2025-10-01T09:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f087eacbf922a89b46b0dae6c91964fbc5d7ee54.webp?v=1759283078","variant_ids":[43754719576163]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊車車 - 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-FW58","featured_media":{"alt":null,"id":26110779162723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f087eacbf922a89b46b0dae6c91964fbc5d7ee54.webp?v=1759283078"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43754719641699,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-FW58","requires_shipping":true,"taxable":true,"featured_image":{"id":34541012385891,"product_id":7892162609251,"position":6,"created_at":"2025-10-01T09:44:38+08:00","updated_at":"2025-10-01T09:44:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/866c44792d44c2b674557e9612fe042bd4240768.webp?v=1759283080","variant_ids":[43754719641699]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊車車 - 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-FW58","featured_media":{"alt":null,"id":26110779523171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/866c44792d44c2b674557e9612fe042bd4240768.webp?v=1759283080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43754719412323,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-FW58","requires_shipping":true,"taxable":true,"featured_image":{"id":34541011370083,"product_id":7892162609251,"position":1,"created_at":"2025-10-01T09:44:34+08:00","updated_at":"2025-10-01T09:44:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076","variant_ids":[43754719412323]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 咻咻熊 熊車車 - 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-FW58","featured_media":{"alt":null,"id":26110778507363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fce4c73801a4236b6f75a0c7b350bc1f628d49.webp?v=1759283076"}},"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: "停產"
}