$product = {"id":7873316061283,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Keigo Rest","handle":"iphone-13-mini-mod-nx-magsafe-printable-kei10","description":null,"published_at":"2025-09-01T10:36:08+08:00","created_at":"2025-09-01T09:51:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 13 Mini","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":43658734338147,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":34410084139107,"product_id":7873316061283,"position":8,"created_at":"2025-09-01T09:51:49+08:00","updated_at":"2025-09-01T09:51:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e09a86f7bc2c82c912543daed38193e03220058.webp?v=1756691511","variant_ids":[43658734338147]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Keigo Rest - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-KEI10","featured_media":{"alt":null,"id":25982399119459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e09a86f7bc2c82c912543daed38193e03220058.webp?v=1756691511"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658734436451,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":34410084401251,"product_id":7873316061283,"position":9,"created_at":"2025-09-01T09:51:50+08:00","updated_at":"2025-09-01T09:51:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9436f2d9910c3fef3e1cd9ee00a594701a7b7237.webp?v=1756691512","variant_ids":[43658734436451]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Keigo Rest - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-KEI10","featured_media":{"alt":null,"id":25982399381603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9436f2d9910c3fef3e1cd9ee00a594701a7b7237.webp?v=1756691512"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658734469219,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":34410083909731,"product_id":7873316061283,"position":7,"created_at":"2025-09-01T09:51:48+08:00","updated_at":"2025-09-01T09:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb2f3073412b1807be840555f96bd8c57f3d77.webp?v=1756691510","variant_ids":[43658734469219]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Keigo Rest - 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":"MPB01228J5-KEI10","featured_media":{"alt":null,"id":25982398890083,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb2f3073412b1807be840555f96bd8c57f3d77.webp?v=1756691510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fff9f766f81a8d3ff9403462016f9011573d9b4a.webp?v=1756691506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16b0c00df6b55bc29867c91889d182ddcd8453b.webp?v=1756691507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21eb3e0e8686dbab56fc916a9ecf0509e125406e.webp?v=1756691507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2697c25652a9bc0877540fde6f1087c3efb716.webp?v=1756691508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed33ee13659d5b6fc442dc03edd11c7dc803873a.webp?v=1756691509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a8907eed5fda65b499b44c96a0456b5436fe6c4.webp?v=1756691509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb2f3073412b1807be840555f96bd8c57f3d77.webp?v=1756691510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e09a86f7bc2c82c912543daed38193e03220058.webp?v=1756691511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9436f2d9910c3fef3e1cd9ee00a594701a7b7237.webp?v=1756691512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1102f0bbcb0c0fc2eeef6cff78e41c6fb468c8a6.webp?v=1756691512"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fff9f766f81a8d3ff9403462016f9011573d9b4a.webp?v=1756691506","options":["color"],"media":[{"alt":null,"id":25982397841507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fff9f766f81a8d3ff9403462016f9011573d9b4a.webp?v=1756691506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fff9f766f81a8d3ff9403462016f9011573d9b4a.webp?v=1756691506","width":2000},{"alt":null,"id":25982398103651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16b0c00df6b55bc29867c91889d182ddcd8453b.webp?v=1756691507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16b0c00df6b55bc29867c91889d182ddcd8453b.webp?v=1756691507","width":2000},{"alt":null,"id":25982398333027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21eb3e0e8686dbab56fc916a9ecf0509e125406e.webp?v=1756691507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21eb3e0e8686dbab56fc916a9ecf0509e125406e.webp?v=1756691507","width":2000},{"alt":null,"id":25982398464099,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2697c25652a9bc0877540fde6f1087c3efb716.webp?v=1756691508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2697c25652a9bc0877540fde6f1087c3efb716.webp?v=1756691508","width":2000},{"alt":null,"id":25982398595171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed33ee13659d5b6fc442dc03edd11c7dc803873a.webp?v=1756691509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed33ee13659d5b6fc442dc03edd11c7dc803873a.webp?v=1756691509","width":2000},{"alt":null,"id":25982398759011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a8907eed5fda65b499b44c96a0456b5436fe6c4.webp?v=1756691509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a8907eed5fda65b499b44c96a0456b5436fe6c4.webp?v=1756691509","width":2000},{"alt":null,"id":25982398890083,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb2f3073412b1807be840555f96bd8c57f3d77.webp?v=1756691510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb2f3073412b1807be840555f96bd8c57f3d77.webp?v=1756691510","width":2000},{"alt":null,"id":25982399119459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e09a86f7bc2c82c912543daed38193e03220058.webp?v=1756691511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e09a86f7bc2c82c912543daed38193e03220058.webp?v=1756691511","width":2000},{"alt":null,"id":25982399381603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9436f2d9910c3fef3e1cd9ee00a594701a7b7237.webp?v=1756691512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9436f2d9910c3fef3e1cd9ee00a594701a7b7237.webp?v=1756691512","width":2000},{"alt":null,"id":25982399742051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1102f0bbcb0c0fc2eeef6cff78e41c6fb468c8a6.webp?v=1756691512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1102f0bbcb0c0fc2eeef6cff78e41c6fb468c8a6.webp?v=1756691512","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658734338147,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":34410084139107,"product_id":7873316061283,"position":8,"created_at":"2025-09-01T09:51:49+08:00","updated_at":"2025-09-01T09:51:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e09a86f7bc2c82c912543daed38193e03220058.webp?v=1756691511","variant_ids":[43658734338147]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Keigo Rest - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-KEI10","featured_media":{"alt":null,"id":25982399119459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e09a86f7bc2c82c912543daed38193e03220058.webp?v=1756691511"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658734436451,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":34410084401251,"product_id":7873316061283,"position":9,"created_at":"2025-09-01T09:51:50+08:00","updated_at":"2025-09-01T09:51:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9436f2d9910c3fef3e1cd9ee00a594701a7b7237.webp?v=1756691512","variant_ids":[43658734436451]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Keigo Rest - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-KEI10","featured_media":{"alt":null,"id":25982399381603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9436f2d9910c3fef3e1cd9ee00a594701a7b7237.webp?v=1756691512"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658734469219,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":34410083909731,"product_id":7873316061283,"position":7,"created_at":"2025-09-01T09:51:48+08:00","updated_at":"2025-09-01T09:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb2f3073412b1807be840555f96bd8c57f3d77.webp?v=1756691510","variant_ids":[43658734469219]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Keigo Rest - 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":"MPB01228J5-KEI10","featured_media":{"alt":null,"id":25982398890083,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69fb2f3073412b1807be840555f96bd8c57f3d77.webp?v=1756691510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658734338147,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":34410084139107,"product_id":7873316061283,"position":8,"created_at":"2025-09-01T09:51:49+08:00","updated_at":"2025-09-01T09:51:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e09a86f7bc2c82c912543daed38193e03220058.webp?v=1756691511","variant_ids":[43658734338147]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Keigo Rest - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-KEI10","featured_media":{"alt":null,"id":25982399119459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e09a86f7bc2c82c912543daed38193e03220058.webp?v=1756691511"}},"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: "停產" }