$product = {"id":7769713672291,"title":"iPhone 13 Pro Max Mod NX ilovedoodle The Sun and Cat - 太陽與貓","handle":"iphone-13-pro-max-mod-nx-printable-xf52","description":null,"published_at":"2025-07-16T17:05:50+08:00","created_at":"2025-04-15T19:51:33+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Pro Max","merge","reseller-ilovedoodle"],"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":43303665270883,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34196943274083,"product_id":7769713672291,"position":6,"created_at":"2025-07-16T14:54:53+08:00","updated_at":"2025-07-16T14:54:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e69d740f7db0ad27371373443902232940f1f6_25133e9d-b0b7-4c16-862d-de83763f91b4.webp?v=1752648895","variant_ids":[43303665270883]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle The Sun and Cat - 太陽與貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-XF52","featured_media":{"alt":null,"id":25829629493347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e69d740f7db0ad27371373443902232940f1f6_25133e9d-b0b7-4c16-862d-de83763f91b4.webp?v=1752648895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303680409699,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34196945993827,"product_id":7769713672291,"position":11,"created_at":"2025-07-16T14:54:56+08:00","updated_at":"2025-07-16T14:54:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/280e9adbb4192ced645fb8705200737b807aa217_1ba4cc5c-d5ba-49c2-bf5a-8087fba579cd.webp?v=1752648898","variant_ids":[43303680409699]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle The Sun and Cat - 太陽與貓 - 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":"NPB01232J5-XF52","featured_media":{"alt":null,"id":25829631066211,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/280e9adbb4192ced645fb8705200737b807aa217_1ba4cc5c-d5ba-49c2-bf5a-8087fba579cd.webp?v=1752648898"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b3c590852e05f36d7320676cabcae5d9858d5dc_7bfc0a9f-b2dc-407a-846d-1c1bedc1daf0.webp?v=1744717901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ed548acd0d22b6cbc850a45e27a4b8ac1cfacf6_210fc604-89e1-4483-a286-9ceba577702c.webp?v=1752648893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c571969002abd6244b41924a1be788b00df8a2b_38bec4a0-af1c-445f-9b7a-f8e94604c34d.webp?v=1752648893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/987ba44a228e5bac2052f6564b55afe70fa37cc1_b90af80d-860c-4623-8185-dcc8cb2b76c4.webp?v=1752648894","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c063cff22b787344859e7c2796b35e7a9f84d17f_a7e3bcbb-4daa-4a80-9454-d6ac4a59cf07.webp?v=1752648894","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e69d740f7db0ad27371373443902232940f1f6_25133e9d-b0b7-4c16-862d-de83763f91b4.webp?v=1752648895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abf4e74301d6038f45632620409676bdb703462e_f9457d98-ceb5-4c1a-9086-5f11ede49893.webp?v=1752648895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0760e80bc5b2884fb1539a0a08ce1fb953bc97_f37e82b3-fb5b-441c-98a1-69b08faabd80.webp?v=1752648896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4799b00f3eaeb16d1e8d6f5ca935cb304ed904e2_762bc210-cdc7-40e9-837b-fd49d683f063.webp?v=1752648897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f532afeed8cb906864a3a894dfb1153fe27a8f_8a4a9080-105f-4443-b8b8-d2d998389247.webp?v=1752648897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/280e9adbb4192ced645fb8705200737b807aa217_1ba4cc5c-d5ba-49c2-bf5a-8087fba579cd.webp?v=1752648898"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b3c590852e05f36d7320676cabcae5d9858d5dc_7bfc0a9f-b2dc-407a-846d-1c1bedc1daf0.webp?v=1744717901","options":["color"],"media":[{"alt":null,"id":25496164728931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b3c590852e05f36d7320676cabcae5d9858d5dc_7bfc0a9f-b2dc-407a-846d-1c1bedc1daf0.webp?v=1744717901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b3c590852e05f36d7320676cabcae5d9858d5dc_7bfc0a9f-b2dc-407a-846d-1c1bedc1daf0.webp?v=1744717901","width":2000},{"alt":null,"id":25829628412003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ed548acd0d22b6cbc850a45e27a4b8ac1cfacf6_210fc604-89e1-4483-a286-9ceba577702c.webp?v=1752648893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ed548acd0d22b6cbc850a45e27a4b8ac1cfacf6_210fc604-89e1-4483-a286-9ceba577702c.webp?v=1752648893","width":2000},{"alt":null,"id":25829628575843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c571969002abd6244b41924a1be788b00df8a2b_38bec4a0-af1c-445f-9b7a-f8e94604c34d.webp?v=1752648893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c571969002abd6244b41924a1be788b00df8a2b_38bec4a0-af1c-445f-9b7a-f8e94604c34d.webp?v=1752648893","width":2000},{"alt":null,"id":25829628936291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/987ba44a228e5bac2052f6564b55afe70fa37cc1_b90af80d-860c-4623-8185-dcc8cb2b76c4.webp?v=1752648894"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/987ba44a228e5bac2052f6564b55afe70fa37cc1_b90af80d-860c-4623-8185-dcc8cb2b76c4.webp?v=1752648894","width":2000},{"alt":null,"id":25829629198435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c063cff22b787344859e7c2796b35e7a9f84d17f_a7e3bcbb-4daa-4a80-9454-d6ac4a59cf07.webp?v=1752648894"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c063cff22b787344859e7c2796b35e7a9f84d17f_a7e3bcbb-4daa-4a80-9454-d6ac4a59cf07.webp?v=1752648894","width":2000},{"alt":null,"id":25829629493347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e69d740f7db0ad27371373443902232940f1f6_25133e9d-b0b7-4c16-862d-de83763f91b4.webp?v=1752648895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e69d740f7db0ad27371373443902232940f1f6_25133e9d-b0b7-4c16-862d-de83763f91b4.webp?v=1752648895","width":2000},{"alt":null,"id":25829629821027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abf4e74301d6038f45632620409676bdb703462e_f9457d98-ceb5-4c1a-9086-5f11ede49893.webp?v=1752648895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abf4e74301d6038f45632620409676bdb703462e_f9457d98-ceb5-4c1a-9086-5f11ede49893.webp?v=1752648895","width":2000},{"alt":null,"id":25829630214243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0760e80bc5b2884fb1539a0a08ce1fb953bc97_f37e82b3-fb5b-441c-98a1-69b08faabd80.webp?v=1752648896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0760e80bc5b2884fb1539a0a08ce1fb953bc97_f37e82b3-fb5b-441c-98a1-69b08faabd80.webp?v=1752648896","width":2000},{"alt":null,"id":25829630443619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4799b00f3eaeb16d1e8d6f5ca935cb304ed904e2_762bc210-cdc7-40e9-837b-fd49d683f063.webp?v=1752648897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4799b00f3eaeb16d1e8d6f5ca935cb304ed904e2_762bc210-cdc7-40e9-837b-fd49d683f063.webp?v=1752648897","width":2000},{"alt":null,"id":25829630738531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f532afeed8cb906864a3a894dfb1153fe27a8f_8a4a9080-105f-4443-b8b8-d2d998389247.webp?v=1752648897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f532afeed8cb906864a3a894dfb1153fe27a8f_8a4a9080-105f-4443-b8b8-d2d998389247.webp?v=1752648897","width":2000},{"alt":null,"id":25829631066211,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/280e9adbb4192ced645fb8705200737b807aa217_1ba4cc5c-d5ba-49c2-bf5a-8087fba579cd.webp?v=1752648898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/280e9adbb4192ced645fb8705200737b807aa217_1ba4cc5c-d5ba-49c2-bf5a-8087fba579cd.webp?v=1752648898","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43303665270883,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34196943274083,"product_id":7769713672291,"position":6,"created_at":"2025-07-16T14:54:53+08:00","updated_at":"2025-07-16T14:54:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e69d740f7db0ad27371373443902232940f1f6_25133e9d-b0b7-4c16-862d-de83763f91b4.webp?v=1752648895","variant_ids":[43303665270883]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle The Sun and Cat - 太陽與貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-XF52","featured_media":{"alt":null,"id":25829629493347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e69d740f7db0ad27371373443902232940f1f6_25133e9d-b0b7-4c16-862d-de83763f91b4.webp?v=1752648895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303680409699,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34196945993827,"product_id":7769713672291,"position":11,"created_at":"2025-07-16T14:54:56+08:00","updated_at":"2025-07-16T14:54:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/280e9adbb4192ced645fb8705200737b807aa217_1ba4cc5c-d5ba-49c2-bf5a-8087fba579cd.webp?v=1752648898","variant_ids":[43303680409699]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle The Sun and Cat - 太陽與貓 - 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":"NPB01232J5-XF52","featured_media":{"alt":null,"id":25829631066211,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/280e9adbb4192ced645fb8705200737b807aa217_1ba4cc5c-d5ba-49c2-bf5a-8087fba579cd.webp?v=1752648898"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43303665270883,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34196943274083,"product_id":7769713672291,"position":6,"created_at":"2025-07-16T14:54:53+08:00","updated_at":"2025-07-16T14:54:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e69d740f7db0ad27371373443902232940f1f6_25133e9d-b0b7-4c16-862d-de83763f91b4.webp?v=1752648895","variant_ids":[43303665270883]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle The Sun and Cat - 太陽與貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-XF52","featured_media":{"alt":null,"id":25829629493347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e69d740f7db0ad27371373443902232940f1f6_25133e9d-b0b7-4c16-862d-de83763f91b4.webp?v=1752648895"}},"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: "停產"
}