$product = {"id":7873232207971,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Relay Race","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-kei05","description":null,"published_at":"2025-09-01T11:09:30+08:00","created_at":"2025-09-01T09:30:15+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":43658408329315,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":34409762422883,"product_id":7873232207971,"position":5,"created_at":"2025-09-01T09:30:22+08:00","updated_at":"2025-09-01T09:30:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e47e873714b4bc37828c13120ead44f0679957e1.webp?v=1756690224","variant_ids":[43658408329315]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":25982077599843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e47e873714b4bc37828c13120ead44f0679957e1.webp?v=1756690224"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658408362083,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":34409762881635,"product_id":7873232207971,"position":8,"created_at":"2025-09-01T09:30:24+08:00","updated_at":"2025-09-01T09:30:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e14cd6cde22540d5272661823b01a30cdc8e7cf.webp?v=1756690226","variant_ids":[43658408362083]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":25982078058595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e14cd6cde22540d5272661823b01a30cdc8e7cf.webp?v=1756690226"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74e07cd6ec58ebbe1737fa41d7cd7ffbb34fc361.webp?v=1756690221","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9947b9457241df0eb9211e6b05b8241ce3a83ae.webp?v=1756690222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3df754a5d0eeacb1dcfb6176aa45aab880f8959.webp?v=1756690223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d817216ab5c996f3a27a5a937ccb3f03fdebaeeb.webp?v=1756690223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e47e873714b4bc37828c13120ead44f0679957e1.webp?v=1756690224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78cf98a64a3839795653c57653a5f95f3248ac16.webp?v=1756690225","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4194881b58f9ec77e8239fff29aac86b8da63adf.webp?v=1756690226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e14cd6cde22540d5272661823b01a30cdc8e7cf.webp?v=1756690226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8d376f8d42a7052571b26681776c976e6468833.webp?v=1756690227","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3034a1e58bfd33d60ba299109db777bc1bc984.webp?v=1756690228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/402a8531b909e24b4342dc67b355590ae8bfb2c9.webp?v=1756690229"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74e07cd6ec58ebbe1737fa41d7cd7ffbb34fc361.webp?v=1756690221","options":["color"],"media":[{"alt":null,"id":25982076977251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74e07cd6ec58ebbe1737fa41d7cd7ffbb34fc361.webp?v=1756690221"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74e07cd6ec58ebbe1737fa41d7cd7ffbb34fc361.webp?v=1756690221","width":2000},{"alt":null,"id":25982077141091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9947b9457241df0eb9211e6b05b8241ce3a83ae.webp?v=1756690222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9947b9457241df0eb9211e6b05b8241ce3a83ae.webp?v=1756690222","width":2000},{"alt":null,"id":25982077304931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3df754a5d0eeacb1dcfb6176aa45aab880f8959.webp?v=1756690223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3df754a5d0eeacb1dcfb6176aa45aab880f8959.webp?v=1756690223","width":2000},{"alt":null,"id":25982077501539,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d817216ab5c996f3a27a5a937ccb3f03fdebaeeb.webp?v=1756690223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d817216ab5c996f3a27a5a937ccb3f03fdebaeeb.webp?v=1756690223","width":2000},{"alt":null,"id":25982077599843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e47e873714b4bc37828c13120ead44f0679957e1.webp?v=1756690224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e47e873714b4bc37828c13120ead44f0679957e1.webp?v=1756690224","width":2000},{"alt":null,"id":25982077861987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78cf98a64a3839795653c57653a5f95f3248ac16.webp?v=1756690225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78cf98a64a3839795653c57653a5f95f3248ac16.webp?v=1756690225","width":2000},{"alt":null,"id":25982077993059,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4194881b58f9ec77e8239fff29aac86b8da63adf.webp?v=1756690226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4194881b58f9ec77e8239fff29aac86b8da63adf.webp?v=1756690226","width":2000},{"alt":null,"id":25982078058595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e14cd6cde22540d5272661823b01a30cdc8e7cf.webp?v=1756690226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e14cd6cde22540d5272661823b01a30cdc8e7cf.webp?v=1756690226","width":2000},{"alt":null,"id":25982078156899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8d376f8d42a7052571b26681776c976e6468833.webp?v=1756690227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8d376f8d42a7052571b26681776c976e6468833.webp?v=1756690227","width":2000},{"alt":null,"id":25982078320739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3034a1e58bfd33d60ba299109db777bc1bc984.webp?v=1756690228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3034a1e58bfd33d60ba299109db777bc1bc984.webp?v=1756690228","width":2000},{"alt":null,"id":25982078550115,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/402a8531b909e24b4342dc67b355590ae8bfb2c9.webp?v=1756690229"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/402a8531b909e24b4342dc67b355590ae8bfb2c9.webp?v=1756690229","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658408329315,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":34409762422883,"product_id":7873232207971,"position":5,"created_at":"2025-09-01T09:30:22+08:00","updated_at":"2025-09-01T09:30:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e47e873714b4bc37828c13120ead44f0679957e1.webp?v=1756690224","variant_ids":[43658408329315]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":25982077599843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e47e873714b4bc37828c13120ead44f0679957e1.webp?v=1756690224"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658408362083,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":34409762881635,"product_id":7873232207971,"position":8,"created_at":"2025-09-01T09:30:24+08:00","updated_at":"2025-09-01T09:30:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e14cd6cde22540d5272661823b01a30cdc8e7cf.webp?v=1756690226","variant_ids":[43658408362083]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":25982078058595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e14cd6cde22540d5272661823b01a30cdc8e7cf.webp?v=1756690226"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658408329315,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-KEI05","requires_shipping":true,"taxable":true,"featured_image":{"id":34409762422883,"product_id":7873232207971,"position":5,"created_at":"2025-09-01T09:30:22+08:00","updated_at":"2025-09-01T09:30:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e47e873714b4bc37828c13120ead44f0679957e1.webp?v=1756690224","variant_ids":[43658408329315]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Relay Race - 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-KEI05","featured_media":{"alt":null,"id":25982077599843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e47e873714b4bc37828c13120ead44f0679957e1.webp?v=1756690224"}},"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: "停產" }