$product = {"id":7886195425379,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-lmo03","description":null,"published_at":"2025-09-17T10:40:38+08:00","created_at":"2025-09-17T10:13:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-cherng","device-iPhone 13 Pro Max","merge","reseller-cherng"],"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":43735018504291,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500449960035,"product_id":7886195425379,"position":5,"created_at":"2025-09-17T10:14:01+08:00","updated_at":"2025-09-17T10:14:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dd0e1a149ec2f37c997e2ac32b32a6e6137035.webp?v=1758075243","variant_ids":[43735018504291]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072041685091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dd0e1a149ec2f37c997e2ac32b32a6e6137035.webp?v=1758075243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43735018668131,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500450222179,"product_id":7886195425379,"position":8,"created_at":"2025-09-17T10:14:02+08:00","updated_at":"2025-09-17T10:14:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6652ebd65e94ff3e6d83a650692b3d2d56250c8.webp?v=1758075244","variant_ids":[43735018668131]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072041947235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6652ebd65e94ff3e6d83a650692b3d2d56250c8.webp?v=1758075244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ed372cdf16113a54f6223b65b04597611fa3dc.webp?v=1758075241","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850876ff526033cabfda80d8375bceed990a48ae.webp?v=1758075242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bea5f330b1619618d70876dca11cb6c2a270dcd9.webp?v=1758075242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443b28840cbf54493c07ff6283c272f90ab000b3.webp?v=1758075243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dd0e1a149ec2f37c997e2ac32b32a6e6137035.webp?v=1758075243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0866cb6732b718518c15a05d46fce95ecc811816.webp?v=1758075243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edc24e7d2d1b3ea8af032eb5df0000a2d91fa33d.webp?v=1758075244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6652ebd65e94ff3e6d83a650692b3d2d56250c8.webp?v=1758075244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb60b2fba26531826e8a9a34e1c1ab70a207d98.webp?v=1758075246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c3e8fa4390c5d90f9cca666469e5c7aaf88c3dc.webp?v=1758075246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ff2d03cc276fceb041d29ef6f0faa569e1203c.webp?v=1758075247"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ed372cdf16113a54f6223b65b04597611fa3dc.webp?v=1758075241","options":["color"],"media":[{"alt":null,"id":26072041062499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ed372cdf16113a54f6223b65b04597611fa3dc.webp?v=1758075241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ed372cdf16113a54f6223b65b04597611fa3dc.webp?v=1758075241","width":2000},{"alt":null,"id":26072041128035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850876ff526033cabfda80d8375bceed990a48ae.webp?v=1758075242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/850876ff526033cabfda80d8375bceed990a48ae.webp?v=1758075242","width":2000},{"alt":null,"id":26072041357411,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bea5f330b1619618d70876dca11cb6c2a270dcd9.webp?v=1758075242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bea5f330b1619618d70876dca11cb6c2a270dcd9.webp?v=1758075242","width":2000},{"alt":null,"id":26072041554019,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443b28840cbf54493c07ff6283c272f90ab000b3.webp?v=1758075243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443b28840cbf54493c07ff6283c272f90ab000b3.webp?v=1758075243","width":2000},{"alt":null,"id":26072041685091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dd0e1a149ec2f37c997e2ac32b32a6e6137035.webp?v=1758075243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dd0e1a149ec2f37c997e2ac32b32a6e6137035.webp?v=1758075243","width":2000},{"alt":null,"id":26072041783395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0866cb6732b718518c15a05d46fce95ecc811816.webp?v=1758075243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0866cb6732b718518c15a05d46fce95ecc811816.webp?v=1758075243","width":2000},{"alt":null,"id":26072041881699,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edc24e7d2d1b3ea8af032eb5df0000a2d91fa33d.webp?v=1758075244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edc24e7d2d1b3ea8af032eb5df0000a2d91fa33d.webp?v=1758075244","width":2000},{"alt":null,"id":26072041947235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6652ebd65e94ff3e6d83a650692b3d2d56250c8.webp?v=1758075244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6652ebd65e94ff3e6d83a650692b3d2d56250c8.webp?v=1758075244","width":2000},{"alt":null,"id":26072042373219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb60b2fba26531826e8a9a34e1c1ab70a207d98.webp?v=1758075246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb60b2fba26531826e8a9a34e1c1ab70a207d98.webp?v=1758075246","width":2000},{"alt":null,"id":26072042635363,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c3e8fa4390c5d90f9cca666469e5c7aaf88c3dc.webp?v=1758075246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c3e8fa4390c5d90f9cca666469e5c7aaf88c3dc.webp?v=1758075246","width":2000},{"alt":null,"id":26072042897507,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ff2d03cc276fceb041d29ef6f0faa569e1203c.webp?v=1758075247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ff2d03cc276fceb041d29ef6f0faa569e1203c.webp?v=1758075247","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43735018504291,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500449960035,"product_id":7886195425379,"position":5,"created_at":"2025-09-17T10:14:01+08:00","updated_at":"2025-09-17T10:14:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dd0e1a149ec2f37c997e2ac32b32a6e6137035.webp?v=1758075243","variant_ids":[43735018504291]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072041685091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dd0e1a149ec2f37c997e2ac32b32a6e6137035.webp?v=1758075243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43735018668131,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500450222179,"product_id":7886195425379,"position":8,"created_at":"2025-09-17T10:14:02+08:00","updated_at":"2025-09-17T10:14:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6652ebd65e94ff3e6d83a650692b3d2d56250c8.webp?v=1758075244","variant_ids":[43735018668131]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072041947235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6652ebd65e94ff3e6d83a650692b3d2d56250c8.webp?v=1758075244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43735018504291,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500449960035,"product_id":7886195425379,"position":5,"created_at":"2025-09-17T10:14:01+08:00","updated_at":"2025-09-17T10:14:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dd0e1a149ec2f37c997e2ac32b32a6e6137035.webp?v=1758075243","variant_ids":[43735018504291]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072041685091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dd0e1a149ec2f37c997e2ac32b32a6e6137035.webp?v=1758075243"}},"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: "停產" }