$product = {"id":7769716523107,"title":"iPhone 13 Pro Max Mod NX ilovedoodle Lunar Mirage Cat - 月光貓","handle":"iphone-13-pro-max-mod-nx-printable-xf53","description":null,"published_at":"2025-07-16T17:05:31+08:00","created_at":"2025-04-15T19:53:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Pro Max","merge","reseller-ilovedoodle"],"price":90000,"price_min":90000,"price_max":90000,"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":43303686864995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196928659555,"product_id":7769716523107,"position":9,"created_at":"2025-07-16T14:54:31+08:00","updated_at":"2025-07-16T14:54:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d11962fbf012248f82f40b925f744848b82a1_94188be7-0f71-4be7-84ba-3ee8d2a2c962.webp?v=1752648873","variant_ids":[43303686864995]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Lunar Mirage Cat - 月光貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-XF53","featured_media":{"alt":null,"id":25829621235811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d11962fbf012248f82f40b925f744848b82a1_94188be7-0f71-4be7-84ba-3ee8d2a2c962.webp?v=1752648873"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303691059299,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196926824547,"product_id":7769716523107,"position":5,"created_at":"2025-07-16T14:54:29+08:00","updated_at":"2025-07-16T14:54:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0282c1a72d9c7e9aac33c55540730aa6b40a6b_beffbb4e-9eda-4846-80eb-4409363417e7.webp?v=1752648871","variant_ids":[43303691059299]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Lunar Mirage Cat - 月光貓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-XF53","featured_media":{"alt":null,"id":25829620449379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0282c1a72d9c7e9aac33c55540730aa6b40a6b_beffbb4e-9eda-4846-80eb-4409363417e7.webp?v=1752648871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cce6d4fc63ed8f8270d3a2307a8613dbe54680.webp?v=1744718016","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97932050118b969aa712c758597cac6506d72b75_d983cbdf-6a6d-4805-b3b2-79387f42881b.webp?v=1752648869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb30006828666f8d35bac2d9077627f898579cb1_ed4cf8fe-04bd-4da7-9536-97910121f175.webp?v=1752648870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cdf417d670860827b1382c2a2dc5b146d40773d_e1229704-109e-4b14-bd3b-d45bdd330a6e.webp?v=1752648871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0282c1a72d9c7e9aac33c55540730aa6b40a6b_beffbb4e-9eda-4846-80eb-4409363417e7.webp?v=1752648871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee3d479e2c85fd3974eb5f86aa3fed1b8f32975_713084c1-c90c-4632-bce7-05c9dc347f80.webp?v=1752648871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/646829a990dab797412eb1ddcf22ddb68b0050ff_8a90e86a-4053-43d3-a48f-08ebd9f604bf.webp?v=1752648872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba4ed4b3dbbf9b1f5ce92461eaa7e57a87fe1c9b_f3f79943-3c82-4ec1-809b-df3d6589d23c.webp?v=1752648872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d11962fbf012248f82f40b925f744848b82a1_94188be7-0f71-4be7-84ba-3ee8d2a2c962.webp?v=1752648873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0534885318faa4069b6d7a2a0f55cba09f56cc_8d2f6d04-7b96-46e7-9b2b-1933528b012b.webp?v=1752648873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a434f564ac3610ad135281a27d1d536b4040943_741a601a-596b-4781-a93d-79386a48365b.webp?v=1752648874"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cce6d4fc63ed8f8270d3a2307a8613dbe54680.webp?v=1744718016","options":["color"],"media":[{"alt":null,"id":25496171642979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cce6d4fc63ed8f8270d3a2307a8613dbe54680.webp?v=1744718016"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cce6d4fc63ed8f8270d3a2307a8613dbe54680.webp?v=1744718016","width":2000},{"alt":null,"id":25829619794019,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97932050118b969aa712c758597cac6506d72b75_d983cbdf-6a6d-4805-b3b2-79387f42881b.webp?v=1752648869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97932050118b969aa712c758597cac6506d72b75_d983cbdf-6a6d-4805-b3b2-79387f42881b.webp?v=1752648869","width":2000},{"alt":null,"id":25829619957859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb30006828666f8d35bac2d9077627f898579cb1_ed4cf8fe-04bd-4da7-9536-97910121f175.webp?v=1752648870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb30006828666f8d35bac2d9077627f898579cb1_ed4cf8fe-04bd-4da7-9536-97910121f175.webp?v=1752648870","width":2000},{"alt":null,"id":25829620318307,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cdf417d670860827b1382c2a2dc5b146d40773d_e1229704-109e-4b14-bd3b-d45bdd330a6e.webp?v=1752648871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cdf417d670860827b1382c2a2dc5b146d40773d_e1229704-109e-4b14-bd3b-d45bdd330a6e.webp?v=1752648871","width":2000},{"alt":null,"id":25829620449379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0282c1a72d9c7e9aac33c55540730aa6b40a6b_beffbb4e-9eda-4846-80eb-4409363417e7.webp?v=1752648871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0282c1a72d9c7e9aac33c55540730aa6b40a6b_beffbb4e-9eda-4846-80eb-4409363417e7.webp?v=1752648871","width":2000},{"alt":null,"id":25829620678755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee3d479e2c85fd3974eb5f86aa3fed1b8f32975_713084c1-c90c-4632-bce7-05c9dc347f80.webp?v=1752648871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee3d479e2c85fd3974eb5f86aa3fed1b8f32975_713084c1-c90c-4632-bce7-05c9dc347f80.webp?v=1752648871","width":2000},{"alt":null,"id":25829620842595,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/646829a990dab797412eb1ddcf22ddb68b0050ff_8a90e86a-4053-43d3-a48f-08ebd9f604bf.webp?v=1752648872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/646829a990dab797412eb1ddcf22ddb68b0050ff_8a90e86a-4053-43d3-a48f-08ebd9f604bf.webp?v=1752648872","width":2000},{"alt":null,"id":25829621039203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba4ed4b3dbbf9b1f5ce92461eaa7e57a87fe1c9b_f3f79943-3c82-4ec1-809b-df3d6589d23c.webp?v=1752648872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba4ed4b3dbbf9b1f5ce92461eaa7e57a87fe1c9b_f3f79943-3c82-4ec1-809b-df3d6589d23c.webp?v=1752648872","width":2000},{"alt":null,"id":25829621235811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d11962fbf012248f82f40b925f744848b82a1_94188be7-0f71-4be7-84ba-3ee8d2a2c962.webp?v=1752648873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d11962fbf012248f82f40b925f744848b82a1_94188be7-0f71-4be7-84ba-3ee8d2a2c962.webp?v=1752648873","width":2000},{"alt":null,"id":25829621563491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0534885318faa4069b6d7a2a0f55cba09f56cc_8d2f6d04-7b96-46e7-9b2b-1933528b012b.webp?v=1752648873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed0534885318faa4069b6d7a2a0f55cba09f56cc_8d2f6d04-7b96-46e7-9b2b-1933528b012b.webp?v=1752648873","width":2000},{"alt":null,"id":25829621858403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a434f564ac3610ad135281a27d1d536b4040943_741a601a-596b-4781-a93d-79386a48365b.webp?v=1752648874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a434f564ac3610ad135281a27d1d536b4040943_741a601a-596b-4781-a93d-79386a48365b.webp?v=1752648874","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43303686864995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196928659555,"product_id":7769716523107,"position":9,"created_at":"2025-07-16T14:54:31+08:00","updated_at":"2025-07-16T14:54:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d11962fbf012248f82f40b925f744848b82a1_94188be7-0f71-4be7-84ba-3ee8d2a2c962.webp?v=1752648873","variant_ids":[43303686864995]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Lunar Mirage Cat - 月光貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-XF53","featured_media":{"alt":null,"id":25829621235811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d11962fbf012248f82f40b925f744848b82a1_94188be7-0f71-4be7-84ba-3ee8d2a2c962.webp?v=1752648873"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303691059299,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196926824547,"product_id":7769716523107,"position":5,"created_at":"2025-07-16T14:54:29+08:00","updated_at":"2025-07-16T14:54:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0282c1a72d9c7e9aac33c55540730aa6b40a6b_beffbb4e-9eda-4846-80eb-4409363417e7.webp?v=1752648871","variant_ids":[43303691059299]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Lunar Mirage Cat - 月光貓 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-XF53","featured_media":{"alt":null,"id":25829620449379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0282c1a72d9c7e9aac33c55540730aa6b40a6b_beffbb4e-9eda-4846-80eb-4409363417e7.webp?v=1752648871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43303686864995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196928659555,"product_id":7769716523107,"position":9,"created_at":"2025-07-16T14:54:31+08:00","updated_at":"2025-07-16T14:54:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d11962fbf012248f82f40b925f744848b82a1_94188be7-0f71-4be7-84ba-3ee8d2a2c962.webp?v=1752648873","variant_ids":[43303686864995]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Lunar Mirage Cat - 月光貓 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-XF53","featured_media":{"alt":null,"id":25829621235811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d11962fbf012248f82f40b925f744848b82a1_94188be7-0f71-4be7-84ba-3ee8d2a2c962.webp?v=1752648873"}},"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: "停產"
}