$product = {"id":7893802713187,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) Chubbynida 含苞綻放","handle":"iphone-14-plus-mod-nx-magsafe-printable-chu08","description":null,"published_at":"2025-10-09T09:34:48+08:00","created_at":"2025-10-07T10:14:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone 14 Plus","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":43763325960291,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34553055674467,"product_id":7893802713187,"position":8,"created_at":"2025-10-07T10:14:54+08:00","updated_at":"2025-10-07T10:14:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215cade116c05196d85eb0f7f55b89fa76e232b3.webp?v=1759803296","variant_ids":[43763325960291]},"available":true,"name":"iPhone 14 Plus 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":"MPB0126124-CHU08","featured_media":{"alt":null,"id":26122703372387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215cade116c05196d85eb0f7f55b89fa76e232b3.webp?v=1759803296"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c95205947ac723b1e80f0860df45bc3b59f1dd.webp?v=1759803291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b71637b00894488f93bddaa6a5f0c3a7c72dd3.webp?v=1759803292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d236ae1b830757ce3743a0733cb4c950ab83bfad.webp?v=1759803292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361cb56ff7246cf935e46e946fd177cead8b81f5.webp?v=1759803293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42645a2a8cd761293558125c9e2b2bb45c83b03.webp?v=1759803294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81d06ec1db83bc7c93aeaa922bfb7a53e3bda54.webp?v=1759803294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e99d09d54ae2099326dffb14fecb02e4d41024.webp?v=1759803295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215cade116c05196d85eb0f7f55b89fa76e232b3.webp?v=1759803296","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b177ad28ebc953322a6acd133ea790351d3bb83e.webp?v=1759803296","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861e131129f37759cbfd9ccd6e097d0a572862f4.webp?v=1759803297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ccbfab355a94deead7382754734c9896bd87481.webp?v=1759803298","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/661b9aeae6ca456f42712c7f2bb2bc4e9f4cf49a.webp?v=1759803299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa852bbba969dc0c8dfa9effaf9287eb1582bc24.webp?v=1759803299"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c95205947ac723b1e80f0860df45bc3b59f1dd.webp?v=1759803291","options":["color"],"media":[{"alt":null,"id":26122702225507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c95205947ac723b1e80f0860df45bc3b59f1dd.webp?v=1759803291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c95205947ac723b1e80f0860df45bc3b59f1dd.webp?v=1759803291","width":2000},{"alt":null,"id":26122702356579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b71637b00894488f93bddaa6a5f0c3a7c72dd3.webp?v=1759803292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69b71637b00894488f93bddaa6a5f0c3a7c72dd3.webp?v=1759803292","width":2000},{"alt":null,"id":26122702454883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d236ae1b830757ce3743a0733cb4c950ab83bfad.webp?v=1759803292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d236ae1b830757ce3743a0733cb4c950ab83bfad.webp?v=1759803292","width":2000},{"alt":null,"id":26122702585955,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361cb56ff7246cf935e46e946fd177cead8b81f5.webp?v=1759803293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/361cb56ff7246cf935e46e946fd177cead8b81f5.webp?v=1759803293","width":2000},{"alt":null,"id":26122702717027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42645a2a8cd761293558125c9e2b2bb45c83b03.webp?v=1759803294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b42645a2a8cd761293558125c9e2b2bb45c83b03.webp?v=1759803294","width":2000},{"alt":null,"id":26122702913635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81d06ec1db83bc7c93aeaa922bfb7a53e3bda54.webp?v=1759803294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e81d06ec1db83bc7c93aeaa922bfb7a53e3bda54.webp?v=1759803294","width":2000},{"alt":null,"id":26122703143011,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e99d09d54ae2099326dffb14fecb02e4d41024.webp?v=1759803295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62e99d09d54ae2099326dffb14fecb02e4d41024.webp?v=1759803295","width":2000},{"alt":null,"id":26122703372387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215cade116c05196d85eb0f7f55b89fa76e232b3.webp?v=1759803296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215cade116c05196d85eb0f7f55b89fa76e232b3.webp?v=1759803296","width":2000},{"alt":null,"id":26122703536227,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b177ad28ebc953322a6acd133ea790351d3bb83e.webp?v=1759803296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b177ad28ebc953322a6acd133ea790351d3bb83e.webp?v=1759803296","width":2000},{"alt":null,"id":26122703667299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861e131129f37759cbfd9ccd6e097d0a572862f4.webp?v=1759803297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/861e131129f37759cbfd9ccd6e097d0a572862f4.webp?v=1759803297","width":2000},{"alt":null,"id":26122703798371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ccbfab355a94deead7382754734c9896bd87481.webp?v=1759803298"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ccbfab355a94deead7382754734c9896bd87481.webp?v=1759803298","width":2000},{"alt":null,"id":26122704027747,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/661b9aeae6ca456f42712c7f2bb2bc4e9f4cf49a.webp?v=1759803299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/661b9aeae6ca456f42712c7f2bb2bc4e9f4cf49a.webp?v=1759803299","width":2000},{"alt":null,"id":26122704224355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa852bbba969dc0c8dfa9effaf9287eb1582bc24.webp?v=1759803299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa852bbba969dc0c8dfa9effaf9287eb1582bc24.webp?v=1759803299","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43763325960291,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34553055674467,"product_id":7893802713187,"position":8,"created_at":"2025-10-07T10:14:54+08:00","updated_at":"2025-10-07T10:14:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215cade116c05196d85eb0f7f55b89fa76e232b3.webp?v=1759803296","variant_ids":[43763325960291]},"available":true,"name":"iPhone 14 Plus 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":"MPB0126124-CHU08","featured_media":{"alt":null,"id":26122703372387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215cade116c05196d85eb0f7f55b89fa76e232b3.webp?v=1759803296"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43763325960291,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CHU08","requires_shipping":true,"taxable":true,"featured_image":{"id":34553055674467,"product_id":7893802713187,"position":8,"created_at":"2025-10-07T10:14:54+08:00","updated_at":"2025-10-07T10:14:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215cade116c05196d85eb0f7f55b89fa76e232b3.webp?v=1759803296","variant_ids":[43763325960291]},"available":true,"name":"iPhone 14 Plus 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":"MPB0126124-CHU08","featured_media":{"alt":null,"id":26122703372387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215cade116c05196d85eb0f7f55b89fa76e232b3.webp?v=1759803296"}},"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: "停產"
}