$product = {"id":7769456050275,"title":"iPhone 13 Pro Max Mod NX ilovedoodle Cat People - 貓派","handle":"iphone-13-pro-max-mod-nx-printable-xf54","description":null,"published_at":"2025-07-16T17:34:26+08:00","created_at":"2025-04-15T16:22:18+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":43302433587299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF54","requires_shipping":true,"taxable":true,"featured_image":{"id":34197628354659,"product_id":7769456050275,"position":3,"created_at":"2025-07-16T15:10:49+08:00","updated_at":"2025-07-16T15:10:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a820ddaaf2c921e91a9c54b345335f92a2b70a7_b47f7f71-5a9b-4e6c-9b95-f3e7d89740d0.webp?v=1752649851","variant_ids":[43302433587299]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat People - 貓派 - 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-XF54","featured_media":{"alt":null,"id":25830001016931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a820ddaaf2c921e91a9c54b345335f92a2b70a7_b47f7f71-5a9b-4e6c-9b95-f3e7d89740d0.webp?v=1752649851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302440599651,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF54","requires_shipping":true,"taxable":true,"featured_image":{"id":34197629927523,"product_id":7769456050275,"position":7,"created_at":"2025-07-16T15:10:51+08:00","updated_at":"2025-07-16T15:10:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c58ddb2c4ac4ac668367e88287f17886c1771c_1cab83c1-a2d9-4991-b7f4-680bb0befff1.webp?v=1752649853","variant_ids":[43302440599651]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat People - 貓派 - 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-XF54","featured_media":{"alt":null,"id":25830001967203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c58ddb2c4ac4ac668367e88287f17886c1771c_1cab83c1-a2d9-4991-b7f4-680bb0befff1.webp?v=1752649853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ce6833eb44b5eeef34cf54e9b7303c501233b95.webp?v=1744705344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c96fcc71c67775c2250c29e0e1c1b2f80acb2836_dd1ae8c6-878e-4fcb-973f-bb78b1d41cd6.webp?v=1752649851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a820ddaaf2c921e91a9c54b345335f92a2b70a7_b47f7f71-5a9b-4e6c-9b95-f3e7d89740d0.webp?v=1752649851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa1a2415514d6cc126c6740ac0cc633b7bd3b78_c4c69d7a-6d12-462d-8bf9-43da5028d111.webp?v=1752649852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e372535ccb3702e70bed47e0f6c994b0ea2fb7_11d6b774-d521-49f0-a739-0565ab03cc81.webp?v=1752649852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec3d885126cca4ac05de3943cc4cfd8a266d25d0_31dcc26c-85c5-481a-adfa-bf094d56f13a.webp?v=1752649852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c58ddb2c4ac4ac668367e88287f17886c1771c_1cab83c1-a2d9-4991-b7f4-680bb0befff1.webp?v=1752649853","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34bb2c3096610a8fab246a6a361ce378ea2aff5_f2afa3b8-f7c6-43d7-833b-a9c3272658f5.webp?v=1752649854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5dd191b6d1dbaf9b107b7f9e1f79940e72a1eb5_74aea55e-ad32-4e87-abf3-5a5450b6be77.webp?v=1752649855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39adc1ac90c81a81fa95195378e794de8614d35_9128056c-9282-4d43-a172-de2c61f68ce9.webp?v=1752649855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a1f0a4ddb20097912bcfbe1686878198d9367bc_42439695-f34f-47b0-a2fb-587d0c70359c.webp?v=1752649856"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ce6833eb44b5eeef34cf54e9b7303c501233b95.webp?v=1744705344","options":["color"],"media":[{"alt":null,"id":25495489380451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ce6833eb44b5eeef34cf54e9b7303c501233b95.webp?v=1744705344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ce6833eb44b5eeef34cf54e9b7303c501233b95.webp?v=1744705344","width":2000},{"alt":null,"id":25830000787555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c96fcc71c67775c2250c29e0e1c1b2f80acb2836_dd1ae8c6-878e-4fcb-973f-bb78b1d41cd6.webp?v=1752649851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c96fcc71c67775c2250c29e0e1c1b2f80acb2836_dd1ae8c6-878e-4fcb-973f-bb78b1d41cd6.webp?v=1752649851","width":2000},{"alt":null,"id":25830001016931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a820ddaaf2c921e91a9c54b345335f92a2b70a7_b47f7f71-5a9b-4e6c-9b95-f3e7d89740d0.webp?v=1752649851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a820ddaaf2c921e91a9c54b345335f92a2b70a7_b47f7f71-5a9b-4e6c-9b95-f3e7d89740d0.webp?v=1752649851","width":2000},{"alt":null,"id":25830001246307,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa1a2415514d6cc126c6740ac0cc633b7bd3b78_c4c69d7a-6d12-462d-8bf9-43da5028d111.webp?v=1752649852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa1a2415514d6cc126c6740ac0cc633b7bd3b78_c4c69d7a-6d12-462d-8bf9-43da5028d111.webp?v=1752649852","width":2000},{"alt":null,"id":25830001475683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e372535ccb3702e70bed47e0f6c994b0ea2fb7_11d6b774-d521-49f0-a739-0565ab03cc81.webp?v=1752649852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30e372535ccb3702e70bed47e0f6c994b0ea2fb7_11d6b774-d521-49f0-a739-0565ab03cc81.webp?v=1752649852","width":2000},{"alt":null,"id":25830001705059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec3d885126cca4ac05de3943cc4cfd8a266d25d0_31dcc26c-85c5-481a-adfa-bf094d56f13a.webp?v=1752649852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec3d885126cca4ac05de3943cc4cfd8a266d25d0_31dcc26c-85c5-481a-adfa-bf094d56f13a.webp?v=1752649852","width":2000},{"alt":null,"id":25830001967203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c58ddb2c4ac4ac668367e88287f17886c1771c_1cab83c1-a2d9-4991-b7f4-680bb0befff1.webp?v=1752649853"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c58ddb2c4ac4ac668367e88287f17886c1771c_1cab83c1-a2d9-4991-b7f4-680bb0befff1.webp?v=1752649853","width":2000},{"alt":null,"id":25830002131043,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34bb2c3096610a8fab246a6a361ce378ea2aff5_f2afa3b8-f7c6-43d7-833b-a9c3272658f5.webp?v=1752649854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34bb2c3096610a8fab246a6a361ce378ea2aff5_f2afa3b8-f7c6-43d7-833b-a9c3272658f5.webp?v=1752649854","width":2000},{"alt":null,"id":25830002229347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5dd191b6d1dbaf9b107b7f9e1f79940e72a1eb5_74aea55e-ad32-4e87-abf3-5a5450b6be77.webp?v=1752649855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5dd191b6d1dbaf9b107b7f9e1f79940e72a1eb5_74aea55e-ad32-4e87-abf3-5a5450b6be77.webp?v=1752649855","width":2000},{"alt":null,"id":25830002425955,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39adc1ac90c81a81fa95195378e794de8614d35_9128056c-9282-4d43-a172-de2c61f68ce9.webp?v=1752649855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39adc1ac90c81a81fa95195378e794de8614d35_9128056c-9282-4d43-a172-de2c61f68ce9.webp?v=1752649855","width":2000},{"alt":null,"id":25830002589795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a1f0a4ddb20097912bcfbe1686878198d9367bc_42439695-f34f-47b0-a2fb-587d0c70359c.webp?v=1752649856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a1f0a4ddb20097912bcfbe1686878198d9367bc_42439695-f34f-47b0-a2fb-587d0c70359c.webp?v=1752649856","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302433587299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF54","requires_shipping":true,"taxable":true,"featured_image":{"id":34197628354659,"product_id":7769456050275,"position":3,"created_at":"2025-07-16T15:10:49+08:00","updated_at":"2025-07-16T15:10:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a820ddaaf2c921e91a9c54b345335f92a2b70a7_b47f7f71-5a9b-4e6c-9b95-f3e7d89740d0.webp?v=1752649851","variant_ids":[43302433587299]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat People - 貓派 - 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-XF54","featured_media":{"alt":null,"id":25830001016931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a820ddaaf2c921e91a9c54b345335f92a2b70a7_b47f7f71-5a9b-4e6c-9b95-f3e7d89740d0.webp?v=1752649851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302440599651,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF54","requires_shipping":true,"taxable":true,"featured_image":{"id":34197629927523,"product_id":7769456050275,"position":7,"created_at":"2025-07-16T15:10:51+08:00","updated_at":"2025-07-16T15:10:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c58ddb2c4ac4ac668367e88287f17886c1771c_1cab83c1-a2d9-4991-b7f4-680bb0befff1.webp?v=1752649853","variant_ids":[43302440599651]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat People - 貓派 - 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-XF54","featured_media":{"alt":null,"id":25830001967203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77c58ddb2c4ac4ac668367e88287f17886c1771c_1cab83c1-a2d9-4991-b7f4-680bb0befff1.webp?v=1752649853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302433587299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF54","requires_shipping":true,"taxable":true,"featured_image":{"id":34197628354659,"product_id":7769456050275,"position":3,"created_at":"2025-07-16T15:10:49+08:00","updated_at":"2025-07-16T15:10:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a820ddaaf2c921e91a9c54b345335f92a2b70a7_b47f7f71-5a9b-4e6c-9b95-f3e7d89740d0.webp?v=1752649851","variant_ids":[43302433587299]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Cat People - 貓派 - 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-XF54","featured_media":{"alt":null,"id":25830001016931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a820ddaaf2c921e91a9c54b345335f92a2b70a7_b47f7f71-5a9b-4e6c-9b95-f3e7d89740d0.webp?v=1752649851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}