$product = {"id":7770050134115,"title":"iPhone 12 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心","handle":"iphone-12-pro-max-mod-nx-printable-xf57","description":null,"published_at":"2025-04-16T12:41:14+08:00","created_at":"2025-04-15T23:31:49+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 12 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":43305197011043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196950286435,"product_id":7770050134115,"position":3,"created_at":"2025-07-16T14:55:03+08:00","updated_at":"2025-07-16T14:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239de9e72a322a402e60ece8d92c423c84b99ba9_d293c004-60c4-473a-a74e-b4413236dc8b.webp?v=1752648905","variant_ids":[43305197011043]},"available":true,"name":"iPhone 12 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118724-XF57","featured_media":{"alt":null,"id":25829633392739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239de9e72a322a402e60ece8d92c423c84b99ba9_d293c004-60c4-473a-a74e-b4413236dc8b.webp?v=1752648905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a51c4bd8c77ac93381d197d509bbc82980e3ab6_28515378-303a-47d7-b0f5-20645f2434ec.webp?v=1744731117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0338674ffb29f1cae42ef7cf708838755cb7b56f_78a07ac7-e06b-4db9-830d-dabcc86cc667.webp?v=1752648904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239de9e72a322a402e60ece8d92c423c84b99ba9_d293c004-60c4-473a-a74e-b4413236dc8b.webp?v=1752648905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e4f14f4919ebb1594916f1011ab7a96c80c3e6f_4fc81f9a-17f4-4979-878d-66daf60fd01c.webp?v=1752648905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/889490ce3fe6d52e8fa5bd6e3bd463a562854684_1412e901-e750-4912-b37e-1b2a3f906eca.webp?v=1752648907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88a83f9dc499a113f604a9eb3b2e38787859fa23_db8d7672-5ffa-4e5a-8b22-00ad7e55fc00.webp?v=1752648907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeb11b759683e7a1a3ad52ff216051fda2af1d05_92b98bc6-e8da-42d0-bbc1-4a182366daa1.webp?v=1752648908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77670be18e7d5962f6efb9642575cd80641d125_c9974382-bf3e-4c51-8e8a-d34a4e1244d0.webp?v=1752648908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9085241b262ee330893adcc682c8dd5150062c_8963d031-7943-4c8e-8fad-88d398183d19.webp?v=1752648909","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed01df73033f704003758f06ca3a27588adb2fc2_411c6290-6a29-4e80-8124-516e3a0e123a.webp?v=1752648910","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/844046365fabedb0d4c46158499bf97b35afa740_7c5bf445-8579-4f46-ad3a-3712707f1a04.webp?v=1752648910"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a51c4bd8c77ac93381d197d509bbc82980e3ab6_28515378-303a-47d7-b0f5-20645f2434ec.webp?v=1744731117","options":["color"],"media":[{"alt":null,"id":25496800919651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a51c4bd8c77ac93381d197d509bbc82980e3ab6_28515378-303a-47d7-b0f5-20645f2434ec.webp?v=1744731117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a51c4bd8c77ac93381d197d509bbc82980e3ab6_28515378-303a-47d7-b0f5-20645f2434ec.webp?v=1744731117","width":2000},{"alt":null,"id":25829632901219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0338674ffb29f1cae42ef7cf708838755cb7b56f_78a07ac7-e06b-4db9-830d-dabcc86cc667.webp?v=1752648904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0338674ffb29f1cae42ef7cf708838755cb7b56f_78a07ac7-e06b-4db9-830d-dabcc86cc667.webp?v=1752648904","width":2000},{"alt":null,"id":25829633392739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239de9e72a322a402e60ece8d92c423c84b99ba9_d293c004-60c4-473a-a74e-b4413236dc8b.webp?v=1752648905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239de9e72a322a402e60ece8d92c423c84b99ba9_d293c004-60c4-473a-a74e-b4413236dc8b.webp?v=1752648905","width":2000},{"alt":null,"id":25829633622115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e4f14f4919ebb1594916f1011ab7a96c80c3e6f_4fc81f9a-17f4-4979-878d-66daf60fd01c.webp?v=1752648905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e4f14f4919ebb1594916f1011ab7a96c80c3e6f_4fc81f9a-17f4-4979-878d-66daf60fd01c.webp?v=1752648905","width":2000},{"alt":null,"id":25829633785955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/889490ce3fe6d52e8fa5bd6e3bd463a562854684_1412e901-e750-4912-b37e-1b2a3f906eca.webp?v=1752648907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/889490ce3fe6d52e8fa5bd6e3bd463a562854684_1412e901-e750-4912-b37e-1b2a3f906eca.webp?v=1752648907","width":2000},{"alt":null,"id":25829634113635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88a83f9dc499a113f604a9eb3b2e38787859fa23_db8d7672-5ffa-4e5a-8b22-00ad7e55fc00.webp?v=1752648907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88a83f9dc499a113f604a9eb3b2e38787859fa23_db8d7672-5ffa-4e5a-8b22-00ad7e55fc00.webp?v=1752648907","width":2000},{"alt":null,"id":25829634244707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeb11b759683e7a1a3ad52ff216051fda2af1d05_92b98bc6-e8da-42d0-bbc1-4a182366daa1.webp?v=1752648908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeb11b759683e7a1a3ad52ff216051fda2af1d05_92b98bc6-e8da-42d0-bbc1-4a182366daa1.webp?v=1752648908","width":2000},{"alt":null,"id":25829634408547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77670be18e7d5962f6efb9642575cd80641d125_c9974382-bf3e-4c51-8e8a-d34a4e1244d0.webp?v=1752648908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b77670be18e7d5962f6efb9642575cd80641d125_c9974382-bf3e-4c51-8e8a-d34a4e1244d0.webp?v=1752648908","width":2000},{"alt":null,"id":25829634572387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9085241b262ee330893adcc682c8dd5150062c_8963d031-7943-4c8e-8fad-88d398183d19.webp?v=1752648909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9085241b262ee330893adcc682c8dd5150062c_8963d031-7943-4c8e-8fad-88d398183d19.webp?v=1752648909","width":2000},{"alt":null,"id":25829634736227,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed01df73033f704003758f06ca3a27588adb2fc2_411c6290-6a29-4e80-8124-516e3a0e123a.webp?v=1752648910"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed01df73033f704003758f06ca3a27588adb2fc2_411c6290-6a29-4e80-8124-516e3a0e123a.webp?v=1752648910","width":2000},{"alt":null,"id":25829634900067,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/844046365fabedb0d4c46158499bf97b35afa740_7c5bf445-8579-4f46-ad3a-3712707f1a04.webp?v=1752648910"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/844046365fabedb0d4c46158499bf97b35afa740_7c5bf445-8579-4f46-ad3a-3712707f1a04.webp?v=1752648910","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43305197011043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196950286435,"product_id":7770050134115,"position":3,"created_at":"2025-07-16T14:55:03+08:00","updated_at":"2025-07-16T14:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239de9e72a322a402e60ece8d92c423c84b99ba9_d293c004-60c4-473a-a74e-b4413236dc8b.webp?v=1752648905","variant_ids":[43305197011043]},"available":true,"name":"iPhone 12 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118724-XF57","featured_media":{"alt":null,"id":25829633392739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239de9e72a322a402e60ece8d92c423c84b99ba9_d293c004-60c4-473a-a74e-b4413236dc8b.webp?v=1752648905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43305197011043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196950286435,"product_id":7770050134115,"position":3,"created_at":"2025-07-16T14:55:03+08:00","updated_at":"2025-07-16T14:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239de9e72a322a402e60ece8d92c423c84b99ba9_d293c004-60c4-473a-a74e-b4413236dc8b.webp?v=1752648905","variant_ids":[43305197011043]},"available":true,"name":"iPhone 12 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118724-XF57","featured_media":{"alt":null,"id":25829633392739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239de9e72a322a402e60ece8d92c423c84b99ba9_d293c004-60c4-473a-a74e-b4413236dc8b.webp?v=1752648905"}},"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: "停產"
}