$product = {"id":7892114604131,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 咻咻熊 歪七扭八的熊們","handle":"iphone-14-plus-mod-nx-magsafe-printable-fw55","description":null,"published_at":"2025-10-01T12:22:12+08:00","created_at":"2025-10-01T09:34:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-xiuxiubear","device-iPhone 14 Plus","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":43754543415395,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-FW55","requires_shipping":true,"taxable":true,"featured_image":{"id":34540820889699,"product_id":7892114604131,"position":7,"created_at":"2025-10-01T09:34:54+08:00","updated_at":"2025-10-01T09:34:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba4dddc898a416bc6dbd1fef5f27da04f5d8787.webp?v=1759282496","variant_ids":[43754543415395]},"available":true,"name":"iPhone 14 Plus 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":"MPB0126124-FW55","featured_media":{"alt":null,"id":26110588026979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba4dddc898a416bc6dbd1fef5f27da04f5d8787.webp?v=1759282496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af7a87e57a65c71b87ea9045a5c4a62d3bfe1892.webp?v=1759282493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbd4eb86e1deab0a7d424a4f2d2b2165dfe46e3c.webp?v=1759282494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f293f003bca1c0517aef8dc05d53487b4311946b.webp?v=1759282494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780ca82a0f6320eac57e4d5f696840a58d1b0617.webp?v=1759282495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8d5ecd2cca65ac32080f238e3e41268587cbe9b.webp?v=1759282495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ebfedfe71c53bfc9dfebe6a35cbbd3b2e37dfad.webp?v=1759282496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba4dddc898a416bc6dbd1fef5f27da04f5d8787.webp?v=1759282496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde6ae5f6a3149b6660e38a047360bfaf753a960.webp?v=1759282497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48926aec38a1ad936a7b70353c449f6dc4091bf2.webp?v=1759282497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ce6f0e02d829bfdc912ad2444f8a7cbe1afdef9.webp?v=1759282498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ec147294164caf82275b405420cea537a813d2.webp?v=1759282498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce20aa3b098f59457c510d7f2dc5eda74d2d348.webp?v=1759282498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a13e5cb0876ad90ee2e314ba7807bf3be35a99f.webp?v=1759282499"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af7a87e57a65c71b87ea9045a5c4a62d3bfe1892.webp?v=1759282493","options":["color"],"media":[{"alt":null,"id":26110587043939,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af7a87e57a65c71b87ea9045a5c4a62d3bfe1892.webp?v=1759282493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af7a87e57a65c71b87ea9045a5c4a62d3bfe1892.webp?v=1759282493","width":2000},{"alt":null,"id":26110587175011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbd4eb86e1deab0a7d424a4f2d2b2165dfe46e3c.webp?v=1759282494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbd4eb86e1deab0a7d424a4f2d2b2165dfe46e3c.webp?v=1759282494","width":2000},{"alt":null,"id":26110587338851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f293f003bca1c0517aef8dc05d53487b4311946b.webp?v=1759282494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f293f003bca1c0517aef8dc05d53487b4311946b.webp?v=1759282494","width":2000},{"alt":null,"id":26110587535459,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780ca82a0f6320eac57e4d5f696840a58d1b0617.webp?v=1759282495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780ca82a0f6320eac57e4d5f696840a58d1b0617.webp?v=1759282495","width":2000},{"alt":null,"id":26110587764835,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8d5ecd2cca65ac32080f238e3e41268587cbe9b.webp?v=1759282495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8d5ecd2cca65ac32080f238e3e41268587cbe9b.webp?v=1759282495","width":2000},{"alt":null,"id":26110587895907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ebfedfe71c53bfc9dfebe6a35cbbd3b2e37dfad.webp?v=1759282496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ebfedfe71c53bfc9dfebe6a35cbbd3b2e37dfad.webp?v=1759282496","width":2000},{"alt":null,"id":26110588026979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba4dddc898a416bc6dbd1fef5f27da04f5d8787.webp?v=1759282496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba4dddc898a416bc6dbd1fef5f27da04f5d8787.webp?v=1759282496","width":2000},{"alt":null,"id":26110588387427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde6ae5f6a3149b6660e38a047360bfaf753a960.webp?v=1759282497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde6ae5f6a3149b6660e38a047360bfaf753a960.webp?v=1759282497","width":2000},{"alt":null,"id":26110588649571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48926aec38a1ad936a7b70353c449f6dc4091bf2.webp?v=1759282497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48926aec38a1ad936a7b70353c449f6dc4091bf2.webp?v=1759282497","width":2000},{"alt":null,"id":26110588813411,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ce6f0e02d829bfdc912ad2444f8a7cbe1afdef9.webp?v=1759282498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ce6f0e02d829bfdc912ad2444f8a7cbe1afdef9.webp?v=1759282498","width":2000},{"alt":null,"id":26110589108323,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ec147294164caf82275b405420cea537a813d2.webp?v=1759282498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ec147294164caf82275b405420cea537a813d2.webp?v=1759282498","width":2000},{"alt":null,"id":26110589370467,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce20aa3b098f59457c510d7f2dc5eda74d2d348.webp?v=1759282498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce20aa3b098f59457c510d7f2dc5eda74d2d348.webp?v=1759282498","width":2000},{"alt":null,"id":26110589665379,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a13e5cb0876ad90ee2e314ba7807bf3be35a99f.webp?v=1759282499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a13e5cb0876ad90ee2e314ba7807bf3be35a99f.webp?v=1759282499","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43754543415395,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-FW55","requires_shipping":true,"taxable":true,"featured_image":{"id":34540820889699,"product_id":7892114604131,"position":7,"created_at":"2025-10-01T09:34:54+08:00","updated_at":"2025-10-01T09:34:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba4dddc898a416bc6dbd1fef5f27da04f5d8787.webp?v=1759282496","variant_ids":[43754543415395]},"available":true,"name":"iPhone 14 Plus 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":"MPB0126124-FW55","featured_media":{"alt":null,"id":26110588026979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba4dddc898a416bc6dbd1fef5f27da04f5d8787.webp?v=1759282496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43754543415395,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-FW55","requires_shipping":true,"taxable":true,"featured_image":{"id":34540820889699,"product_id":7892114604131,"position":7,"created_at":"2025-10-01T09:34:54+08:00","updated_at":"2025-10-01T09:34:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba4dddc898a416bc6dbd1fef5f27da04f5d8787.webp?v=1759282496","variant_ids":[43754543415395]},"available":true,"name":"iPhone 14 Plus 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":"MPB0126124-FW55","featured_media":{"alt":null,"id":26110588026979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba4dddc898a416bc6dbd1fef5f27da04f5d8787.webp?v=1759282496"}},"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: "停產"
}