$product = {"id":7769936330851,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-xf46","description":null,"published_at":"2025-04-16T13:24:33+08:00","created_at":"2025-04-15T22:18:53+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 13 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":43304680489059,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197755527267,"product_id":7769936330851,"position":9,"created_at":"2025-07-16T15:22:06+08:00","updated_at":"2025-07-16T15:22:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0889ce27ca48cd9a51d2b005956cbcf167ce6276_4cedd5e9-0791-483d-8838-0a16cc1a30b6.webp?v=1752650528","variant_ids":[43304680489059]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-XF46","featured_media":{"alt":null,"id":25830085558371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0889ce27ca48cd9a51d2b005956cbcf167ce6276_4cedd5e9-0791-483d-8838-0a16cc1a30b6.webp?v=1752650528"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304686583907,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197754347619,"product_id":7769936330851,"position":8,"created_at":"2025-07-16T15:22:05+08:00","updated_at":"2025-07-16T15:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdcfeca33fc15b68adbe5dd6138986e9a119de5e_3bfc2a17-5798-451e-b856-b2ff20a7b3ff.webp?v=1752650527","variant_ids":[43304686583907]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-XF46","featured_media":{"alt":null,"id":25830084804707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdcfeca33fc15b68adbe5dd6138986e9a119de5e_3bfc2a17-5798-451e-b856-b2ff20a7b3ff.webp?v=1752650527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9165470137867ec6353ec2070ed9565260fd0a6a_59b01a8e-4964-4c3d-98b0-2f4ac9c40875.webp?v=1744726741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df0aa7aa56953bf051a8da20bee6bb5a279c0965_8a21beb4-43a7-4bda-b61a-ae9934128f26.webp?v=1752650523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a09260b3591ee5f01c1cc67fb46b3a2beb3fd77_a1ac0106-120d-448c-a565-8cdec39dfc07.webp?v=1752650523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a5f518711d7029c603175d186e48b9f81ce759_873e9446-3451-40ff-8966-399505fe0b54.webp?v=1752650524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e70104a3e59c601410d03cfff6ef734d1c2d10_6bb9a4c1-f821-4d8f-b70e-2925692ea913.webp?v=1752650525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac3772a17fbb73f160c54090e11e2859b631ecd_19de9a3e-1edd-4c8f-b399-837ede274749.webp?v=1752650525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ec5e0b4d849f37cd29837b2315e30f275b59852_234908ec-c10a-4da0-a8e3-26ac85fc1ab7.webp?v=1752650526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdcfeca33fc15b68adbe5dd6138986e9a119de5e_3bfc2a17-5798-451e-b856-b2ff20a7b3ff.webp?v=1752650527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0889ce27ca48cd9a51d2b005956cbcf167ce6276_4cedd5e9-0791-483d-8838-0a16cc1a30b6.webp?v=1752650528","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cbdd5b719891a9c5ad8e6da69b855c0b0eb73de_67a84830-e1f2-4935-8a2d-461fee85d1e2.webp?v=1752650529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0e1412d6a20e892abac6f414f732134a5c4cb07_67a64d9b-37ee-4e98-b89d-16f98a3df605.webp?v=1752650529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7137d17c1f69a2193ef576a3744d8e6b0caac080_fee7422f-828f-4e3f-9442-24bdb7949eff.webp?v=1752650531"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9165470137867ec6353ec2070ed9565260fd0a6a_59b01a8e-4964-4c3d-98b0-2f4ac9c40875.webp?v=1744726741","options":["color"],"media":[{"alt":null,"id":25496552472675,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9165470137867ec6353ec2070ed9565260fd0a6a_59b01a8e-4964-4c3d-98b0-2f4ac9c40875.webp?v=1744726741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9165470137867ec6353ec2070ed9565260fd0a6a_59b01a8e-4964-4c3d-98b0-2f4ac9c40875.webp?v=1744726741","width":2000},{"alt":null,"id":25830081724515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df0aa7aa56953bf051a8da20bee6bb5a279c0965_8a21beb4-43a7-4bda-b61a-ae9934128f26.webp?v=1752650523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df0aa7aa56953bf051a8da20bee6bb5a279c0965_8a21beb4-43a7-4bda-b61a-ae9934128f26.webp?v=1752650523","width":2000},{"alt":null,"id":25830082150499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a09260b3591ee5f01c1cc67fb46b3a2beb3fd77_a1ac0106-120d-448c-a565-8cdec39dfc07.webp?v=1752650523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a09260b3591ee5f01c1cc67fb46b3a2beb3fd77_a1ac0106-120d-448c-a565-8cdec39dfc07.webp?v=1752650523","width":2000},{"alt":null,"id":25830082510947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a5f518711d7029c603175d186e48b9f81ce759_873e9446-3451-40ff-8966-399505fe0b54.webp?v=1752650524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a5f518711d7029c603175d186e48b9f81ce759_873e9446-3451-40ff-8966-399505fe0b54.webp?v=1752650524","width":2000},{"alt":null,"id":25830083002467,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e70104a3e59c601410d03cfff6ef734d1c2d10_6bb9a4c1-f821-4d8f-b70e-2925692ea913.webp?v=1752650525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e70104a3e59c601410d03cfff6ef734d1c2d10_6bb9a4c1-f821-4d8f-b70e-2925692ea913.webp?v=1752650525","width":2000},{"alt":null,"id":25830083526755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac3772a17fbb73f160c54090e11e2859b631ecd_19de9a3e-1edd-4c8f-b399-837ede274749.webp?v=1752650525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac3772a17fbb73f160c54090e11e2859b631ecd_19de9a3e-1edd-4c8f-b399-837ede274749.webp?v=1752650525","width":2000},{"alt":null,"id":25830084345955,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ec5e0b4d849f37cd29837b2315e30f275b59852_234908ec-c10a-4da0-a8e3-26ac85fc1ab7.webp?v=1752650526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ec5e0b4d849f37cd29837b2315e30f275b59852_234908ec-c10a-4da0-a8e3-26ac85fc1ab7.webp?v=1752650526","width":2000},{"alt":null,"id":25830084804707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdcfeca33fc15b68adbe5dd6138986e9a119de5e_3bfc2a17-5798-451e-b856-b2ff20a7b3ff.webp?v=1752650527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdcfeca33fc15b68adbe5dd6138986e9a119de5e_3bfc2a17-5798-451e-b856-b2ff20a7b3ff.webp?v=1752650527","width":2000},{"alt":null,"id":25830085558371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0889ce27ca48cd9a51d2b005956cbcf167ce6276_4cedd5e9-0791-483d-8838-0a16cc1a30b6.webp?v=1752650528"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0889ce27ca48cd9a51d2b005956cbcf167ce6276_4cedd5e9-0791-483d-8838-0a16cc1a30b6.webp?v=1752650528","width":2000},{"alt":null,"id":25830085918819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cbdd5b719891a9c5ad8e6da69b855c0b0eb73de_67a84830-e1f2-4935-8a2d-461fee85d1e2.webp?v=1752650529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cbdd5b719891a9c5ad8e6da69b855c0b0eb73de_67a84830-e1f2-4935-8a2d-461fee85d1e2.webp?v=1752650529","width":2000},{"alt":null,"id":25830086312035,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0e1412d6a20e892abac6f414f732134a5c4cb07_67a64d9b-37ee-4e98-b89d-16f98a3df605.webp?v=1752650529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0e1412d6a20e892abac6f414f732134a5c4cb07_67a64d9b-37ee-4e98-b89d-16f98a3df605.webp?v=1752650529","width":2000},{"alt":null,"id":25830086803555,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7137d17c1f69a2193ef576a3744d8e6b0caac080_fee7422f-828f-4e3f-9442-24bdb7949eff.webp?v=1752650531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7137d17c1f69a2193ef576a3744d8e6b0caac080_fee7422f-828f-4e3f-9442-24bdb7949eff.webp?v=1752650531","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43304680489059,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197755527267,"product_id":7769936330851,"position":9,"created_at":"2025-07-16T15:22:06+08:00","updated_at":"2025-07-16T15:22:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0889ce27ca48cd9a51d2b005956cbcf167ce6276_4cedd5e9-0791-483d-8838-0a16cc1a30b6.webp?v=1752650528","variant_ids":[43304680489059]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-XF46","featured_media":{"alt":null,"id":25830085558371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0889ce27ca48cd9a51d2b005956cbcf167ce6276_4cedd5e9-0791-483d-8838-0a16cc1a30b6.webp?v=1752650528"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304686583907,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197754347619,"product_id":7769936330851,"position":8,"created_at":"2025-07-16T15:22:05+08:00","updated_at":"2025-07-16T15:22:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdcfeca33fc15b68adbe5dd6138986e9a119de5e_3bfc2a17-5798-451e-b856-b2ff20a7b3ff.webp?v=1752650527","variant_ids":[43304686583907]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-XF46","featured_media":{"alt":null,"id":25830084804707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdcfeca33fc15b68adbe5dd6138986e9a119de5e_3bfc2a17-5798-451e-b856-b2ff20a7b3ff.webp?v=1752650527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43304680489059,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34197755527267,"product_id":7769936330851,"position":9,"created_at":"2025-07-16T15:22:06+08:00","updated_at":"2025-07-16T15:22:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0889ce27ca48cd9a51d2b005956cbcf167ce6276_4cedd5e9-0791-483d-8838-0a16cc1a30b6.webp?v=1752650528","variant_ids":[43304680489059]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-XF46","featured_media":{"alt":null,"id":25830085558371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0889ce27ca48cd9a51d2b005956cbcf167ce6276_4cedd5e9-0791-483d-8838-0a16cc1a30b6.webp?v=1752650528"}},"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: "停產"
}