$product = {"id":7873277493347,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Barber","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-kei01","description":null,"published_at":"2025-09-01T10:51:17+08:00","created_at":"2025-09-01T09:41:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 13 Pro Max","merge","reseller-keigo"],"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":43658576920675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34409930358883,"product_id":7873277493347,"position":7,"created_at":"2025-09-01T09:41:58+08:00","updated_at":"2025-09-01T09:42:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eba7ba02316b05c72d82c0ae0e9dd3557f73bf1.webp?v=1756690921","variant_ids":[43658576920675]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Barber - 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-KEI01","featured_media":{"alt":null,"id":25982245339235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eba7ba02316b05c72d82c0ae0e9dd3557f73bf1.webp?v=1756690921"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658576953443,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34409929539683,"product_id":7873277493347,"position":1,"created_at":"2025-09-01T09:41:54+08:00","updated_at":"2025-09-01T09:41:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20cf2f544ca125568f97002020a0a34d4e3710f0.webp?v=1756690916","variant_ids":[43658576953443]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Barber - 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-KEI01","featured_media":{"alt":null,"id":25982244520035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20cf2f544ca125568f97002020a0a34d4e3710f0.webp?v=1756690916"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20cf2f544ca125568f97002020a0a34d4e3710f0.webp?v=1756690916","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ebd5cb3f2c03a8035a80818cce66d614eca2d49.webp?v=1756690917","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad676e3941e8e91d02223267ac1e9488d217471f.webp?v=1756690917","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde4faa617a7757dfc5647727d47f5e7d992af4b.webp?v=1756690918","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53571f1dde2bc326790ff3cc254b0829bceb49f0.webp?v=1756690919","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c9571fa22468dd36d7d844a3cc745d025596ab.webp?v=1756690920","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eba7ba02316b05c72d82c0ae0e9dd3557f73bf1.webp?v=1756690921","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ba6dfd7c47c8b0e8376119daf71a125cbe9685.webp?v=1756690921","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77995ce6a4fc592be6e2aa6755cffc5514450094.webp?v=1756690922","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fffc9ba715bd5f41bbff2d13a2b3fa3f2cdd458.webp?v=1756690922","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1c4da92117b3af3a716c94ed59312db996fb3.webp?v=1756690923"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20cf2f544ca125568f97002020a0a34d4e3710f0.webp?v=1756690916","options":["color"],"media":[{"alt":null,"id":25982244520035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20cf2f544ca125568f97002020a0a34d4e3710f0.webp?v=1756690916"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20cf2f544ca125568f97002020a0a34d4e3710f0.webp?v=1756690916","width":2000},{"alt":null,"id":25982244716643,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ebd5cb3f2c03a8035a80818cce66d614eca2d49.webp?v=1756690917"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ebd5cb3f2c03a8035a80818cce66d614eca2d49.webp?v=1756690917","width":2000},{"alt":null,"id":25982244880483,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad676e3941e8e91d02223267ac1e9488d217471f.webp?v=1756690917"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad676e3941e8e91d02223267ac1e9488d217471f.webp?v=1756690917","width":2000},{"alt":null,"id":25982244946019,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde4faa617a7757dfc5647727d47f5e7d992af4b.webp?v=1756690918"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde4faa617a7757dfc5647727d47f5e7d992af4b.webp?v=1756690918","width":2000},{"alt":null,"id":25982245077091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53571f1dde2bc326790ff3cc254b0829bceb49f0.webp?v=1756690919"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53571f1dde2bc326790ff3cc254b0829bceb49f0.webp?v=1756690919","width":2000},{"alt":null,"id":25982245208163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c9571fa22468dd36d7d844a3cc745d025596ab.webp?v=1756690920"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c9571fa22468dd36d7d844a3cc745d025596ab.webp?v=1756690920","width":2000},{"alt":null,"id":25982245339235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eba7ba02316b05c72d82c0ae0e9dd3557f73bf1.webp?v=1756690921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eba7ba02316b05c72d82c0ae0e9dd3557f73bf1.webp?v=1756690921","width":2000},{"alt":null,"id":25982245503075,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ba6dfd7c47c8b0e8376119daf71a125cbe9685.webp?v=1756690921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ba6dfd7c47c8b0e8376119daf71a125cbe9685.webp?v=1756690921","width":2000},{"alt":null,"id":25982245568611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77995ce6a4fc592be6e2aa6755cffc5514450094.webp?v=1756690922"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77995ce6a4fc592be6e2aa6755cffc5514450094.webp?v=1756690922","width":2000},{"alt":null,"id":25982245666915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fffc9ba715bd5f41bbff2d13a2b3fa3f2cdd458.webp?v=1756690922"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fffc9ba715bd5f41bbff2d13a2b3fa3f2cdd458.webp?v=1756690922","width":2000},{"alt":null,"id":25982245765219,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1c4da92117b3af3a716c94ed59312db996fb3.webp?v=1756690923"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c1c4da92117b3af3a716c94ed59312db996fb3.webp?v=1756690923","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658576920675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34409930358883,"product_id":7873277493347,"position":7,"created_at":"2025-09-01T09:41:58+08:00","updated_at":"2025-09-01T09:42:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eba7ba02316b05c72d82c0ae0e9dd3557f73bf1.webp?v=1756690921","variant_ids":[43658576920675]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Barber - 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-KEI01","featured_media":{"alt":null,"id":25982245339235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eba7ba02316b05c72d82c0ae0e9dd3557f73bf1.webp?v=1756690921"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658576953443,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34409929539683,"product_id":7873277493347,"position":1,"created_at":"2025-09-01T09:41:54+08:00","updated_at":"2025-09-01T09:41:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20cf2f544ca125568f97002020a0a34d4e3710f0.webp?v=1756690916","variant_ids":[43658576953443]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Barber - 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-KEI01","featured_media":{"alt":null,"id":25982244520035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20cf2f544ca125568f97002020a0a34d4e3710f0.webp?v=1756690916"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658576920675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34409930358883,"product_id":7873277493347,"position":7,"created_at":"2025-09-01T09:41:58+08:00","updated_at":"2025-09-01T09:42:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eba7ba02316b05c72d82c0ae0e9dd3557f73bf1.webp?v=1756690921","variant_ids":[43658576920675]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Barber - 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-KEI01","featured_media":{"alt":null,"id":25982245339235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eba7ba02316b05c72d82c0ae0e9dd3557f73bf1.webp?v=1756690921"}},"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: "停產" }