$product = {"id":7769415942243,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓","handle":"iphone-12-pro-max-mod-nx-magsafe-printable-xf50","description":null,"published_at":"2025-07-16T17:38:50+08:00","created_at":"2025-04-15T15:44:07+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":43302226690147,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197829124195,"product_id":7769415942243,"position":3,"created_at":"2025-07-16T15:23:11+08:00","updated_at":"2025-07-16T15:23:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85dafcd34df88e4a6830b7bc185b84614dd1cbdd_a1026e6c-65d3-4146-99bc-72dced061401.webp?v=1752650593","variant_ids":[43302226690147]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25830124028003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85dafcd34df88e4a6830b7bc185b84614dd1cbdd_a1026e6c-65d3-4146-99bc-72dced061401.webp?v=1752650593"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0e5023eb6bb0f903fe9d0fbc2bdf0a28a89af8.webp?v=1744703055","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aacb45f8145ded6c2c651b5e6abfcce11d4e790_ec8a3887-ad66-4f19-8a52-8411627192e7.webp?v=1752650592","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85dafcd34df88e4a6830b7bc185b84614dd1cbdd_a1026e6c-65d3-4146-99bc-72dced061401.webp?v=1752650593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee036c48e923086fe6ac4a22d55a73a5dba68ce_ca97e0f2-e4df-4122-a63e-5479b872fccc.webp?v=1752650594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7340634c3ee403e1e10bb3d67105cfb0101223b0_a9f2e396-893f-4c93-98a9-0b4b0796a00a.webp?v=1752650594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acd7ae64c4587960812a2d863745daf5cc606aa8_72d6eb54-11f7-4527-b59a-007123b758de.webp?v=1752650594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2df2e5bd186e9c771815a9874a5b46003991c6a_a0fe051c-6183-4d1c-8f92-66b7d6e91085.webp?v=1752650595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea34a1d80228c4d0117abf5083a7fb1f023b0ca_af7a98ad-39ea-44e8-aecd-840ef49f1fe5.webp?v=1752650596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d59cea5ae8e17177f957cfcd17cb9eb3f25650b8_ca21bb5e-7dfd-44d4-b42b-72d4f31de291.webp?v=1752650596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4221d17271e7be924b27e819c36cc89e100aec_11c0e02b-9575-4c9d-9dc0-ebbcc3853f8f.webp?v=1752650597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e332019c97a4fcb20c24ed057367d60f324bd4_a00a2da4-e2dd-48a8-ba91-08f58f7cf407.webp?v=1752650597"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0e5023eb6bb0f903fe9d0fbc2bdf0a28a89af8.webp?v=1744703055","options":["color"],"media":[{"alt":null,"id":25495354900579,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0e5023eb6bb0f903fe9d0fbc2bdf0a28a89af8.webp?v=1744703055"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a0e5023eb6bb0f903fe9d0fbc2bdf0a28a89af8.webp?v=1744703055","width":2000},{"alt":null,"id":25830123667555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aacb45f8145ded6c2c651b5e6abfcce11d4e790_ec8a3887-ad66-4f19-8a52-8411627192e7.webp?v=1752650592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aacb45f8145ded6c2c651b5e6abfcce11d4e790_ec8a3887-ad66-4f19-8a52-8411627192e7.webp?v=1752650592","width":2000},{"alt":null,"id":25830124028003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85dafcd34df88e4a6830b7bc185b84614dd1cbdd_a1026e6c-65d3-4146-99bc-72dced061401.webp?v=1752650593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85dafcd34df88e4a6830b7bc185b84614dd1cbdd_a1026e6c-65d3-4146-99bc-72dced061401.webp?v=1752650593","width":2000},{"alt":null,"id":25830124552291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee036c48e923086fe6ac4a22d55a73a5dba68ce_ca97e0f2-e4df-4122-a63e-5479b872fccc.webp?v=1752650594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee036c48e923086fe6ac4a22d55a73a5dba68ce_ca97e0f2-e4df-4122-a63e-5479b872fccc.webp?v=1752650594","width":2000},{"alt":null,"id":25830125043811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7340634c3ee403e1e10bb3d67105cfb0101223b0_a9f2e396-893f-4c93-98a9-0b4b0796a00a.webp?v=1752650594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7340634c3ee403e1e10bb3d67105cfb0101223b0_a9f2e396-893f-4c93-98a9-0b4b0796a00a.webp?v=1752650594","width":2000},{"alt":null,"id":25830125273187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acd7ae64c4587960812a2d863745daf5cc606aa8_72d6eb54-11f7-4527-b59a-007123b758de.webp?v=1752650594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acd7ae64c4587960812a2d863745daf5cc606aa8_72d6eb54-11f7-4527-b59a-007123b758de.webp?v=1752650594","width":2000},{"alt":null,"id":25830125600867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2df2e5bd186e9c771815a9874a5b46003991c6a_a0fe051c-6183-4d1c-8f92-66b7d6e91085.webp?v=1752650595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2df2e5bd186e9c771815a9874a5b46003991c6a_a0fe051c-6183-4d1c-8f92-66b7d6e91085.webp?v=1752650595","width":2000},{"alt":null,"id":25830125961315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea34a1d80228c4d0117abf5083a7fb1f023b0ca_af7a98ad-39ea-44e8-aecd-840ef49f1fe5.webp?v=1752650596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea34a1d80228c4d0117abf5083a7fb1f023b0ca_af7a98ad-39ea-44e8-aecd-840ef49f1fe5.webp?v=1752650596","width":2000},{"alt":null,"id":25830126288995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d59cea5ae8e17177f957cfcd17cb9eb3f25650b8_ca21bb5e-7dfd-44d4-b42b-72d4f31de291.webp?v=1752650596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d59cea5ae8e17177f957cfcd17cb9eb3f25650b8_ca21bb5e-7dfd-44d4-b42b-72d4f31de291.webp?v=1752650596","width":2000},{"alt":null,"id":25830126551139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4221d17271e7be924b27e819c36cc89e100aec_11c0e02b-9575-4c9d-9dc0-ebbcc3853f8f.webp?v=1752650597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4221d17271e7be924b27e819c36cc89e100aec_11c0e02b-9575-4c9d-9dc0-ebbcc3853f8f.webp?v=1752650597","width":2000},{"alt":null,"id":25830126780515,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e332019c97a4fcb20c24ed057367d60f324bd4_a00a2da4-e2dd-48a8-ba91-08f58f7cf407.webp?v=1752650597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e332019c97a4fcb20c24ed057367d60f324bd4_a00a2da4-e2dd-48a8-ba91-08f58f7cf407.webp?v=1752650597","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302226690147,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197829124195,"product_id":7769415942243,"position":3,"created_at":"2025-07-16T15:23:11+08:00","updated_at":"2025-07-16T15:23:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85dafcd34df88e4a6830b7bc185b84614dd1cbdd_a1026e6c-65d3-4146-99bc-72dced061401.webp?v=1752650593","variant_ids":[43302226690147]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25830124028003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85dafcd34df88e4a6830b7bc185b84614dd1cbdd_a1026e6c-65d3-4146-99bc-72dced061401.webp?v=1752650593"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302226690147,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34197829124195,"product_id":7769415942243,"position":3,"created_at":"2025-07-16T15:23:11+08:00","updated_at":"2025-07-16T15:23:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85dafcd34df88e4a6830b7bc185b84614dd1cbdd_a1026e6c-65d3-4146-99bc-72dced061401.webp?v=1752650593","variant_ids":[43302226690147]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25830124028003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85dafcd34df88e4a6830b7bc185b84614dd1cbdd_a1026e6c-65d3-4146-99bc-72dced061401.webp?v=1752650593"}},"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: "停產"
}