$product = {"id":7769396478051,"title":"iPhone 13 Pro Max Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓","handle":"iphone-13-pro-max-mod-nx-printable-xf50","description":null,"published_at":"2025-07-16T17:40:26+08:00","created_at":"2025-04-15T15:29:12+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":43302137921635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196610056291,"product_id":7769396478051,"position":7,"created_at":"2025-07-16T14:47:15+08:00","updated_at":"2025-07-16T14:47:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3079ab45154c7eb3bee137325200803ac7b8bf_6a6fe2d0-3a91-4700-a337-e6839d5d1ec5.webp?v=1752648437","variant_ids":[43302137921635]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25829448253539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3079ab45154c7eb3bee137325200803ac7b8bf_6a6fe2d0-3a91-4700-a337-e6839d5d1ec5.webp?v=1752648437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302143721571,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196611989603,"product_id":7769396478051,"position":11,"created_at":"2025-07-16T14:47:18+08:00","updated_at":"2025-07-16T14:47:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89673417769d7fa352193a28f8c324ea5ea96e8_243184de-43e2-4d01-86c9-588cf724ca62.webp?v=1752648440","variant_ids":[43302143721571]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25829449367651,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89673417769d7fa352193a28f8c324ea5ea96e8_243184de-43e2-4d01-86c9-588cf724ca62.webp?v=1752648440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd61232ade62eebde3f4a746fdac20a70bf0c61.webp?v=1744702160","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7111cddb72bf2cddf6dad448bdce14e83de46d_f5610c77-0ffa-49fb-85c9-59de25a1cbb0.webp?v=1752648435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8aec3f9d2caf92212d6133705633aa1d399670_39f937c8-c616-4d11-8b49-252eb4679b93.webp?v=1752648435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/594ae1d0f2a9ac83c91ad4ab4cad40f3b2650fda_fefadfe6-095c-4372-ae27-160cb67bc9a1.webp?v=1752648436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e2f39d021bef04c1a473a6f7bb167d1e5da4ea8_9c6e772a-cf5d-47f8-818c-d602e5d01376.webp?v=1752648436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14aa66d9e9ef0600da7d25427f494c137ac15bde_f7006e76-ebec-4bbc-b834-3fe878ab4b1e.webp?v=1752648437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3079ab45154c7eb3bee137325200803ac7b8bf_6a6fe2d0-3a91-4700-a337-e6839d5d1ec5.webp?v=1752648437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06299f10af0c9602c9cdfc77f5e23b8cc84d56a_714375a0-8857-4980-996e-ecdf6f34650d.webp?v=1752648438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fcabad8b48b047e7b72b2af0126fede32729810_e24e5699-9128-484a-a24e-4f336d849ff4.webp?v=1752648438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358671736300d0c328cf3c57d2519a63ffdc5bd0_d89936c4-51a0-44eb-9d32-4334c857b84f.webp?v=1752648439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89673417769d7fa352193a28f8c324ea5ea96e8_243184de-43e2-4d01-86c9-588cf724ca62.webp?v=1752648440"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd61232ade62eebde3f4a746fdac20a70bf0c61.webp?v=1744702160","options":["color"],"media":[{"alt":null,"id":25495281238115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd61232ade62eebde3f4a746fdac20a70bf0c61.webp?v=1744702160"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cd61232ade62eebde3f4a746fdac20a70bf0c61.webp?v=1744702160","width":2000},{"alt":null,"id":25829446189155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7111cddb72bf2cddf6dad448bdce14e83de46d_f5610c77-0ffa-49fb-85c9-59de25a1cbb0.webp?v=1752648435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7111cddb72bf2cddf6dad448bdce14e83de46d_f5610c77-0ffa-49fb-85c9-59de25a1cbb0.webp?v=1752648435","width":2000},{"alt":null,"id":25829446385763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8aec3f9d2caf92212d6133705633aa1d399670_39f937c8-c616-4d11-8b49-252eb4679b93.webp?v=1752648435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad8aec3f9d2caf92212d6133705633aa1d399670_39f937c8-c616-4d11-8b49-252eb4679b93.webp?v=1752648435","width":2000},{"alt":null,"id":25829446680675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/594ae1d0f2a9ac83c91ad4ab4cad40f3b2650fda_fefadfe6-095c-4372-ae27-160cb67bc9a1.webp?v=1752648436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/594ae1d0f2a9ac83c91ad4ab4cad40f3b2650fda_fefadfe6-095c-4372-ae27-160cb67bc9a1.webp?v=1752648436","width":2000},{"alt":null,"id":25829447696483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e2f39d021bef04c1a473a6f7bb167d1e5da4ea8_9c6e772a-cf5d-47f8-818c-d602e5d01376.webp?v=1752648436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e2f39d021bef04c1a473a6f7bb167d1e5da4ea8_9c6e772a-cf5d-47f8-818c-d602e5d01376.webp?v=1752648436","width":2000},{"alt":null,"id":25829447958627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14aa66d9e9ef0600da7d25427f494c137ac15bde_f7006e76-ebec-4bbc-b834-3fe878ab4b1e.webp?v=1752648437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14aa66d9e9ef0600da7d25427f494c137ac15bde_f7006e76-ebec-4bbc-b834-3fe878ab4b1e.webp?v=1752648437","width":2000},{"alt":null,"id":25829448253539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3079ab45154c7eb3bee137325200803ac7b8bf_6a6fe2d0-3a91-4700-a337-e6839d5d1ec5.webp?v=1752648437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3079ab45154c7eb3bee137325200803ac7b8bf_6a6fe2d0-3a91-4700-a337-e6839d5d1ec5.webp?v=1752648437","width":2000},{"alt":null,"id":25829448515683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06299f10af0c9602c9cdfc77f5e23b8cc84d56a_714375a0-8857-4980-996e-ecdf6f34650d.webp?v=1752648438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06299f10af0c9602c9cdfc77f5e23b8cc84d56a_714375a0-8857-4980-996e-ecdf6f34650d.webp?v=1752648438","width":2000},{"alt":null,"id":25829448843363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fcabad8b48b047e7b72b2af0126fede32729810_e24e5699-9128-484a-a24e-4f336d849ff4.webp?v=1752648438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fcabad8b48b047e7b72b2af0126fede32729810_e24e5699-9128-484a-a24e-4f336d849ff4.webp?v=1752648438","width":2000},{"alt":null,"id":25829449105507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358671736300d0c328cf3c57d2519a63ffdc5bd0_d89936c4-51a0-44eb-9d32-4334c857b84f.webp?v=1752648439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358671736300d0c328cf3c57d2519a63ffdc5bd0_d89936c4-51a0-44eb-9d32-4334c857b84f.webp?v=1752648439","width":2000},{"alt":null,"id":25829449367651,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89673417769d7fa352193a28f8c324ea5ea96e8_243184de-43e2-4d01-86c9-588cf724ca62.webp?v=1752648440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89673417769d7fa352193a28f8c324ea5ea96e8_243184de-43e2-4d01-86c9-588cf724ca62.webp?v=1752648440","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302137921635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196610056291,"product_id":7769396478051,"position":7,"created_at":"2025-07-16T14:47:15+08:00","updated_at":"2025-07-16T14:47:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3079ab45154c7eb3bee137325200803ac7b8bf_6a6fe2d0-3a91-4700-a337-e6839d5d1ec5.webp?v=1752648437","variant_ids":[43302137921635]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25829448253539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3079ab45154c7eb3bee137325200803ac7b8bf_6a6fe2d0-3a91-4700-a337-e6839d5d1ec5.webp?v=1752648437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302143721571,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196611989603,"product_id":7769396478051,"position":11,"created_at":"2025-07-16T14:47:18+08:00","updated_at":"2025-07-16T14:47:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89673417769d7fa352193a28f8c324ea5ea96e8_243184de-43e2-4d01-86c9-588cf724ca62.webp?v=1752648440","variant_ids":[43302143721571]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25829449367651,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b89673417769d7fa352193a28f8c324ea5ea96e8_243184de-43e2-4d01-86c9-588cf724ca62.webp?v=1752648440"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302137921635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF50","requires_shipping":true,"taxable":true,"featured_image":{"id":34196610056291,"product_id":7769396478051,"position":7,"created_at":"2025-07-16T14:47:15+08:00","updated_at":"2025-07-16T14:47:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3079ab45154c7eb3bee137325200803ac7b8bf_6a6fe2d0-3a91-4700-a337-e6839d5d1ec5.webp?v=1752648437","variant_ids":[43302137921635]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Meowing Glory - 貓咪藤蔓 - 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-XF50","featured_media":{"alt":null,"id":25829448253539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3079ab45154c7eb3bee137325200803ac7b8bf_6a6fe2d0-3a91-4700-a337-e6839d5d1ec5.webp?v=1752648437"}},"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: "停產"
}