$product = {"id":7769756696675,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-xf48","description":null,"published_at":"2025-07-16T17:02:02+08:00","created_at":"2025-04-15T20:17:24+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":43303845757027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197838430307,"product_id":7769756696675,"position":3,"created_at":"2025-07-16T15:23:20+08:00","updated_at":"2025-07-16T15:23:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c913a4ea87f6b0b7cec1ee9856f7b2ca6f280f8c_08163cb4-c815-46c2-b207-a5b7f87025e6.webp?v=1752650602","variant_ids":[43303845757027]},"available":true,"name":"iPhone 13 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":"MPB0123224-XF48","featured_media":{"alt":null,"id":25830129336419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c913a4ea87f6b0b7cec1ee9856f7b2ca6f280f8c_08163cb4-c815-46c2-b207-a5b7f87025e6.webp?v=1752650602"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303851098211,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197839020131,"product_id":7769756696675,"position":4,"created_at":"2025-07-16T15:23:21+08:00","updated_at":"2025-07-16T15:23:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b8fe88ca8c1c7a8fee126018cd6f6885ea5cbfd_5ff1c345-991b-4906-906a-b2f2f9b06e67.webp?v=1752650602","variant_ids":[43303851098211]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - 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-XF48","featured_media":{"alt":null,"id":25830129664099,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b8fe88ca8c1c7a8fee126018cd6f6885ea5cbfd_5ff1c345-991b-4906-906a-b2f2f9b06e67.webp?v=1752650602"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bc8dd6ee6c0c1e475141f24f03bcbac8b42c24f_78bd731c-8bc5-4d68-ad87-eb8fd658b146.webp?v=1744719452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbebb9406ab2c2f4d5a976dd25d5356760bdd2bd_426c7bdb-8ad4-4569-8475-55216d5bee6b.webp?v=1752650601","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c913a4ea87f6b0b7cec1ee9856f7b2ca6f280f8c_08163cb4-c815-46c2-b207-a5b7f87025e6.webp?v=1752650602","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b8fe88ca8c1c7a8fee126018cd6f6885ea5cbfd_5ff1c345-991b-4906-906a-b2f2f9b06e67.webp?v=1752650602","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18502fac37ceafb056c93bbfec8f56184da7a33_79077927-b709-42c8-a8e8-63db4d3a336e.webp?v=1752650603","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76750f68f5482880d32303a254c073da5165a5ce_69fdbbdb-04bd-44b5-b03b-0e3c7e99111c.webp?v=1752650604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef9d69ba5ec633e2034622e8781a7536cc15d922_0dcb7442-02e5-49b6-80c4-85684ace3192.webp?v=1752650604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877258b2572f57c7a8d4392be25ce03a9a37a323_fb64c653-f262-43fd-81dc-a37cd4cbfb68.webp?v=1752650605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31bb9e58d31e28516c392705c4c173f4df0cb724_7e9c1bf1-677d-4587-8a45-d9f9bd3956e8.webp?v=1752650605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe8a2891320e4ecd30036295cc7b325145051ba2_d8b2004e-d5ea-4b40-92a1-c7e3af970be0.webp?v=1752650606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5bc9deb9fadaeb47afc741afe3e82e25aa20842_49f6c231-36d0-4db1-a34e-a0ebda0baf40.webp?v=1752650606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde9f5173227e25298f68c8c431012f34390be_4a9dff88-3bee-4f58-b8b4-fa8887c06ae4.webp?v=1752650607"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bc8dd6ee6c0c1e475141f24f03bcbac8b42c24f_78bd731c-8bc5-4d68-ad87-eb8fd658b146.webp?v=1744719452","options":["color"],"media":[{"alt":null,"id":25496247795811,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bc8dd6ee6c0c1e475141f24f03bcbac8b42c24f_78bd731c-8bc5-4d68-ad87-eb8fd658b146.webp?v=1744719452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bc8dd6ee6c0c1e475141f24f03bcbac8b42c24f_78bd731c-8bc5-4d68-ad87-eb8fd658b146.webp?v=1744719452","width":2000},{"alt":null,"id":25830129008739,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbebb9406ab2c2f4d5a976dd25d5356760bdd2bd_426c7bdb-8ad4-4569-8475-55216d5bee6b.webp?v=1752650601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbebb9406ab2c2f4d5a976dd25d5356760bdd2bd_426c7bdb-8ad4-4569-8475-55216d5bee6b.webp?v=1752650601","width":2000},{"alt":null,"id":25830129336419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c913a4ea87f6b0b7cec1ee9856f7b2ca6f280f8c_08163cb4-c815-46c2-b207-a5b7f87025e6.webp?v=1752650602"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c913a4ea87f6b0b7cec1ee9856f7b2ca6f280f8c_08163cb4-c815-46c2-b207-a5b7f87025e6.webp?v=1752650602","width":2000},{"alt":null,"id":25830129664099,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b8fe88ca8c1c7a8fee126018cd6f6885ea5cbfd_5ff1c345-991b-4906-906a-b2f2f9b06e67.webp?v=1752650602"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b8fe88ca8c1c7a8fee126018cd6f6885ea5cbfd_5ff1c345-991b-4906-906a-b2f2f9b06e67.webp?v=1752650602","width":2000},{"alt":null,"id":25830129959011,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18502fac37ceafb056c93bbfec8f56184da7a33_79077927-b709-42c8-a8e8-63db4d3a336e.webp?v=1752650603"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18502fac37ceafb056c93bbfec8f56184da7a33_79077927-b709-42c8-a8e8-63db4d3a336e.webp?v=1752650603","width":2000},{"alt":null,"id":25830130221155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76750f68f5482880d32303a254c073da5165a5ce_69fdbbdb-04bd-44b5-b03b-0e3c7e99111c.webp?v=1752650604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76750f68f5482880d32303a254c073da5165a5ce_69fdbbdb-04bd-44b5-b03b-0e3c7e99111c.webp?v=1752650604","width":2000},{"alt":null,"id":25830130548835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef9d69ba5ec633e2034622e8781a7536cc15d922_0dcb7442-02e5-49b6-80c4-85684ace3192.webp?v=1752650604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef9d69ba5ec633e2034622e8781a7536cc15d922_0dcb7442-02e5-49b6-80c4-85684ace3192.webp?v=1752650604","width":2000},{"alt":null,"id":25830130810979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877258b2572f57c7a8d4392be25ce03a9a37a323_fb64c653-f262-43fd-81dc-a37cd4cbfb68.webp?v=1752650605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877258b2572f57c7a8d4392be25ce03a9a37a323_fb64c653-f262-43fd-81dc-a37cd4cbfb68.webp?v=1752650605","width":2000},{"alt":null,"id":25830131171427,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31bb9e58d31e28516c392705c4c173f4df0cb724_7e9c1bf1-677d-4587-8a45-d9f9bd3956e8.webp?v=1752650605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31bb9e58d31e28516c392705c4c173f4df0cb724_7e9c1bf1-677d-4587-8a45-d9f9bd3956e8.webp?v=1752650605","width":2000},{"alt":null,"id":25830131794019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe8a2891320e4ecd30036295cc7b325145051ba2_d8b2004e-d5ea-4b40-92a1-c7e3af970be0.webp?v=1752650606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe8a2891320e4ecd30036295cc7b325145051ba2_d8b2004e-d5ea-4b40-92a1-c7e3af970be0.webp?v=1752650606","width":2000},{"alt":null,"id":25830132088931,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5bc9deb9fadaeb47afc741afe3e82e25aa20842_49f6c231-36d0-4db1-a34e-a0ebda0baf40.webp?v=1752650606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5bc9deb9fadaeb47afc741afe3e82e25aa20842_49f6c231-36d0-4db1-a34e-a0ebda0baf40.webp?v=1752650606","width":2000},{"alt":null,"id":25830132482147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde9f5173227e25298f68c8c431012f34390be_4a9dff88-3bee-4f58-b8b4-fa8887c06ae4.webp?v=1752650607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30dde9f5173227e25298f68c8c431012f34390be_4a9dff88-3bee-4f58-b8b4-fa8887c06ae4.webp?v=1752650607","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43303845757027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197838430307,"product_id":7769756696675,"position":3,"created_at":"2025-07-16T15:23:20+08:00","updated_at":"2025-07-16T15:23:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c913a4ea87f6b0b7cec1ee9856f7b2ca6f280f8c_08163cb4-c815-46c2-b207-a5b7f87025e6.webp?v=1752650602","variant_ids":[43303845757027]},"available":true,"name":"iPhone 13 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":"MPB0123224-XF48","featured_media":{"alt":null,"id":25830129336419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c913a4ea87f6b0b7cec1ee9856f7b2ca6f280f8c_08163cb4-c815-46c2-b207-a5b7f87025e6.webp?v=1752650602"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303851098211,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197839020131,"product_id":7769756696675,"position":4,"created_at":"2025-07-16T15:23:21+08:00","updated_at":"2025-07-16T15:23:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b8fe88ca8c1c7a8fee126018cd6f6885ea5cbfd_5ff1c345-991b-4906-906a-b2f2f9b06e67.webp?v=1752650602","variant_ids":[43303851098211]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - 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-XF48","featured_media":{"alt":null,"id":25830129664099,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b8fe88ca8c1c7a8fee126018cd6f6885ea5cbfd_5ff1c345-991b-4906-906a-b2f2f9b06e67.webp?v=1752650602"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43303845757027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34197838430307,"product_id":7769756696675,"position":3,"created_at":"2025-07-16T15:23:20+08:00","updated_at":"2025-07-16T15:23:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c913a4ea87f6b0b7cec1ee9856f7b2ca6f280f8c_08163cb4-c815-46c2-b207-a5b7f87025e6.webp?v=1752650602","variant_ids":[43303845757027]},"available":true,"name":"iPhone 13 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":"MPB0123224-XF48","featured_media":{"alt":null,"id":25830129336419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c913a4ea87f6b0b7cec1ee9856f7b2ca6f280f8c_08163cb4-c815-46c2-b207-a5b7f87025e6.webp?v=1752650602"}},"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: "停產"
}