$product = {"id":7931288256611,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色","handle":"iphone-14-pro-mod-nx-magsafe-ei79","description":null,"published_at":"2025-11-28T11:01:23+08:00","created_at":"2025-11-28T10:07:54+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 14 Pro","merge","reseller-darylhochi"],"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":43860874362979,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861486178403,"product_id":7931288256611,"position":1,"created_at":"2025-11-28T10:08:03+08:00","updated_at":"2025-11-28T10:08:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685","variant_ids":[43860874362979]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425905709155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860874526819,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861486407779,"product_id":7931288256611,"position":4,"created_at":"2025-11-28T10:08:06+08:00","updated_at":"2025-11-28T10:08:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38e513900f514a1be37823ec751a722447fce22.webp?v=1764295688","variant_ids":[43860874526819]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425905938531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38e513900f514a1be37823ec751a722447fce22.webp?v=1764295688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860874559587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861486538851,"product_id":7931288256611,"position":7,"created_at":"2025-11-28T10:08:11+08:00","updated_at":"2025-11-28T10:08:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f9b56d06b029342f0cdd8aaa6f80bc568a73a6.webp?v=1764295693","variant_ids":[43860874559587]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425906069603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f9b56d06b029342f0cdd8aaa6f80bc568a73a6.webp?v=1764295693"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba872277dd623bc4301da054c78ee08e8927d781.webp?v=1764295686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859f88b8fefaa4f2c32e6f901185cfc7367aa4a5.webp?v=1764295687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38e513900f514a1be37823ec751a722447fce22.webp?v=1764295688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d9d7518eafc076a6afc4261a57458bc7190209c.webp?v=1764295691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2cabae4e78030aafef973e848ed93041294a98f.webp?v=1764295691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f9b56d06b029342f0cdd8aaa6f80bc568a73a6.webp?v=1764295693","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db34be91d745d25b12e226a32b0103bcb29989a6.webp?v=1764295698","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdc600976e6b032920d842c2d1a0ef3d86f8ba58.webp?v=1764295699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64743ed260de9d38ef990852426ad4a8b8510914.webp?v=1764295719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f87442e191ddb16633328f93a0014d83d20e5d8.webp?v=1764295719"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685","options":["color"],"media":[{"alt":null,"id":26425905709155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685","width":2000},{"alt":null,"id":26425905872995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba872277dd623bc4301da054c78ee08e8927d781.webp?v=1764295686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba872277dd623bc4301da054c78ee08e8927d781.webp?v=1764295686","width":2000},{"alt":null,"id":26425905905763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859f88b8fefaa4f2c32e6f901185cfc7367aa4a5.webp?v=1764295687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859f88b8fefaa4f2c32e6f901185cfc7367aa4a5.webp?v=1764295687","width":2000},{"alt":null,"id":26425905938531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38e513900f514a1be37823ec751a722447fce22.webp?v=1764295688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38e513900f514a1be37823ec751a722447fce22.webp?v=1764295688","width":2000},{"alt":null,"id":26425905971299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d9d7518eafc076a6afc4261a57458bc7190209c.webp?v=1764295691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d9d7518eafc076a6afc4261a57458bc7190209c.webp?v=1764295691","width":2000},{"alt":null,"id":26425906004067,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2cabae4e78030aafef973e848ed93041294a98f.webp?v=1764295691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2cabae4e78030aafef973e848ed93041294a98f.webp?v=1764295691","width":2000},{"alt":null,"id":26425906069603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f9b56d06b029342f0cdd8aaa6f80bc568a73a6.webp?v=1764295693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f9b56d06b029342f0cdd8aaa6f80bc568a73a6.webp?v=1764295693","width":2000},{"alt":null,"id":26425906167907,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db34be91d745d25b12e226a32b0103bcb29989a6.webp?v=1764295698"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db34be91d745d25b12e226a32b0103bcb29989a6.webp?v=1764295698","width":2000},{"alt":null,"id":26425906200675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdc600976e6b032920d842c2d1a0ef3d86f8ba58.webp?v=1764295699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdc600976e6b032920d842c2d1a0ef3d86f8ba58.webp?v=1764295699","width":2000},{"alt":null,"id":26425906462819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64743ed260de9d38ef990852426ad4a8b8510914.webp?v=1764295719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64743ed260de9d38ef990852426ad4a8b8510914.webp?v=1764295719","width":2000},{"alt":null,"id":26425906495587,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f87442e191ddb16633328f93a0014d83d20e5d8.webp?v=1764295719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f87442e191ddb16633328f93a0014d83d20e5d8.webp?v=1764295719","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43860874362979,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861486178403,"product_id":7931288256611,"position":1,"created_at":"2025-11-28T10:08:03+08:00","updated_at":"2025-11-28T10:08:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685","variant_ids":[43860874362979]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425905709155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860874526819,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861486407779,"product_id":7931288256611,"position":4,"created_at":"2025-11-28T10:08:06+08:00","updated_at":"2025-11-28T10:08:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38e513900f514a1be37823ec751a722447fce22.webp?v=1764295688","variant_ids":[43860874526819]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425905938531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38e513900f514a1be37823ec751a722447fce22.webp?v=1764295688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860874559587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861486538851,"product_id":7931288256611,"position":7,"created_at":"2025-11-28T10:08:11+08:00","updated_at":"2025-11-28T10:08:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f9b56d06b029342f0cdd8aaa6f80bc568a73a6.webp?v=1764295693","variant_ids":[43860874559587]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425906069603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f9b56d06b029342f0cdd8aaa6f80bc568a73a6.webp?v=1764295693"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43860874362979,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EI79","requires_shipping":true,"taxable":true,"featured_image":{"id":34861486178403,"product_id":7931288256611,"position":1,"created_at":"2025-11-28T10:08:03+08:00","updated_at":"2025-11-28T10:08:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685","variant_ids":[43860874362979]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 白白日記 By Darylhochi 三原色 - 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-EI79","featured_media":{"alt":null,"id":26425905709155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bceb5b4f8753dc2216f9b921c64be537e20fe1c.webp?v=1764295685"}},"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: "停產"
}