$product = {"id":7893808840803,"title":"iPhone 14 Plus Mod NX Chubbynida 悠游海之詩","handle":"iphone-14-plus-mod-nx-printable-chu05","description":null,"published_at":"2025-10-09T09:33:40+08:00","created_at":"2025-10-07T10:16:26+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":90000,"price_min":90000,"price_max":90000,"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":43763349618787,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553077694563,"product_id":7893808840803,"position":1,"created_at":"2025-10-07T10:16:32+08:00","updated_at":"2025-10-07T10:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394","variant_ids":[43763349618787]},"available":true,"name":"iPhone 14 Plus Mod NX Chubbynida 悠游海之詩 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-CHU05","featured_media":{"alt":null,"id":26122725392483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403db5ef9af79d7fac8fa4246f753fc1fc953389.webp?v=1759803395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85ff9e934954e5761db3909dd566442c373abf5.webp?v=1759803396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9694d26c9ee8613bad752f6a246d627575284a1f.webp?v=1759803396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ce13a592839c421905d4ee65e2046f0be45355.webp?v=1759803397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3427e6a00ff6e4802c5faa7825e345e9865e56f.webp?v=1759803397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5be3d196a334f4be9358fd5921ccf895de89b378.webp?v=1759803398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8c36590308d40ab3bdff7390d99f80ef74c4afb.webp?v=1759803399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83bf8154f430fb1b3061d1404efb468c24f8275a.webp?v=1759803399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8b8c2c2b7fb3397b74468b336e1693f37cb634c.webp?v=1759803400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/719d3df245cb092fa655aebd88349a2aafe3a9e4.webp?v=1759803401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90f823b6ea928a8f9d32aebdef98a1351bf3921b.webp?v=1759803401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e837d622dce221a57cf07de8e377574210c5cbd5.webp?v=1759803402"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394","options":["color"],"media":[{"alt":null,"id":26122725392483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394","width":2000},{"alt":null,"id":26122725589091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403db5ef9af79d7fac8fa4246f753fc1fc953389.webp?v=1759803395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403db5ef9af79d7fac8fa4246f753fc1fc953389.webp?v=1759803395","width":2000},{"alt":null,"id":26122725785699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85ff9e934954e5761db3909dd566442c373abf5.webp?v=1759803396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e85ff9e934954e5761db3909dd566442c373abf5.webp?v=1759803396","width":2000},{"alt":null,"id":26122726080611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9694d26c9ee8613bad752f6a246d627575284a1f.webp?v=1759803396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9694d26c9ee8613bad752f6a246d627575284a1f.webp?v=1759803396","width":2000},{"alt":null,"id":26122726342755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ce13a592839c421905d4ee65e2046f0be45355.webp?v=1759803397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ce13a592839c421905d4ee65e2046f0be45355.webp?v=1759803397","width":2000},{"alt":null,"id":26122726637667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3427e6a00ff6e4802c5faa7825e345e9865e56f.webp?v=1759803397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3427e6a00ff6e4802c5faa7825e345e9865e56f.webp?v=1759803397","width":2000},{"alt":null,"id":26122726834275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5be3d196a334f4be9358fd5921ccf895de89b378.webp?v=1759803398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5be3d196a334f4be9358fd5921ccf895de89b378.webp?v=1759803398","width":2000},{"alt":null,"id":26122726998115,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8c36590308d40ab3bdff7390d99f80ef74c4afb.webp?v=1759803399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8c36590308d40ab3bdff7390d99f80ef74c4afb.webp?v=1759803399","width":2000},{"alt":null,"id":26122727194723,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83bf8154f430fb1b3061d1404efb468c24f8275a.webp?v=1759803399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83bf8154f430fb1b3061d1404efb468c24f8275a.webp?v=1759803399","width":2000},{"alt":null,"id":26122727358563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8b8c2c2b7fb3397b74468b336e1693f37cb634c.webp?v=1759803400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8b8c2c2b7fb3397b74468b336e1693f37cb634c.webp?v=1759803400","width":2000},{"alt":null,"id":26122727587939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/719d3df245cb092fa655aebd88349a2aafe3a9e4.webp?v=1759803401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/719d3df245cb092fa655aebd88349a2aafe3a9e4.webp?v=1759803401","width":2000},{"alt":null,"id":26122727751779,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90f823b6ea928a8f9d32aebdef98a1351bf3921b.webp?v=1759803401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90f823b6ea928a8f9d32aebdef98a1351bf3921b.webp?v=1759803401","width":2000},{"alt":null,"id":26122727915619,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e837d622dce221a57cf07de8e377574210c5cbd5.webp?v=1759803402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e837d622dce221a57cf07de8e377574210c5cbd5.webp?v=1759803402","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43763349618787,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553077694563,"product_id":7893808840803,"position":1,"created_at":"2025-10-07T10:16:32+08:00","updated_at":"2025-10-07T10:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394","variant_ids":[43763349618787]},"available":true,"name":"iPhone 14 Plus Mod NX Chubbynida 悠游海之詩 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-CHU05","featured_media":{"alt":null,"id":26122725392483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43763349618787,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-CHU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34553077694563,"product_id":7893808840803,"position":1,"created_at":"2025-10-07T10:16:32+08:00","updated_at":"2025-10-07T10:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394","variant_ids":[43763349618787]},"available":true,"name":"iPhone 14 Plus Mod NX Chubbynida 悠游海之詩 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-CHU05","featured_media":{"alt":null,"id":26122725392483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa6a5e8394571e7341ec4529a28b01f6a1b17b5f.webp?v=1759803394"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$brand_handle = null;
$type = "";
var sellingStatus
// 只有設計款(SKU 含 '-')才需要合圖
if ($isMerge && $defaultVariant.sku.includes('-')) {
$(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: "停產"
}