$product = {"id":7888616390755,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓電玩","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-dm01","description":null,"published_at":"2025-09-23T09:03:00+08:00","created_at":"2025-09-22T16:51:06+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-dumplingcat","device-iPhone 13 Pro Max","merge","reseller-dumplingcat"],"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":43743778111587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-DM01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515746914403,"product_id":7888616390755,"position":4,"created_at":"2025-09-22T16:51:12+08:00","updated_at":"2025-09-22T16:51:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395d9057f68e445ef8626a83d2fe69c2e0860a15.webp?v=1758531074","variant_ids":[43743778111587]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓電玩 - 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-DM01","featured_media":{"alt":null,"id":26086184484963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395d9057f68e445ef8626a83d2fe69c2e0860a15.webp?v=1758531074"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743778144355,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-DM01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515747635299,"product_id":7888616390755,"position":8,"created_at":"2025-09-22T16:51:14+08:00","updated_at":"2025-09-22T16:51:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e3da4b4974f3c8b2f2266958c31bedef189fca.webp?v=1758531076","variant_ids":[43743778144355]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓電玩 - 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-DM01","featured_media":{"alt":null,"id":26086185205859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e3da4b4974f3c8b2f2266958c31bedef189fca.webp?v=1758531076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/097bd9e38da1f3e94d355c9c93fd78196a4cbeca.webp?v=1758531072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f93d0d55f35df8b18e7038851058d90f96a10e0.webp?v=1758531073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644de3bcca1766a660767b585af4ef9cf8cbb586.webp?v=1758531073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395d9057f68e445ef8626a83d2fe69c2e0860a15.webp?v=1758531074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c957a762b8c3b44e0a91742e700c7a3fd5282464.webp?v=1758531074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4ff0301b8b798165f90f5b1f28bbff97116466c.webp?v=1758531075","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/076e22d3684ee8fc34655ae2f7f950f88b1d4339.webp?v=1758531075","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e3da4b4974f3c8b2f2266958c31bedef189fca.webp?v=1758531076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b392eb53626afc7ebc7d27a4a4592ff05890ab1e.webp?v=1758531076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2bc11ebe6db531398eefd88e05d9e2d71e4083b.webp?v=1758531077","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c182cbc5d1a33c7eab9e31d32358e44b9856bdb4.webp?v=1758531077"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/097bd9e38da1f3e94d355c9c93fd78196a4cbeca.webp?v=1758531072","options":["color"],"media":[{"alt":null,"id":26086183862371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/097bd9e38da1f3e94d355c9c93fd78196a4cbeca.webp?v=1758531072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/097bd9e38da1f3e94d355c9c93fd78196a4cbeca.webp?v=1758531072","width":2000},{"alt":null,"id":26086184091747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f93d0d55f35df8b18e7038851058d90f96a10e0.webp?v=1758531073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f93d0d55f35df8b18e7038851058d90f96a10e0.webp?v=1758531073","width":2000},{"alt":null,"id":26086184288355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644de3bcca1766a660767b585af4ef9cf8cbb586.webp?v=1758531073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644de3bcca1766a660767b585af4ef9cf8cbb586.webp?v=1758531073","width":2000},{"alt":null,"id":26086184484963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395d9057f68e445ef8626a83d2fe69c2e0860a15.webp?v=1758531074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395d9057f68e445ef8626a83d2fe69c2e0860a15.webp?v=1758531074","width":2000},{"alt":null,"id":26086184779875,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c957a762b8c3b44e0a91742e700c7a3fd5282464.webp?v=1758531074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c957a762b8c3b44e0a91742e700c7a3fd5282464.webp?v=1758531074","width":2000},{"alt":null,"id":26086184910947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4ff0301b8b798165f90f5b1f28bbff97116466c.webp?v=1758531075"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4ff0301b8b798165f90f5b1f28bbff97116466c.webp?v=1758531075","width":2000},{"alt":null,"id":26086185074787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/076e22d3684ee8fc34655ae2f7f950f88b1d4339.webp?v=1758531075"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/076e22d3684ee8fc34655ae2f7f950f88b1d4339.webp?v=1758531075","width":2000},{"alt":null,"id":26086185205859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e3da4b4974f3c8b2f2266958c31bedef189fca.webp?v=1758531076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e3da4b4974f3c8b2f2266958c31bedef189fca.webp?v=1758531076","width":2000},{"alt":null,"id":26086185336931,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b392eb53626afc7ebc7d27a4a4592ff05890ab1e.webp?v=1758531076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b392eb53626afc7ebc7d27a4a4592ff05890ab1e.webp?v=1758531076","width":2000},{"alt":null,"id":26086185500771,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2bc11ebe6db531398eefd88e05d9e2d71e4083b.webp?v=1758531077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2bc11ebe6db531398eefd88e05d9e2d71e4083b.webp?v=1758531077","width":2000},{"alt":null,"id":26086185566307,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c182cbc5d1a33c7eab9e31d32358e44b9856bdb4.webp?v=1758531077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c182cbc5d1a33c7eab9e31d32358e44b9856bdb4.webp?v=1758531077","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43743778111587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-DM01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515746914403,"product_id":7888616390755,"position":4,"created_at":"2025-09-22T16:51:12+08:00","updated_at":"2025-09-22T16:51:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395d9057f68e445ef8626a83d2fe69c2e0860a15.webp?v=1758531074","variant_ids":[43743778111587]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓電玩 - 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-DM01","featured_media":{"alt":null,"id":26086184484963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395d9057f68e445ef8626a83d2fe69c2e0860a15.webp?v=1758531074"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743778144355,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-DM01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515747635299,"product_id":7888616390755,"position":8,"created_at":"2025-09-22T16:51:14+08:00","updated_at":"2025-09-22T16:51:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e3da4b4974f3c8b2f2266958c31bedef189fca.webp?v=1758531076","variant_ids":[43743778144355]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓電玩 - 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-DM01","featured_media":{"alt":null,"id":26086185205859,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36e3da4b4974f3c8b2f2266958c31bedef189fca.webp?v=1758531076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43743778111587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-DM01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515746914403,"product_id":7888616390755,"position":4,"created_at":"2025-09-22T16:51:12+08:00","updated_at":"2025-09-22T16:51:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395d9057f68e445ef8626a83d2fe69c2e0860a15.webp?v=1758531074","variant_ids":[43743778111587]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓電玩 - 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-DM01","featured_media":{"alt":null,"id":26086184484963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395d9057f68e445ef8626a83d2fe69c2e0860a15.webp?v=1758531074"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}