$product = {"id":7951277949027,"title":"iPhone XR Mod NX 田中 Shen In Love","handle":"iphone-xr-mod-nx-tan02","description":null,"published_at":"2026-01-13T10:20:30+08:00","created_at":"2026-01-12T17:08:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tanakashen","device-iPhone XR","merge","reseller-tanakashen"],"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":43946204954723,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093926608995,"product_id":7951277949027,"position":6,"created_at":"2026-01-12T17:08:22+08:00","updated_at":"2026-01-12T17:08:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044ff5e11faa767879ee52e0eb46248d87856734.webp?v=1768208904","variant_ids":[43946204954723]},"available":true,"name":"iPhone XR Mod NX 田中 Shen In Love - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-TAN02","featured_media":{"alt":null,"id":26650582417507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044ff5e11faa767879ee52e0eb46248d87856734.webp?v=1768208904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946208002147,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093925757027,"product_id":7951277949027,"position":1,"created_at":"2026-01-12T17:08:20+08:00","updated_at":"2026-01-12T17:08:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf1c1ebc4a205aa813af6105c14c605b3a5947.webp?v=1768208902","variant_ids":[43946208002147]},"available":true,"name":"iPhone XR Mod NX 田中 Shen In Love - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108504-TAN02","featured_media":{"alt":null,"id":26650581565539,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf1c1ebc4a205aa813af6105c14c605b3a5947.webp?v=1768208902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946208034915,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093926117475,"product_id":7951277949027,"position":3,"created_at":"2026-01-12T17:08:21+08:00","updated_at":"2026-01-12T17:08:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a895b199e461c091fe4970a59cb6728b1be9a8.webp?v=1768208903","variant_ids":[43946208034915]},"available":true,"name":"iPhone XR Mod NX 田中 Shen In Love - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108515-TAN02","featured_media":{"alt":null,"id":26650581925987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a895b199e461c091fe4970a59cb6728b1be9a8.webp?v=1768208903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946208067683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093926871139,"product_id":7951277949027,"position":8,"created_at":"2026-01-12T17:08:24+08:00","updated_at":"2026-01-12T17:08:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364577486ba8abf5dda7df4672c1b34a8b18b6fa.webp?v=1768208906","variant_ids":[43946208067683]},"available":true,"name":"iPhone XR Mod NX 田中 Shen In Love - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108524-TAN02","featured_media":{"alt":null,"id":26650582679651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364577486ba8abf5dda7df4672c1b34a8b18b6fa.webp?v=1768208906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf1c1ebc4a205aa813af6105c14c605b3a5947.webp?v=1768208902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a6c3ef0ccad6ff3bbbb71435031ca359fa3cf68.webp?v=1768208902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a895b199e461c091fe4970a59cb6728b1be9a8.webp?v=1768208903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ef5c4b565a812cde66174d4b7d5bbaac8a07f65.webp?v=1768208903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7184751964f8bf32197810841c7c965a92ce6b60.webp?v=1768208904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044ff5e11faa767879ee52e0eb46248d87856734.webp?v=1768208904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb6d1ed4b172e038ec8837de0f88128938681e5.webp?v=1768208905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364577486ba8abf5dda7df4672c1b34a8b18b6fa.webp?v=1768208906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3828d52b71cd8d775f0aba73f14de851eab95b7b.webp?v=1768208906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86fbc739e4f50aebb712d9f183317c6620986048.webp?v=1768208907"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf1c1ebc4a205aa813af6105c14c605b3a5947.webp?v=1768208902","options":["color"],"media":[{"alt":null,"id":26650581565539,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf1c1ebc4a205aa813af6105c14c605b3a5947.webp?v=1768208902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf1c1ebc4a205aa813af6105c14c605b3a5947.webp?v=1768208902","width":2000},{"alt":null,"id":26650581762147,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a6c3ef0ccad6ff3bbbb71435031ca359fa3cf68.webp?v=1768208902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a6c3ef0ccad6ff3bbbb71435031ca359fa3cf68.webp?v=1768208902","width":2000},{"alt":null,"id":26650581925987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a895b199e461c091fe4970a59cb6728b1be9a8.webp?v=1768208903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a895b199e461c091fe4970a59cb6728b1be9a8.webp?v=1768208903","width":2000},{"alt":null,"id":26650582089827,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ef5c4b565a812cde66174d4b7d5bbaac8a07f65.webp?v=1768208903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ef5c4b565a812cde66174d4b7d5bbaac8a07f65.webp?v=1768208903","width":2000},{"alt":null,"id":26650582253667,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7184751964f8bf32197810841c7c965a92ce6b60.webp?v=1768208904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7184751964f8bf32197810841c7c965a92ce6b60.webp?v=1768208904","width":2000},{"alt":null,"id":26650582417507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044ff5e11faa767879ee52e0eb46248d87856734.webp?v=1768208904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044ff5e11faa767879ee52e0eb46248d87856734.webp?v=1768208904","width":2000},{"alt":null,"id":26650582483043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb6d1ed4b172e038ec8837de0f88128938681e5.webp?v=1768208905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eb6d1ed4b172e038ec8837de0f88128938681e5.webp?v=1768208905","width":2000},{"alt":null,"id":26650582679651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364577486ba8abf5dda7df4672c1b34a8b18b6fa.webp?v=1768208906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364577486ba8abf5dda7df4672c1b34a8b18b6fa.webp?v=1768208906","width":2000},{"alt":null,"id":26650583105635,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3828d52b71cd8d775f0aba73f14de851eab95b7b.webp?v=1768208906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3828d52b71cd8d775f0aba73f14de851eab95b7b.webp?v=1768208906","width":2000},{"alt":null,"id":26650583433315,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86fbc739e4f50aebb712d9f183317c6620986048.webp?v=1768208907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86fbc739e4f50aebb712d9f183317c6620986048.webp?v=1768208907","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43946204954723,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093926608995,"product_id":7951277949027,"position":6,"created_at":"2026-01-12T17:08:22+08:00","updated_at":"2026-01-12T17:08:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044ff5e11faa767879ee52e0eb46248d87856734.webp?v=1768208904","variant_ids":[43946204954723]},"available":true,"name":"iPhone XR Mod NX 田中 Shen In Love - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-TAN02","featured_media":{"alt":null,"id":26650582417507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044ff5e11faa767879ee52e0eb46248d87856734.webp?v=1768208904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946208002147,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093925757027,"product_id":7951277949027,"position":1,"created_at":"2026-01-12T17:08:20+08:00","updated_at":"2026-01-12T17:08:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf1c1ebc4a205aa813af6105c14c605b3a5947.webp?v=1768208902","variant_ids":[43946208002147]},"available":true,"name":"iPhone XR Mod NX 田中 Shen In Love - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108504-TAN02","featured_media":{"alt":null,"id":26650581565539,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addf1c1ebc4a205aa813af6105c14c605b3a5947.webp?v=1768208902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946208034915,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093926117475,"product_id":7951277949027,"position":3,"created_at":"2026-01-12T17:08:21+08:00","updated_at":"2026-01-12T17:08:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a895b199e461c091fe4970a59cb6728b1be9a8.webp?v=1768208903","variant_ids":[43946208034915]},"available":true,"name":"iPhone XR Mod NX 田中 Shen In Love - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108515-TAN02","featured_media":{"alt":null,"id":26650581925987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a895b199e461c091fe4970a59cb6728b1be9a8.webp?v=1768208903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946208067683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093926871139,"product_id":7951277949027,"position":8,"created_at":"2026-01-12T17:08:24+08:00","updated_at":"2026-01-12T17:08:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364577486ba8abf5dda7df4672c1b34a8b18b6fa.webp?v=1768208906","variant_ids":[43946208067683]},"available":true,"name":"iPhone XR Mod NX 田中 Shen In Love - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108524-TAN02","featured_media":{"alt":null,"id":26650582679651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/364577486ba8abf5dda7df4672c1b34a8b18b6fa.webp?v=1768208906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43946204954723,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-TAN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35093926608995,"product_id":7951277949027,"position":6,"created_at":"2026-01-12T17:08:22+08:00","updated_at":"2026-01-12T17:08:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044ff5e11faa767879ee52e0eb46248d87856734.webp?v=1768208904","variant_ids":[43946204954723]},"available":true,"name":"iPhone XR Mod NX 田中 Shen In Love - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-TAN02","featured_media":{"alt":null,"id":26650582417507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/044ff5e11faa767879ee52e0eb46248d87856734.webp?v=1768208904"}},"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: "停產"
}