$product = {"id":7769523388515,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Stay Curious - 保持好奇心","handle":"iphone-12-pro-max-mod-nx-magsafe-printable-xf57","description":null,"published_at":"2025-07-16T17:27:16+08:00","created_at":"2025-04-15T17:17:42+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":43302750093411,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197735014499,"product_id":7769523388515,"position":11,"created_at":"2025-07-16T15:21:47+08:00","updated_at":"2025-07-16T15:21:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9256b1b50a4316c2dce928bf2ae22ba9ac91cbc0_5d1ff2c4-fe18-453b-b493-a575aba11e98.webp?v=1752650509","variant_ids":[43302750093411]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25830074679395,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9256b1b50a4316c2dce928bf2ae22ba9ac91cbc0_5d1ff2c4-fe18-453b-b493-a575aba11e98.webp?v=1752650509"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a51c4bd8c77ac93381d197d509bbc82980e3ab6.webp?v=1744708670","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499818838e652aca7f529d9c93b4f874e4cc5d3f_e7d9ba36-939e-4b60-b2bb-aac2701c665a.webp?v=1752650505","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eae4bb514400a098c68fe96cd85970f02a3e3227_6278bf7b-966e-477c-8955-db7a06b38b98.webp?v=1752650505","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122050f843cf93514736f2d7a134b5505245a928_78da4450-a6dd-4c16-8865-ffd1f8edfeaf.webp?v=1752650506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f6ce89c473947856f5d193b18060c3966949bbe_a9e842e3-9e07-4e8c-bbed-51ed58455fdb.webp?v=1752650506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fe1f9a0724fd11e767675fbdd8422d2ba8a989_1d16eefd-af69-4b4e-bd8f-03091d682725.webp?v=1752650507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaa96ee6b69b1a5429df63393292d12007e80d63_0003c00c-dd74-4bc8-b9ad-d7cb6bdeaeb8.webp?v=1752650507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5f470f6ac4e59ec73dd740acf38f007f68f337_8292c230-9a42-4e4e-b3ef-b626baa3cda8.webp?v=1752650508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f7be2d04f0c32bff49f380b9454213920f9eee_71f529a6-3cc7-46dc-8726-b0e036863a6c.webp?v=1752650508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0cb6b7c3aa311d4b667ad0ce9bfa55765481f5_641f3ec1-15d7-4b0f-a31f-ecd3f7f3519d.webp?v=1752650509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9256b1b50a4316c2dce928bf2ae22ba9ac91cbc0_5d1ff2c4-fe18-453b-b493-a575aba11e98.webp?v=1752650509"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a51c4bd8c77ac93381d197d509bbc82980e3ab6.webp?v=1744708670","options":["color"],"media":[{"alt":null,"id":25495696212067,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a51c4bd8c77ac93381d197d509bbc82980e3ab6.webp?v=1744708670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a51c4bd8c77ac93381d197d509bbc82980e3ab6.webp?v=1744708670","width":2000},{"alt":null,"id":25830071435363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499818838e652aca7f529d9c93b4f874e4cc5d3f_e7d9ba36-939e-4b60-b2bb-aac2701c665a.webp?v=1752650505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499818838e652aca7f529d9c93b4f874e4cc5d3f_e7d9ba36-939e-4b60-b2bb-aac2701c665a.webp?v=1752650505","width":2000},{"alt":null,"id":25830071599203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eae4bb514400a098c68fe96cd85970f02a3e3227_6278bf7b-966e-477c-8955-db7a06b38b98.webp?v=1752650505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eae4bb514400a098c68fe96cd85970f02a3e3227_6278bf7b-966e-477c-8955-db7a06b38b98.webp?v=1752650505","width":2000},{"alt":null,"id":25830071664739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122050f843cf93514736f2d7a134b5505245a928_78da4450-a6dd-4c16-8865-ffd1f8edfeaf.webp?v=1752650506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122050f843cf93514736f2d7a134b5505245a928_78da4450-a6dd-4c16-8865-ffd1f8edfeaf.webp?v=1752650506","width":2000},{"alt":null,"id":25830071861347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f6ce89c473947856f5d193b18060c3966949bbe_a9e842e3-9e07-4e8c-bbed-51ed58455fdb.webp?v=1752650506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f6ce89c473947856f5d193b18060c3966949bbe_a9e842e3-9e07-4e8c-bbed-51ed58455fdb.webp?v=1752650506","width":2000},{"alt":null,"id":25830072090723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fe1f9a0724fd11e767675fbdd8422d2ba8a989_1d16eefd-af69-4b4e-bd8f-03091d682725.webp?v=1752650507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fe1f9a0724fd11e767675fbdd8422d2ba8a989_1d16eefd-af69-4b4e-bd8f-03091d682725.webp?v=1752650507","width":2000},{"alt":null,"id":25830072647779,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaa96ee6b69b1a5429df63393292d12007e80d63_0003c00c-dd74-4bc8-b9ad-d7cb6bdeaeb8.webp?v=1752650507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaa96ee6b69b1a5429df63393292d12007e80d63_0003c00c-dd74-4bc8-b9ad-d7cb6bdeaeb8.webp?v=1752650507","width":2000},{"alt":null,"id":25830073073763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5f470f6ac4e59ec73dd740acf38f007f68f337_8292c230-9a42-4e4e-b3ef-b626baa3cda8.webp?v=1752650508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5f470f6ac4e59ec73dd740acf38f007f68f337_8292c230-9a42-4e4e-b3ef-b626baa3cda8.webp?v=1752650508","width":2000},{"alt":null,"id":25830073499747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f7be2d04f0c32bff49f380b9454213920f9eee_71f529a6-3cc7-46dc-8726-b0e036863a6c.webp?v=1752650508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23f7be2d04f0c32bff49f380b9454213920f9eee_71f529a6-3cc7-46dc-8726-b0e036863a6c.webp?v=1752650508","width":2000},{"alt":null,"id":25830074122339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0cb6b7c3aa311d4b667ad0ce9bfa55765481f5_641f3ec1-15d7-4b0f-a31f-ecd3f7f3519d.webp?v=1752650509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca0cb6b7c3aa311d4b667ad0ce9bfa55765481f5_641f3ec1-15d7-4b0f-a31f-ecd3f7f3519d.webp?v=1752650509","width":2000},{"alt":null,"id":25830074679395,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9256b1b50a4316c2dce928bf2ae22ba9ac91cbc0_5d1ff2c4-fe18-453b-b493-a575aba11e98.webp?v=1752650509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9256b1b50a4316c2dce928bf2ae22ba9ac91cbc0_5d1ff2c4-fe18-453b-b493-a575aba11e98.webp?v=1752650509","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302750093411,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197735014499,"product_id":7769523388515,"position":11,"created_at":"2025-07-16T15:21:47+08:00","updated_at":"2025-07-16T15:21:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9256b1b50a4316c2dce928bf2ae22ba9ac91cbc0_5d1ff2c4-fe18-453b-b493-a575aba11e98.webp?v=1752650509","variant_ids":[43302750093411]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25830074679395,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9256b1b50a4316c2dce928bf2ae22ba9ac91cbc0_5d1ff2c4-fe18-453b-b493-a575aba11e98.webp?v=1752650509"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302750093411,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197735014499,"product_id":7769523388515,"position":11,"created_at":"2025-07-16T15:21:47+08:00","updated_at":"2025-07-16T15:21:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9256b1b50a4316c2dce928bf2ae22ba9ac91cbc0_5d1ff2c4-fe18-453b-b493-a575aba11e98.webp?v=1752650509","variant_ids":[43302750093411]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25830074679395,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9256b1b50a4316c2dce928bf2ae22ba9ac91cbc0_5d1ff2c4-fe18-453b-b493-a575aba11e98.webp?v=1752650509"}},"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: "停產"
}