$product = {"id":7893849342051,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Chubbynida 烈焰海之舞","handle":"iphone-14-pro-mod-nx-magsafe-printable-chu06","description":null,"published_at":"2025-10-09T09:26:16+08:00","created_at":"2025-10-07T10:27:32+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":43763507331171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553236684899,"product_id":7893849342051,"position":4,"created_at":"2025-10-07T10:27:36+08:00","updated_at":"2025-10-07T10:27:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249b1a49db8ad778574ebea6921256eeaa818592.webp?v=1759804058","variant_ids":[43763507331171]},"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-CHU06","featured_media":{"alt":null,"id":26122884317283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249b1a49db8ad778574ebea6921256eeaa818592.webp?v=1759804058"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763507396707,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553236029539,"product_id":7893849342051,"position":2,"created_at":"2025-10-07T10:27:34+08:00","updated_at":"2025-10-07T10:27:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c16c012a9eeb25930bdafceb0c3bad67f0b4136.webp?v=1759804056","variant_ids":[43763507396707]},"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-CHU06","featured_media":{"alt":null,"id":26122883661923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c16c012a9eeb25930bdafceb0c3bad67f0b4136.webp?v=1759804056"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763507462243,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553236357219,"product_id":7893849342051,"position":3,"created_at":"2025-10-07T10:27:35+08:00","updated_at":"2025-10-07T10:27:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9a9ffc0115429d89720482b29fac5f688a4d82.webp?v=1759804057","variant_ids":[43763507462243]},"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-CHU06","featured_media":{"alt":null,"id":26122883989603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9a9ffc0115429d89720482b29fac5f688a4d82.webp?v=1759804057"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0978db9bee46f4fede561577a6f9febdd19f5.webp?v=1759804056","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c16c012a9eeb25930bdafceb0c3bad67f0b4136.webp?v=1759804056","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9a9ffc0115429d89720482b29fac5f688a4d82.webp?v=1759804057","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249b1a49db8ad778574ebea6921256eeaa818592.webp?v=1759804058","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59ccd50a972730d8957b1bcedd45272342802ae8.webp?v=1759804058","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c155fdd9668a1fcc9700f251d7bb6e0284a9fbd.webp?v=1759804059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3709091abbe3beae1dc55349f21cdc4bac5a8171.webp?v=1759804060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1092ed20b8f02c828698146346ed92824dcdd3a5.webp?v=1759804062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f61db780d92c129e2567ed02eee95236a12c6914.webp?v=1759804062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25d8f84e8020838b751982f562f01ed7e3254a30.webp?v=1759804063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4f92962fdba5c3cb73d72fb2dcd019ea6f5521a.webp?v=1759804064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e680d7f5190c96564eeeda1a5e05bd3ca64974.webp?v=1759804065"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0978db9bee46f4fede561577a6f9febdd19f5.webp?v=1759804056","options":["color"],"media":[{"alt":null,"id":26122883399779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0978db9bee46f4fede561577a6f9febdd19f5.webp?v=1759804056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0978db9bee46f4fede561577a6f9febdd19f5.webp?v=1759804056","width":2000},{"alt":null,"id":26122883661923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c16c012a9eeb25930bdafceb0c3bad67f0b4136.webp?v=1759804056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c16c012a9eeb25930bdafceb0c3bad67f0b4136.webp?v=1759804056","width":2000},{"alt":null,"id":26122883989603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9a9ffc0115429d89720482b29fac5f688a4d82.webp?v=1759804057"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9a9ffc0115429d89720482b29fac5f688a4d82.webp?v=1759804057","width":2000},{"alt":null,"id":26122884317283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249b1a49db8ad778574ebea6921256eeaa818592.webp?v=1759804058"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249b1a49db8ad778574ebea6921256eeaa818592.webp?v=1759804058","width":2000},{"alt":null,"id":26122884677731,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59ccd50a972730d8957b1bcedd45272342802ae8.webp?v=1759804058"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59ccd50a972730d8957b1bcedd45272342802ae8.webp?v=1759804058","width":2000},{"alt":null,"id":26122884874339,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c155fdd9668a1fcc9700f251d7bb6e0284a9fbd.webp?v=1759804059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c155fdd9668a1fcc9700f251d7bb6e0284a9fbd.webp?v=1759804059","width":2000},{"alt":null,"id":26122885103715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3709091abbe3beae1dc55349f21cdc4bac5a8171.webp?v=1759804060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3709091abbe3beae1dc55349f21cdc4bac5a8171.webp?v=1759804060","width":2000},{"alt":null,"id":26122885300323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1092ed20b8f02c828698146346ed92824dcdd3a5.webp?v=1759804062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1092ed20b8f02c828698146346ed92824dcdd3a5.webp?v=1759804062","width":2000},{"alt":null,"id":26122885496931,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f61db780d92c129e2567ed02eee95236a12c6914.webp?v=1759804062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f61db780d92c129e2567ed02eee95236a12c6914.webp?v=1759804062","width":2000},{"alt":null,"id":26122885759075,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25d8f84e8020838b751982f562f01ed7e3254a30.webp?v=1759804063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25d8f84e8020838b751982f562f01ed7e3254a30.webp?v=1759804063","width":2000},{"alt":null,"id":26122885988451,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4f92962fdba5c3cb73d72fb2dcd019ea6f5521a.webp?v=1759804064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4f92962fdba5c3cb73d72fb2dcd019ea6f5521a.webp?v=1759804064","width":2000},{"alt":null,"id":26122886152291,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e680d7f5190c96564eeeda1a5e05bd3ca64974.webp?v=1759804065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e680d7f5190c96564eeeda1a5e05bd3ca64974.webp?v=1759804065","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43763507331171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553236684899,"product_id":7893849342051,"position":4,"created_at":"2025-10-07T10:27:36+08:00","updated_at":"2025-10-07T10:27:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249b1a49db8ad778574ebea6921256eeaa818592.webp?v=1759804058","variant_ids":[43763507331171]},"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-CHU06","featured_media":{"alt":null,"id":26122884317283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249b1a49db8ad778574ebea6921256eeaa818592.webp?v=1759804058"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763507396707,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553236029539,"product_id":7893849342051,"position":2,"created_at":"2025-10-07T10:27:34+08:00","updated_at":"2025-10-07T10:27:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c16c012a9eeb25930bdafceb0c3bad67f0b4136.webp?v=1759804056","variant_ids":[43763507396707]},"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-CHU06","featured_media":{"alt":null,"id":26122883661923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c16c012a9eeb25930bdafceb0c3bad67f0b4136.webp?v=1759804056"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763507462243,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553236357219,"product_id":7893849342051,"position":3,"created_at":"2025-10-07T10:27:35+08:00","updated_at":"2025-10-07T10:27:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9a9ffc0115429d89720482b29fac5f688a4d82.webp?v=1759804057","variant_ids":[43763507462243]},"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-CHU06","featured_media":{"alt":null,"id":26122883989603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9a9ffc0115429d89720482b29fac5f688a4d82.webp?v=1759804057"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43763507331171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553236684899,"product_id":7893849342051,"position":4,"created_at":"2025-10-07T10:27:36+08:00","updated_at":"2025-10-07T10:27:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249b1a49db8ad778574ebea6921256eeaa818592.webp?v=1759804058","variant_ids":[43763507331171]},"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-CHU06","featured_media":{"alt":null,"id":26122884317283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/249b1a49db8ad778574ebea6921256eeaa818592.webp?v=1759804058"}},"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: "停產"
}