$product = {"id":7769570967651,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - Love Yourself","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-xf47","description":null,"published_at":"2025-07-16T17:22:36+08:00","created_at":"2025-04-15T17:54:26+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":43302979764323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197735800931,"product_id":7769570967651,"position":4,"created_at":"2025-07-16T15:21:48+08:00","updated_at":"2025-07-16T15:21:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ba57c1482072c54f839587dabf85edaa9eacab_eef0cf13-c810-4b62-8287-f879f4b55156.webp?v=1752650510","variant_ids":[43302979764323]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - Love Yourself - 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-XF47","featured_media":{"alt":null,"id":25830075269219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ba57c1482072c54f839587dabf85edaa9eacab_eef0cf13-c810-4b62-8287-f879f4b55156.webp?v=1752650510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302987333731,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197735702627,"product_id":7769570967651,"position":3,"created_at":"2025-07-16T15:21:48+08:00","updated_at":"2025-07-16T15:21:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07c84bf4bb9fdbf1a865c569e86aff19feea7d1_656472eb-eb07-4da1-b1a7-008ddb1677a0.webp?v=1752650510","variant_ids":[43302987333731]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - Love Yourself - 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-XF47","featured_media":{"alt":null,"id":25830074843235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07c84bf4bb9fdbf1a865c569e86aff19feea7d1_656472eb-eb07-4da1-b1a7-008ddb1677a0.webp?v=1752650510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12db04d8a8478121f3f46b4326d1696217ab9876.webp?v=1744710873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a93da43da869f9d3128de27cdb34961b2b97a03a_8d83c99b-d4c2-4089-b6fd-147d57e528e4.webp?v=1752650509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07c84bf4bb9fdbf1a865c569e86aff19feea7d1_656472eb-eb07-4da1-b1a7-008ddb1677a0.webp?v=1752650510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ba57c1482072c54f839587dabf85edaa9eacab_eef0cf13-c810-4b62-8287-f879f4b55156.webp?v=1752650510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d54a6d68a74a05f5d88bc98c40c43a0c9c1699d6_edb10648-f89c-4c72-b2f8-84ca30fd5468.webp?v=1752650510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b68d3103a15f302a3e8f2371b8415876f94360_e07afe73-5912-4ba2-a9f5-0cf0bc855377.webp?v=1752650511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c574e6b849e7d69fe95fd322e378e7b5bf09d731_ca27c8b2-f210-46b5-9d06-ef15519bdcca.webp?v=1752650512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/206c5169073a53ca8fe9f3e1c01ec7b38ae99906_6569b946-caeb-4e80-9b19-71f21ca91c60.webp?v=1752650513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4990654e257b2a51cb02ac4c8f3c11e9bba21cf_6cf69a70-23b5-4650-b4fe-bd3306835c80.webp?v=1752650513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dc8269e295e6440e44ed28515b7fe2595a98826_e05a25ee-9209-4502-b80b-095ed54e0832.webp?v=1752650514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0a22cd834a8479ba2838f6f01edf275f2f4dec7_fff12dc2-22ae-4592-9b22-826f390b00ac.webp?v=1752650515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e6ba7659c1d08c0e8d7418df140a77c861e43c_1e2e845e-d692-4786-b7f0-9396a82185dc.webp?v=1752650515"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12db04d8a8478121f3f46b4326d1696217ab9876.webp?v=1744710873","options":["color"],"media":[{"alt":null,"id":25495839539299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12db04d8a8478121f3f46b4326d1696217ab9876.webp?v=1744710873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12db04d8a8478121f3f46b4326d1696217ab9876.webp?v=1744710873","width":2000},{"alt":null,"id":25830074384483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a93da43da869f9d3128de27cdb34961b2b97a03a_8d83c99b-d4c2-4089-b6fd-147d57e528e4.webp?v=1752650509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a93da43da869f9d3128de27cdb34961b2b97a03a_8d83c99b-d4c2-4089-b6fd-147d57e528e4.webp?v=1752650509","width":2000},{"alt":null,"id":25830074843235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07c84bf4bb9fdbf1a865c569e86aff19feea7d1_656472eb-eb07-4da1-b1a7-008ddb1677a0.webp?v=1752650510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07c84bf4bb9fdbf1a865c569e86aff19feea7d1_656472eb-eb07-4da1-b1a7-008ddb1677a0.webp?v=1752650510","width":2000},{"alt":null,"id":25830075269219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ba57c1482072c54f839587dabf85edaa9eacab_eef0cf13-c810-4b62-8287-f879f4b55156.webp?v=1752650510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ba57c1482072c54f839587dabf85edaa9eacab_eef0cf13-c810-4b62-8287-f879f4b55156.webp?v=1752650510","width":2000},{"alt":null,"id":25830075596899,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d54a6d68a74a05f5d88bc98c40c43a0c9c1699d6_edb10648-f89c-4c72-b2f8-84ca30fd5468.webp?v=1752650510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d54a6d68a74a05f5d88bc98c40c43a0c9c1699d6_edb10648-f89c-4c72-b2f8-84ca30fd5468.webp?v=1752650510","width":2000},{"alt":null,"id":25830075859043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b68d3103a15f302a3e8f2371b8415876f94360_e07afe73-5912-4ba2-a9f5-0cf0bc855377.webp?v=1752650511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b68d3103a15f302a3e8f2371b8415876f94360_e07afe73-5912-4ba2-a9f5-0cf0bc855377.webp?v=1752650511","width":2000},{"alt":null,"id":25830076121187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c574e6b849e7d69fe95fd322e378e7b5bf09d731_ca27c8b2-f210-46b5-9d06-ef15519bdcca.webp?v=1752650512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c574e6b849e7d69fe95fd322e378e7b5bf09d731_ca27c8b2-f210-46b5-9d06-ef15519bdcca.webp?v=1752650512","width":2000},{"alt":null,"id":25830076907619,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/206c5169073a53ca8fe9f3e1c01ec7b38ae99906_6569b946-caeb-4e80-9b19-71f21ca91c60.webp?v=1752650513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/206c5169073a53ca8fe9f3e1c01ec7b38ae99906_6569b946-caeb-4e80-9b19-71f21ca91c60.webp?v=1752650513","width":2000},{"alt":null,"id":25830077268067,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4990654e257b2a51cb02ac4c8f3c11e9bba21cf_6cf69a70-23b5-4650-b4fe-bd3306835c80.webp?v=1752650513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4990654e257b2a51cb02ac4c8f3c11e9bba21cf_6cf69a70-23b5-4650-b4fe-bd3306835c80.webp?v=1752650513","width":2000},{"alt":null,"id":25830077595747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dc8269e295e6440e44ed28515b7fe2595a98826_e05a25ee-9209-4502-b80b-095ed54e0832.webp?v=1752650514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dc8269e295e6440e44ed28515b7fe2595a98826_e05a25ee-9209-4502-b80b-095ed54e0832.webp?v=1752650514","width":2000},{"alt":null,"id":25830077792355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0a22cd834a8479ba2838f6f01edf275f2f4dec7_fff12dc2-22ae-4592-9b22-826f390b00ac.webp?v=1752650515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0a22cd834a8479ba2838f6f01edf275f2f4dec7_fff12dc2-22ae-4592-9b22-826f390b00ac.webp?v=1752650515","width":2000},{"alt":null,"id":25830078054499,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e6ba7659c1d08c0e8d7418df140a77c861e43c_1e2e845e-d692-4786-b7f0-9396a82185dc.webp?v=1752650515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e6ba7659c1d08c0e8d7418df140a77c861e43c_1e2e845e-d692-4786-b7f0-9396a82185dc.webp?v=1752650515","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302979764323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197735800931,"product_id":7769570967651,"position":4,"created_at":"2025-07-16T15:21:48+08:00","updated_at":"2025-07-16T15:21:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ba57c1482072c54f839587dabf85edaa9eacab_eef0cf13-c810-4b62-8287-f879f4b55156.webp?v=1752650510","variant_ids":[43302979764323]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - Love Yourself - 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-XF47","featured_media":{"alt":null,"id":25830075269219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ba57c1482072c54f839587dabf85edaa9eacab_eef0cf13-c810-4b62-8287-f879f4b55156.webp?v=1752650510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302987333731,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197735702627,"product_id":7769570967651,"position":3,"created_at":"2025-07-16T15:21:48+08:00","updated_at":"2025-07-16T15:21:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07c84bf4bb9fdbf1a865c569e86aff19feea7d1_656472eb-eb07-4da1-b1a7-008ddb1677a0.webp?v=1752650510","variant_ids":[43302987333731]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - Love Yourself - 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-XF47","featured_media":{"alt":null,"id":25830074843235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f07c84bf4bb9fdbf1a865c569e86aff19feea7d1_656472eb-eb07-4da1-b1a7-008ddb1677a0.webp?v=1752650510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302979764323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197735800931,"product_id":7769570967651,"position":4,"created_at":"2025-07-16T15:21:48+08:00","updated_at":"2025-07-16T15:21:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ba57c1482072c54f839587dabf85edaa9eacab_eef0cf13-c810-4b62-8287-f879f4b55156.webp?v=1752650510","variant_ids":[43302979764323]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Mindful Cat - Love Yourself - 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-XF47","featured_media":{"alt":null,"id":25830075269219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6ba57c1482072c54f839587dabf85edaa9eacab_eef0cf13-c810-4b62-8287-f879f4b55156.webp?v=1752650510"}},"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: "停產"
}