$product = {"id":7769542459491,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle The Sun and Cat - 太陽與貓","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-xf52","description":null,"published_at":"2025-07-16T17:25:28+08:00","created_at":"2025-04-15T17:31:47+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":43302840074339,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34197765849187,"product_id":7769542459491,"position":4,"created_at":"2025-07-16T15:22:16+08:00","updated_at":"2025-07-16T15:22:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d9327176ad60cd71a54529cfdea1d809bd4c0b_6d5f2ed6-1966-4ba4-ad0c-39abe8fd5d40.webp?v=1752650538","variant_ids":[43302840074339]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle The Sun and 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-XF52","featured_media":{"alt":null,"id":25830091030627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d9327176ad60cd71a54529cfdea1d809bd4c0b_6d5f2ed6-1966-4ba4-ad0c-39abe8fd5d40.webp?v=1752650538"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302848004195,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34197768011875,"product_id":7769542459491,"position":7,"created_at":"2025-07-16T15:22:18+08:00","updated_at":"2025-07-16T15:22:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82a90598f61d80724c1d95893a4e6a3025b6411c_538abb59-a7f2-46f6-b684-6179226d11a5.webp?v=1752650539","variant_ids":[43302848004195]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle The Sun and 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-XF52","featured_media":{"alt":null,"id":25830092046435,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82a90598f61d80724c1d95893a4e6a3025b6411c_538abb59-a7f2-46f6-b684-6179226d11a5.webp?v=1752650539"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b3c590852e05f36d7320676cabcae5d9858d5dc.webp?v=1744709514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44f1912776ba18e9e7f8d3973777c702656ea084_59d74c9d-ecb2-4c6d-b18a-73f7c5962416.webp?v=1752650536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aba801cb0899016b9d0a8250281ce071e5ce4d8_68a56788-ec3c-41e9-be3f-2c397beb1661.webp?v=1752650537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d9327176ad60cd71a54529cfdea1d809bd4c0b_6d5f2ed6-1966-4ba4-ad0c-39abe8fd5d40.webp?v=1752650538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6034316355316a234c7cd30a4cd62bf51d0b94_f9bfb4dc-2696-4afb-9a57-e0cb45d7dda8.webp?v=1752650539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da50a691905081a844a8e574fda3560b7b8e2534_ef1245e1-5f64-4b58-986f-3acf693ace2c.webp?v=1752650539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82a90598f61d80724c1d95893a4e6a3025b6411c_538abb59-a7f2-46f6-b684-6179226d11a5.webp?v=1752650539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583970f4023d5b3f0547e131c3af7e82fdef7a3a_a71fcb32-da7a-484e-bb50-6e6630e60b2b.webp?v=1752650540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dc2ae432edd5bff492ccbd294a198bddad68932_53942a39-adf6-4e87-900d-599ea173777a.webp?v=1752650541","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f72964c857aa265a2c6ca81b1ab9a934d7a4da8_08b8074c-4a0d-4032-97df-f16669fb2ddc.webp?v=1752650541","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a95fb0f2343803f539cbf236e13cca7603653b5f_a083d0da-a6f1-4c9c-b147-5beba4b3b653.webp?v=1752650542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04376db73fa3e0fce50b150cb83efafa405024a_9df7f5df-ad7d-4756-af88-718c58e4ddaa.webp?v=1752650543"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b3c590852e05f36d7320676cabcae5d9858d5dc.webp?v=1744709514","options":["color"],"media":[{"alt":null,"id":25495754473571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b3c590852e05f36d7320676cabcae5d9858d5dc.webp?v=1744709514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b3c590852e05f36d7320676cabcae5d9858d5dc.webp?v=1744709514","width":2000},{"alt":null,"id":25830089982051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44f1912776ba18e9e7f8d3973777c702656ea084_59d74c9d-ecb2-4c6d-b18a-73f7c5962416.webp?v=1752650536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44f1912776ba18e9e7f8d3973777c702656ea084_59d74c9d-ecb2-4c6d-b18a-73f7c5962416.webp?v=1752650536","width":2000},{"alt":null,"id":25830090211427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aba801cb0899016b9d0a8250281ce071e5ce4d8_68a56788-ec3c-41e9-be3f-2c397beb1661.webp?v=1752650537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aba801cb0899016b9d0a8250281ce071e5ce4d8_68a56788-ec3c-41e9-be3f-2c397beb1661.webp?v=1752650537","width":2000},{"alt":null,"id":25830091030627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d9327176ad60cd71a54529cfdea1d809bd4c0b_6d5f2ed6-1966-4ba4-ad0c-39abe8fd5d40.webp?v=1752650538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d9327176ad60cd71a54529cfdea1d809bd4c0b_6d5f2ed6-1966-4ba4-ad0c-39abe8fd5d40.webp?v=1752650538","width":2000},{"alt":null,"id":25830091391075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6034316355316a234c7cd30a4cd62bf51d0b94_f9bfb4dc-2696-4afb-9a57-e0cb45d7dda8.webp?v=1752650539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6034316355316a234c7cd30a4cd62bf51d0b94_f9bfb4dc-2696-4afb-9a57-e0cb45d7dda8.webp?v=1752650539","width":2000},{"alt":null,"id":25830091751523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da50a691905081a844a8e574fda3560b7b8e2534_ef1245e1-5f64-4b58-986f-3acf693ace2c.webp?v=1752650539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da50a691905081a844a8e574fda3560b7b8e2534_ef1245e1-5f64-4b58-986f-3acf693ace2c.webp?v=1752650539","width":2000},{"alt":null,"id":25830092046435,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82a90598f61d80724c1d95893a4e6a3025b6411c_538abb59-a7f2-46f6-b684-6179226d11a5.webp?v=1752650539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82a90598f61d80724c1d95893a4e6a3025b6411c_538abb59-a7f2-46f6-b684-6179226d11a5.webp?v=1752650539","width":2000},{"alt":null,"id":25830092406883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583970f4023d5b3f0547e131c3af7e82fdef7a3a_a71fcb32-da7a-484e-bb50-6e6630e60b2b.webp?v=1752650540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583970f4023d5b3f0547e131c3af7e82fdef7a3a_a71fcb32-da7a-484e-bb50-6e6630e60b2b.webp?v=1752650540","width":2000},{"alt":null,"id":25830092865635,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dc2ae432edd5bff492ccbd294a198bddad68932_53942a39-adf6-4e87-900d-599ea173777a.webp?v=1752650541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dc2ae432edd5bff492ccbd294a198bddad68932_53942a39-adf6-4e87-900d-599ea173777a.webp?v=1752650541","width":2000},{"alt":null,"id":25830093389923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f72964c857aa265a2c6ca81b1ab9a934d7a4da8_08b8074c-4a0d-4032-97df-f16669fb2ddc.webp?v=1752650541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f72964c857aa265a2c6ca81b1ab9a934d7a4da8_08b8074c-4a0d-4032-97df-f16669fb2ddc.webp?v=1752650541","width":2000},{"alt":null,"id":25830093979747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a95fb0f2343803f539cbf236e13cca7603653b5f_a083d0da-a6f1-4c9c-b147-5beba4b3b653.webp?v=1752650542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a95fb0f2343803f539cbf236e13cca7603653b5f_a083d0da-a6f1-4c9c-b147-5beba4b3b653.webp?v=1752650542","width":2000},{"alt":null,"id":25830094307427,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04376db73fa3e0fce50b150cb83efafa405024a_9df7f5df-ad7d-4756-af88-718c58e4ddaa.webp?v=1752650543"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a04376db73fa3e0fce50b150cb83efafa405024a_9df7f5df-ad7d-4756-af88-718c58e4ddaa.webp?v=1752650543","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302840074339,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34197765849187,"product_id":7769542459491,"position":4,"created_at":"2025-07-16T15:22:16+08:00","updated_at":"2025-07-16T15:22:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d9327176ad60cd71a54529cfdea1d809bd4c0b_6d5f2ed6-1966-4ba4-ad0c-39abe8fd5d40.webp?v=1752650538","variant_ids":[43302840074339]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle The Sun and 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-XF52","featured_media":{"alt":null,"id":25830091030627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d9327176ad60cd71a54529cfdea1d809bd4c0b_6d5f2ed6-1966-4ba4-ad0c-39abe8fd5d40.webp?v=1752650538"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302848004195,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34197768011875,"product_id":7769542459491,"position":7,"created_at":"2025-07-16T15:22:18+08:00","updated_at":"2025-07-16T15:22:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82a90598f61d80724c1d95893a4e6a3025b6411c_538abb59-a7f2-46f6-b684-6179226d11a5.webp?v=1752650539","variant_ids":[43302848004195]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle The Sun and 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-XF52","featured_media":{"alt":null,"id":25830092046435,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82a90598f61d80724c1d95893a4e6a3025b6411c_538abb59-a7f2-46f6-b684-6179226d11a5.webp?v=1752650539"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302840074339,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34197765849187,"product_id":7769542459491,"position":4,"created_at":"2025-07-16T15:22:16+08:00","updated_at":"2025-07-16T15:22:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d9327176ad60cd71a54529cfdea1d809bd4c0b_6d5f2ed6-1966-4ba4-ad0c-39abe8fd5d40.webp?v=1752650538","variant_ids":[43302840074339]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) ilovedoodle The Sun and 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-XF52","featured_media":{"alt":null,"id":25830091030627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d9327176ad60cd71a54529cfdea1d809bd4c0b_6d5f2ed6-1966-4ba4-ad0c-39abe8fd5d40.webp?v=1752650538"}},"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: "停產"
}