$product = {"id":7893877719139,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Chubbynida 悠游海之詩","handle":"iphone-14-pro-mod-nx-magsafe-printable-chu05","description":null,"published_at":"2025-10-09T09:20:59+08:00","created_at":"2025-10-07T10:34:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone 14 Pro","merge","reseller-chubbynida"],"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":43763621396579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553350324323,"product_id":7893877719139,"position":7,"created_at":"2025-10-07T10:34:50+08:00","updated_at":"2025-10-07T10:34:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1d9ea15c231a47dbfb571fc9f0a92e744432c4.webp?v=1759804492","variant_ids":[43763621396579]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Chubbynida 悠游海之詩 - 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-CHU05","featured_media":{"alt":null,"id":26122997956707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1d9ea15c231a47dbfb571fc9f0a92e744432c4.webp?v=1759804492"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763621462115,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553351274595,"product_id":7893877719139,"position":11,"created_at":"2025-10-07T10:34:53+08:00","updated_at":"2025-10-07T10:34:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5a48a64f29a03fb64747dae59135303dab2385.webp?v=1759804495","variant_ids":[43763621462115]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Chubbynida 悠游海之詩 - 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-CHU05","featured_media":{"alt":null,"id":26122998906979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5a48a64f29a03fb64747dae59135303dab2385.webp?v=1759804495"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763621527651,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553349505123,"product_id":7893877719139,"position":3,"created_at":"2025-10-07T10:34:47+08:00","updated_at":"2025-10-07T10:34:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5437435a2af3cf4f940947eefd265ad6a30ee2c.webp?v=1759804490","variant_ids":[43763621527651]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Chubbynida 悠游海之詩 - 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-CHU05","featured_media":{"alt":null,"id":26122997137507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5437435a2af3cf4f940947eefd265ad6a30ee2c.webp?v=1759804490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/629d2e58b53d6ea39903d0a8f93fdbde2ca098bb.webp?v=1759804486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97cac78672892ac85887f0e79b0ff58461dd2f37.webp?v=1759804489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5437435a2af3cf4f940947eefd265ad6a30ee2c.webp?v=1759804490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa6bba75617d6073e80dfd8495819b22e28d19e.webp?v=1759804490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a18fad7d2b393845f8c9f5bfc9dd8c96d1fb47d0.webp?v=1759804491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/230d824bead63171828e372b824093a9d6934469.webp?v=1759804492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1d9ea15c231a47dbfb571fc9f0a92e744432c4.webp?v=1759804492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08d1d1deff2e51d9202b081ed885304add38c59f.webp?v=1759804493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef8508931e46ac87678f2e44f04c836bf152b367.webp?v=1759804493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d042f718622e1d3b310a6fca770d66d29691fb.webp?v=1759804494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5a48a64f29a03fb64747dae59135303dab2385.webp?v=1759804495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a596bca9e727578815e41b7eff776323b2560c8.webp?v=1759804495"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/629d2e58b53d6ea39903d0a8f93fdbde2ca098bb.webp?v=1759804486","options":["color"],"media":[{"alt":null,"id":26122996777059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/629d2e58b53d6ea39903d0a8f93fdbde2ca098bb.webp?v=1759804486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/629d2e58b53d6ea39903d0a8f93fdbde2ca098bb.webp?v=1759804486","width":2000},{"alt":null,"id":26122996973667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97cac78672892ac85887f0e79b0ff58461dd2f37.webp?v=1759804489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97cac78672892ac85887f0e79b0ff58461dd2f37.webp?v=1759804489","width":2000},{"alt":null,"id":26122997137507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5437435a2af3cf4f940947eefd265ad6a30ee2c.webp?v=1759804490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5437435a2af3cf4f940947eefd265ad6a30ee2c.webp?v=1759804490","width":2000},{"alt":null,"id":26122997334115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa6bba75617d6073e80dfd8495819b22e28d19e.webp?v=1759804490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa6bba75617d6073e80dfd8495819b22e28d19e.webp?v=1759804490","width":2000},{"alt":null,"id":26122997563491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a18fad7d2b393845f8c9f5bfc9dd8c96d1fb47d0.webp?v=1759804491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a18fad7d2b393845f8c9f5bfc9dd8c96d1fb47d0.webp?v=1759804491","width":2000},{"alt":null,"id":26122997760099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/230d824bead63171828e372b824093a9d6934469.webp?v=1759804492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/230d824bead63171828e372b824093a9d6934469.webp?v=1759804492","width":2000},{"alt":null,"id":26122997956707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1d9ea15c231a47dbfb571fc9f0a92e744432c4.webp?v=1759804492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1d9ea15c231a47dbfb571fc9f0a92e744432c4.webp?v=1759804492","width":2000},{"alt":null,"id":26122998218851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08d1d1deff2e51d9202b081ed885304add38c59f.webp?v=1759804493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08d1d1deff2e51d9202b081ed885304add38c59f.webp?v=1759804493","width":2000},{"alt":null,"id":26122998382691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef8508931e46ac87678f2e44f04c836bf152b367.webp?v=1759804493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef8508931e46ac87678f2e44f04c836bf152b367.webp?v=1759804493","width":2000},{"alt":null,"id":26122998677603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d042f718622e1d3b310a6fca770d66d29691fb.webp?v=1759804494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d042f718622e1d3b310a6fca770d66d29691fb.webp?v=1759804494","width":2000},{"alt":null,"id":26122998906979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5a48a64f29a03fb64747dae59135303dab2385.webp?v=1759804495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5a48a64f29a03fb64747dae59135303dab2385.webp?v=1759804495","width":2000},{"alt":null,"id":26122999300195,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a596bca9e727578815e41b7eff776323b2560c8.webp?v=1759804495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a596bca9e727578815e41b7eff776323b2560c8.webp?v=1759804495","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43763621396579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553350324323,"product_id":7893877719139,"position":7,"created_at":"2025-10-07T10:34:50+08:00","updated_at":"2025-10-07T10:34:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1d9ea15c231a47dbfb571fc9f0a92e744432c4.webp?v=1759804492","variant_ids":[43763621396579]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Chubbynida 悠游海之詩 - 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-CHU05","featured_media":{"alt":null,"id":26122997956707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1d9ea15c231a47dbfb571fc9f0a92e744432c4.webp?v=1759804492"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763621462115,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553351274595,"product_id":7893877719139,"position":11,"created_at":"2025-10-07T10:34:53+08:00","updated_at":"2025-10-07T10:34:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5a48a64f29a03fb64747dae59135303dab2385.webp?v=1759804495","variant_ids":[43763621462115]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Chubbynida 悠游海之詩 - 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-CHU05","featured_media":{"alt":null,"id":26122998906979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e5a48a64f29a03fb64747dae59135303dab2385.webp?v=1759804495"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763621527651,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553349505123,"product_id":7893877719139,"position":3,"created_at":"2025-10-07T10:34:47+08:00","updated_at":"2025-10-07T10:34:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5437435a2af3cf4f940947eefd265ad6a30ee2c.webp?v=1759804490","variant_ids":[43763621527651]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Chubbynida 悠游海之詩 - 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-CHU05","featured_media":{"alt":null,"id":26122997137507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5437435a2af3cf4f940947eefd265ad6a30ee2c.webp?v=1759804490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43763621396579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553350324323,"product_id":7893877719139,"position":7,"created_at":"2025-10-07T10:34:50+08:00","updated_at":"2025-10-07T10:34:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1d9ea15c231a47dbfb571fc9f0a92e744432c4.webp?v=1759804492","variant_ids":[43763621396579]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Chubbynida 悠游海之詩 - 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-CHU05","featured_media":{"alt":null,"id":26122997956707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1d9ea15c231a47dbfb571fc9f0a92e744432c4.webp?v=1759804492"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}