$product = {"id":7942289227875,"title":"iPhone 14 Pro Mod NX Seungyoun Kim 紅衣小狗 Pingurusky","handle":"iphone-14-pro-mod-nx-seu02","description":null,"published_at":"2025-12-23T09:29:35+08:00","created_at":"2025-12-22T17:53:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-seungyounkim","device-iPhone 14 Pro","merge","reseller-seungyounkim"],"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":43904554958947,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":34987856560227,"product_id":7942289227875,"position":10,"created_at":"2025-12-22T17:53:57+08:00","updated_at":"2025-12-22T17:53:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f020f48f4b72e99e5e8df52cbbfd8bb1a147b9fe.webp?v=1766397239","variant_ids":[43904554958947]},"available":true,"name":"iPhone 14 Pro Mod NX Seungyoun Kim 紅衣小狗 Pingurusky - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-SEU02","featured_media":{"alt":null,"id":26548872577123,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f020f48f4b72e99e5e8df52cbbfd8bb1a147b9fe.webp?v=1766397239"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904555548771,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":34987854954595,"product_id":7942289227875,"position":6,"created_at":"2025-12-22T17:53:55+08:00","updated_at":"2025-12-22T17:53:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0a3275f2f255a09cf0a7b5c9453adc0d12dc3f.webp?v=1766397236","variant_ids":[43904555548771]},"available":true,"name":"iPhone 14 Pro Mod NX Seungyoun Kim 紅衣小狗 Pingurusky - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-SEU02","featured_media":{"alt":null,"id":26548871004259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0a3275f2f255a09cf0a7b5c9453adc0d12dc3f.webp?v=1766397236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904558727267,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":34987853316195,"product_id":7942289227875,"position":3,"created_at":"2025-12-22T17:53:53+08:00","updated_at":"2025-12-22T17:53:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e5cdad87594fa387a026f7b730b31fbbc03d9b.webp?v=1766397235","variant_ids":[43904558727267]},"available":true,"name":"iPhone 14 Pro Mod NX Seungyoun Kim 紅衣小狗 Pingurusky - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-SEU02","featured_media":{"alt":null,"id":26548869300323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e5cdad87594fa387a026f7b730b31fbbc03d9b.webp?v=1766397235"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f658144206ef45cdb703aebaa18c063437ac3f46.webp?v=1766397234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bd92e2e3383f3f2c02c171d15f78c2e29360a33.webp?v=1766397234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e5cdad87594fa387a026f7b730b31fbbc03d9b.webp?v=1766397235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dadd42f4f3e56f39299ffafd47dd22867441537f.webp?v=1766397235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11dc6813cd437d76b847e00059088180cf1f7b76.webp?v=1766397236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0a3275f2f255a09cf0a7b5c9453adc0d12dc3f.webp?v=1766397236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6335f514d525a64523645153ec8345a7f38a3d.webp?v=1766397237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1579fff0951a87084602f67b5f6c711ed8817f.webp?v=1766397238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d057691c20ec9b3bc607125067b6a0a449c90c74.webp?v=1766397238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f020f48f4b72e99e5e8df52cbbfd8bb1a147b9fe.webp?v=1766397239","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb152ba8bc0f58998073a1c439c09798b59b9d81.webp?v=1766397240"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f658144206ef45cdb703aebaa18c063437ac3f46.webp?v=1766397234","options":["color"],"media":[{"alt":null,"id":26548868513891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f658144206ef45cdb703aebaa18c063437ac3f46.webp?v=1766397234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f658144206ef45cdb703aebaa18c063437ac3f46.webp?v=1766397234","width":2000},{"alt":null,"id":26548868743267,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bd92e2e3383f3f2c02c171d15f78c2e29360a33.webp?v=1766397234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bd92e2e3383f3f2c02c171d15f78c2e29360a33.webp?v=1766397234","width":2000},{"alt":null,"id":26548869300323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e5cdad87594fa387a026f7b730b31fbbc03d9b.webp?v=1766397235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e5cdad87594fa387a026f7b730b31fbbc03d9b.webp?v=1766397235","width":2000},{"alt":null,"id":26548869922915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dadd42f4f3e56f39299ffafd47dd22867441537f.webp?v=1766397235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dadd42f4f3e56f39299ffafd47dd22867441537f.webp?v=1766397235","width":2000},{"alt":null,"id":26548870447203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11dc6813cd437d76b847e00059088180cf1f7b76.webp?v=1766397236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11dc6813cd437d76b847e00059088180cf1f7b76.webp?v=1766397236","width":2000},{"alt":null,"id":26548871004259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0a3275f2f255a09cf0a7b5c9453adc0d12dc3f.webp?v=1766397236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0a3275f2f255a09cf0a7b5c9453adc0d12dc3f.webp?v=1766397236","width":2000},{"alt":null,"id":26548871463011,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6335f514d525a64523645153ec8345a7f38a3d.webp?v=1766397237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6335f514d525a64523645153ec8345a7f38a3d.webp?v=1766397237","width":2000},{"alt":null,"id":26548871823459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1579fff0951a87084602f67b5f6c711ed8817f.webp?v=1766397238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c1579fff0951a87084602f67b5f6c711ed8817f.webp?v=1766397238","width":2000},{"alt":null,"id":26548872151139,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d057691c20ec9b3bc607125067b6a0a449c90c74.webp?v=1766397238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d057691c20ec9b3bc607125067b6a0a449c90c74.webp?v=1766397238","width":2000},{"alt":null,"id":26548872577123,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f020f48f4b72e99e5e8df52cbbfd8bb1a147b9fe.webp?v=1766397239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f020f48f4b72e99e5e8df52cbbfd8bb1a147b9fe.webp?v=1766397239","width":2000},{"alt":null,"id":26548872872035,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb152ba8bc0f58998073a1c439c09798b59b9d81.webp?v=1766397240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb152ba8bc0f58998073a1c439c09798b59b9d81.webp?v=1766397240","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43904554958947,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":34987856560227,"product_id":7942289227875,"position":10,"created_at":"2025-12-22T17:53:57+08:00","updated_at":"2025-12-22T17:53:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f020f48f4b72e99e5e8df52cbbfd8bb1a147b9fe.webp?v=1766397239","variant_ids":[43904554958947]},"available":true,"name":"iPhone 14 Pro Mod NX Seungyoun Kim 紅衣小狗 Pingurusky - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-SEU02","featured_media":{"alt":null,"id":26548872577123,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f020f48f4b72e99e5e8df52cbbfd8bb1a147b9fe.webp?v=1766397239"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904555548771,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":34987854954595,"product_id":7942289227875,"position":6,"created_at":"2025-12-22T17:53:55+08:00","updated_at":"2025-12-22T17:53:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0a3275f2f255a09cf0a7b5c9453adc0d12dc3f.webp?v=1766397236","variant_ids":[43904555548771]},"available":true,"name":"iPhone 14 Pro Mod NX Seungyoun Kim 紅衣小狗 Pingurusky - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-SEU02","featured_media":{"alt":null,"id":26548871004259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de0a3275f2f255a09cf0a7b5c9453adc0d12dc3f.webp?v=1766397236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904558727267,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":34987853316195,"product_id":7942289227875,"position":3,"created_at":"2025-12-22T17:53:53+08:00","updated_at":"2025-12-22T17:53:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e5cdad87594fa387a026f7b730b31fbbc03d9b.webp?v=1766397235","variant_ids":[43904558727267]},"available":true,"name":"iPhone 14 Pro Mod NX Seungyoun Kim 紅衣小狗 Pingurusky - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-SEU02","featured_media":{"alt":null,"id":26548869300323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e5cdad87594fa387a026f7b730b31fbbc03d9b.webp?v=1766397235"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43904554958947,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-SEU02","requires_shipping":true,"taxable":true,"featured_image":{"id":34987856560227,"product_id":7942289227875,"position":10,"created_at":"2025-12-22T17:53:57+08:00","updated_at":"2025-12-22T17:53:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f020f48f4b72e99e5e8df52cbbfd8bb1a147b9fe.webp?v=1766397239","variant_ids":[43904554958947]},"available":true,"name":"iPhone 14 Pro Mod NX Seungyoun Kim 紅衣小狗 Pingurusky - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-SEU02","featured_media":{"alt":null,"id":26548872577123,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f020f48f4b72e99e5e8df52cbbfd8bb1a147b9fe.webp?v=1766397239"}},"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: "停產"
}