$product = {"id":7888618651747,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓 KUNG FU","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-dm05","description":null,"published_at":"2025-09-23T09:02:46+08:00","created_at":"2025-09-22T16:51:34+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":43743787417699,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-DM05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515758743651,"product_id":7888618651747,"position":10,"created_at":"2025-09-22T16:51:42+08:00","updated_at":"2025-09-22T16:51:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c515ef7bf9662b81377570d9af1df1396ee3273.webp?v=1758531104","variant_ids":[43743787417699]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓 KUNG FU - 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-DM05","featured_media":{"alt":null,"id":26086196281443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c515ef7bf9662b81377570d9af1df1396ee3273.webp?v=1758531104"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743787450467,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-DM05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515758088291,"product_id":7888618651747,"position":6,"created_at":"2025-09-22T16:51:40+08:00","updated_at":"2025-09-22T16:51:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6253d74cd87735fcfe8955e5d25b02a5672b1050.webp?v=1758531103","variant_ids":[43743787450467]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓 KUNG FU - 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-DM05","featured_media":{"alt":null,"id":26086195626083,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6253d74cd87735fcfe8955e5d25b02a5672b1050.webp?v=1758531103"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b25867b5a1d040d54eb0cad5692d275e91a41db.webp?v=1758531100","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aa4850f32c54e118dcab32c660a404f0ff5a02a.webp?v=1758531101","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca3faddb735abd893ff1c9ff1762a90c24bcf91.webp?v=1758531101","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57c2fce093fcb25f1ddb060ae97f038107e29eaf.webp?v=1758531101","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9cd1fe52b140ada50c66d0dc753dce983cd11a.webp?v=1758531102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6253d74cd87735fcfe8955e5d25b02a5672b1050.webp?v=1758531103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3000b00daf9eb71e1c716c12cbde7008b5cb477a.webp?v=1758531103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf26cfcf02343e3435ab387203c4e411ab10df75.webp?v=1758531103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1065e42060f63f5d4ebe42c13912f78c84cf44.webp?v=1758531104","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c515ef7bf9662b81377570d9af1df1396ee3273.webp?v=1758531104","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d3cc7a0fa940614610a5081d2246f5caf7f387.webp?v=1758531105"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b25867b5a1d040d54eb0cad5692d275e91a41db.webp?v=1758531100","options":["color"],"media":[{"alt":null,"id":26086194380899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b25867b5a1d040d54eb0cad5692d275e91a41db.webp?v=1758531100"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b25867b5a1d040d54eb0cad5692d275e91a41db.webp?v=1758531100","width":2000},{"alt":null,"id":26086194643043,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aa4850f32c54e118dcab32c660a404f0ff5a02a.webp?v=1758531101"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aa4850f32c54e118dcab32c660a404f0ff5a02a.webp?v=1758531101","width":2000},{"alt":null,"id":26086194937955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca3faddb735abd893ff1c9ff1762a90c24bcf91.webp?v=1758531101"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca3faddb735abd893ff1c9ff1762a90c24bcf91.webp?v=1758531101","width":2000},{"alt":null,"id":26086195134563,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57c2fce093fcb25f1ddb060ae97f038107e29eaf.webp?v=1758531101"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57c2fce093fcb25f1ddb060ae97f038107e29eaf.webp?v=1758531101","width":2000},{"alt":null,"id":26086195462243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9cd1fe52b140ada50c66d0dc753dce983cd11a.webp?v=1758531102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9cd1fe52b140ada50c66d0dc753dce983cd11a.webp?v=1758531102","width":2000},{"alt":null,"id":26086195626083,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6253d74cd87735fcfe8955e5d25b02a5672b1050.webp?v=1758531103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6253d74cd87735fcfe8955e5d25b02a5672b1050.webp?v=1758531103","width":2000},{"alt":null,"id":26086195789923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3000b00daf9eb71e1c716c12cbde7008b5cb477a.webp?v=1758531103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3000b00daf9eb71e1c716c12cbde7008b5cb477a.webp?v=1758531103","width":2000},{"alt":null,"id":26086195986531,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf26cfcf02343e3435ab387203c4e411ab10df75.webp?v=1758531103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf26cfcf02343e3435ab387203c4e411ab10df75.webp?v=1758531103","width":2000},{"alt":null,"id":26086196150371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1065e42060f63f5d4ebe42c13912f78c84cf44.webp?v=1758531104"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1065e42060f63f5d4ebe42c13912f78c84cf44.webp?v=1758531104","width":2000},{"alt":null,"id":26086196281443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c515ef7bf9662b81377570d9af1df1396ee3273.webp?v=1758531104"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c515ef7bf9662b81377570d9af1df1396ee3273.webp?v=1758531104","width":2000},{"alt":null,"id":26086196379747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d3cc7a0fa940614610a5081d2246f5caf7f387.webp?v=1758531105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d3cc7a0fa940614610a5081d2246f5caf7f387.webp?v=1758531105","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43743787417699,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-DM05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515758743651,"product_id":7888618651747,"position":10,"created_at":"2025-09-22T16:51:42+08:00","updated_at":"2025-09-22T16:51:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c515ef7bf9662b81377570d9af1df1396ee3273.webp?v=1758531104","variant_ids":[43743787417699]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓 KUNG FU - 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-DM05","featured_media":{"alt":null,"id":26086196281443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c515ef7bf9662b81377570d9af1df1396ee3273.webp?v=1758531104"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743787450467,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-DM05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515758088291,"product_id":7888618651747,"position":6,"created_at":"2025-09-22T16:51:40+08:00","updated_at":"2025-09-22T16:51:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6253d74cd87735fcfe8955e5d25b02a5672b1050.webp?v=1758531103","variant_ids":[43743787450467]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓 KUNG FU - 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-DM05","featured_media":{"alt":null,"id":26086195626083,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6253d74cd87735fcfe8955e5d25b02a5672b1050.webp?v=1758531103"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43743787417699,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-DM05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515758743651,"product_id":7888618651747,"position":10,"created_at":"2025-09-22T16:51:42+08:00","updated_at":"2025-09-22T16:51:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c515ef7bf9662b81377570d9af1df1396ee3273.webp?v=1758531104","variant_ids":[43743787417699]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓 KUNG FU - 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-DM05","featured_media":{"alt":null,"id":26086196281443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c515ef7bf9662b81377570d9af1df1396ee3273.webp?v=1758531104"}},"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: "停產"
}