$product = {"id":7769571623011,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓","handle":"iphone-12-pro-max-mod-nx-magsafe-printable-xf48","description":null,"published_at":"2025-07-16T17:22:32+08:00","created_at":"2025-04-15T17:55:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 12 Pro Max","merge","reseller-ilovedoodle"],"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":43302985138275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197744287843,"product_id":7769571623011,"position":4,"created_at":"2025-07-16T15:21:58+08:00","updated_at":"2025-07-16T15:22:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d72d69f23ab1aac183ef150b880fab136db8208_a3356f75-af52-4ab1-979c-f2e74a273a07.webp?v=1752650520","variant_ids":[43302985138275]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-XF48","featured_media":{"alt":null,"id":25830079627363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d72d69f23ab1aac183ef150b880fab136db8208_a3356f75-af52-4ab1-979c-f2e74a273a07.webp?v=1752650520"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70cbfa2c34ce0518c1dc1525a897026243c13f70.webp?v=1744710911","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a314baf4c2f13b7e0d8469ee5fe11a1a2a9665e_893b1653-22c8-4566-8448-0263c9e47a94.webp?v=1752650519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f245269a9a1c2e584eb976debc369b858c568599_783a926a-ef05-4b8f-9db1-380b8db94a48.webp?v=1752650519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d72d69f23ab1aac183ef150b880fab136db8208_a3356f75-af52-4ab1-979c-f2e74a273a07.webp?v=1752650520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ef3eb1539e3a5ba57ceb76a4b99a571808ab50c_ccd00068-cae2-405c-9a5e-68f40f5e6307.webp?v=1752650520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a2b837c79a4e821c7b9b6893607def3e0a31cf2_94b43f42-e72a-4006-99b3-9c7f8fd5044e.webp?v=1752650521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64e6ce7e0b34536f8a35cb376240152fc62d4c02_be4b741b-2cdc-4a3a-a5ae-69d3a4e4710d.webp?v=1752650521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b77e9cc5a83b2d64f7ab0aefbd6840baa70e15_adbf54cc-67d8-4e7c-91c1-c5676c1852a9.webp?v=1752650522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbda9ad980bc92ec79ccb47e1c3148c5908035e_72bb36c0-48c6-48fb-aae2-ccfd96d1f7a5.webp?v=1752650522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/994df4e3fc56103b5df52ac6433a969e9eefd845_e2e6e893-04fe-4284-a74a-6a0a300754e4.webp?v=1752650523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f97126b0fc146106e5ebc883cebddce0059e2ba3_f324e25c-30de-44c7-9bc6-4a3e17a5f1f6.webp?v=1752650523"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70cbfa2c34ce0518c1dc1525a897026243c13f70.webp?v=1744710911","options":["color"],"media":[{"alt":null,"id":25495842553955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70cbfa2c34ce0518c1dc1525a897026243c13f70.webp?v=1744710911"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70cbfa2c34ce0518c1dc1525a897026243c13f70.webp?v=1744710911","width":2000},{"alt":null,"id":25830079266915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a314baf4c2f13b7e0d8469ee5fe11a1a2a9665e_893b1653-22c8-4566-8448-0263c9e47a94.webp?v=1752650519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a314baf4c2f13b7e0d8469ee5fe11a1a2a9665e_893b1653-22c8-4566-8448-0263c9e47a94.webp?v=1752650519","width":2000},{"alt":null,"id":25830079430755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f245269a9a1c2e584eb976debc369b858c568599_783a926a-ef05-4b8f-9db1-380b8db94a48.webp?v=1752650519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f245269a9a1c2e584eb976debc369b858c568599_783a926a-ef05-4b8f-9db1-380b8db94a48.webp?v=1752650519","width":2000},{"alt":null,"id":25830079627363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d72d69f23ab1aac183ef150b880fab136db8208_a3356f75-af52-4ab1-979c-f2e74a273a07.webp?v=1752650520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d72d69f23ab1aac183ef150b880fab136db8208_a3356f75-af52-4ab1-979c-f2e74a273a07.webp?v=1752650520","width":2000},{"alt":null,"id":25830079856739,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ef3eb1539e3a5ba57ceb76a4b99a571808ab50c_ccd00068-cae2-405c-9a5e-68f40f5e6307.webp?v=1752650520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ef3eb1539e3a5ba57ceb76a4b99a571808ab50c_ccd00068-cae2-405c-9a5e-68f40f5e6307.webp?v=1752650520","width":2000},{"alt":null,"id":25830080217187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a2b837c79a4e821c7b9b6893607def3e0a31cf2_94b43f42-e72a-4006-99b3-9c7f8fd5044e.webp?v=1752650521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a2b837c79a4e821c7b9b6893607def3e0a31cf2_94b43f42-e72a-4006-99b3-9c7f8fd5044e.webp?v=1752650521","width":2000},{"alt":null,"id":25830080577635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64e6ce7e0b34536f8a35cb376240152fc62d4c02_be4b741b-2cdc-4a3a-a5ae-69d3a4e4710d.webp?v=1752650521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64e6ce7e0b34536f8a35cb376240152fc62d4c02_be4b741b-2cdc-4a3a-a5ae-69d3a4e4710d.webp?v=1752650521","width":2000},{"alt":null,"id":25830080905315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b77e9cc5a83b2d64f7ab0aefbd6840baa70e15_adbf54cc-67d8-4e7c-91c1-c5676c1852a9.webp?v=1752650522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b77e9cc5a83b2d64f7ab0aefbd6840baa70e15_adbf54cc-67d8-4e7c-91c1-c5676c1852a9.webp?v=1752650522","width":2000},{"alt":null,"id":25830081364067,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbda9ad980bc92ec79ccb47e1c3148c5908035e_72bb36c0-48c6-48fb-aae2-ccfd96d1f7a5.webp?v=1752650522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbda9ad980bc92ec79ccb47e1c3148c5908035e_72bb36c0-48c6-48fb-aae2-ccfd96d1f7a5.webp?v=1752650522","width":2000},{"alt":null,"id":25830081658979,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/994df4e3fc56103b5df52ac6433a969e9eefd845_e2e6e893-04fe-4284-a74a-6a0a300754e4.webp?v=1752650523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/994df4e3fc56103b5df52ac6433a969e9eefd845_e2e6e893-04fe-4284-a74a-6a0a300754e4.webp?v=1752650523","width":2000},{"alt":null,"id":25830082019427,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f97126b0fc146106e5ebc883cebddce0059e2ba3_f324e25c-30de-44c7-9bc6-4a3e17a5f1f6.webp?v=1752650523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f97126b0fc146106e5ebc883cebddce0059e2ba3_f324e25c-30de-44c7-9bc6-4a3e17a5f1f6.webp?v=1752650523","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302985138275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197744287843,"product_id":7769571623011,"position":4,"created_at":"2025-07-16T15:21:58+08:00","updated_at":"2025-07-16T15:22:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d72d69f23ab1aac183ef150b880fab136db8208_a3356f75-af52-4ab1-979c-f2e74a273a07.webp?v=1752650520","variant_ids":[43302985138275]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-XF48","featured_media":{"alt":null,"id":25830079627363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d72d69f23ab1aac183ef150b880fab136db8208_a3356f75-af52-4ab1-979c-f2e74a273a07.webp?v=1752650520"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302985138275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197744287843,"product_id":7769571623011,"position":4,"created_at":"2025-07-16T15:21:58+08:00","updated_at":"2025-07-16T15:22:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d72d69f23ab1aac183ef150b880fab136db8208_a3356f75-af52-4ab1-979c-f2e74a273a07.webp?v=1752650520","variant_ids":[43302985138275]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-XF48","featured_media":{"alt":null,"id":25830079627363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d72d69f23ab1aac183ef150b880fab136db8208_a3356f75-af52-4ab1-979c-f2e74a273a07.webp?v=1752650520"}},"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: "停產"
}