$product = {"id":7873271758947,"title":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Rest","handle":"iphone-14-pro-jellytint-magsafe-kei10","description":null,"published_at":"2025-09-01T10:53:31+08:00","created_at":"2025-09-01T09:40:26+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 14 Pro","merge","reseller-keigo"],"price":148000,"price_min":148000,"price_max":148000,"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":43658553753699,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012620G-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319235309667,"product_id":7873271758947,"position":9,"created_at":"2026-07-20T12:49:24+08:00","updated_at":"2026-07-20T12:49:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_a16db372-4f5a-43de-b491-e79b5e6b369c.webp?v=1784522966","variant_ids":[43658553753699]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Rest - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620G-KEI10","featured_media":{"alt":null,"id":27823187656803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_a16db372-4f5a-43de-b491-e79b5e6b369c.webp?v=1784522966"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00.webp?v=1756690832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a3e0f6ad302d91b7aecc7c96473782d4323663.webp?v=1756690833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4123ac7db12456001adb7cd83aeb4e172693ca.webp?v=1756690833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18530f5c2250cc9d3ca9908e7be84553d49acb78.webp?v=1756690834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18530f5c2250cc9d3ca9908e7be84553d49acb78_dad4ccbf-6901-45dd-a99f-67ecb2ec1293.webp?v=1784107112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_bdb54b54-8101-467a-8b21-dad41fc4b2a2.webp?v=1784107113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a3e0f6ad302d91b7aecc7c96473782d4323663_8c9b0d5e-ea0a-452b-b91a-20a96819248b.webp?v=1784107114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4123ac7db12456001adb7cd83aeb4e172693ca_401f2332-4bb1-4789-8099-fc50606755e9.webp?v=1784107115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_a16db372-4f5a-43de-b491-e79b5e6b369c.webp?v=1784522966","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a3e0f6ad302d91b7aecc7c96473782d4323663_86e3d968-4510-4b7e-8fe8-67f82712765b.webp?v=1784522967","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18530f5c2250cc9d3ca9908e7be84553d49acb78_bb6b214b-a520-44a1-8ea7-df057927566f.webp?v=1784522968","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4123ac7db12456001adb7cd83aeb4e172693ca_11292a07-cc12-4811-8cee-8bb35c191fbe.webp?v=1784522968"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00.webp?v=1756690832","options":["color"],"media":[{"alt":null,"id":25982224597091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00.webp?v=1756690832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00.webp?v=1756690832","width":2000},{"alt":null,"id":25982224760931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a3e0f6ad302d91b7aecc7c96473782d4323663.webp?v=1756690833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a3e0f6ad302d91b7aecc7c96473782d4323663.webp?v=1756690833","width":2000},{"alt":null,"id":25982224924771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4123ac7db12456001adb7cd83aeb4e172693ca.webp?v=1756690833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4123ac7db12456001adb7cd83aeb4e172693ca.webp?v=1756690833","width":2000},{"alt":null,"id":25982225023075,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18530f5c2250cc9d3ca9908e7be84553d49acb78.webp?v=1756690834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18530f5c2250cc9d3ca9908e7be84553d49acb78.webp?v=1756690834","width":2000},{"alt":null,"id":27777123057763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18530f5c2250cc9d3ca9908e7be84553d49acb78_dad4ccbf-6901-45dd-a99f-67ecb2ec1293.webp?v=1784107112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18530f5c2250cc9d3ca9908e7be84553d49acb78_dad4ccbf-6901-45dd-a99f-67ecb2ec1293.webp?v=1784107112","width":2000},{"alt":null,"id":27777123647587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_bdb54b54-8101-467a-8b21-dad41fc4b2a2.webp?v=1784107113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_bdb54b54-8101-467a-8b21-dad41fc4b2a2.webp?v=1784107113","width":2000},{"alt":null,"id":27777123876963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a3e0f6ad302d91b7aecc7c96473782d4323663_8c9b0d5e-ea0a-452b-b91a-20a96819248b.webp?v=1784107114"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a3e0f6ad302d91b7aecc7c96473782d4323663_8c9b0d5e-ea0a-452b-b91a-20a96819248b.webp?v=1784107114","width":2000},{"alt":null,"id":27777124008035,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4123ac7db12456001adb7cd83aeb4e172693ca_401f2332-4bb1-4789-8099-fc50606755e9.webp?v=1784107115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4123ac7db12456001adb7cd83aeb4e172693ca_401f2332-4bb1-4789-8099-fc50606755e9.webp?v=1784107115","width":2000},{"alt":null,"id":27823187656803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_a16db372-4f5a-43de-b491-e79b5e6b369c.webp?v=1784522966"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_a16db372-4f5a-43de-b491-e79b5e6b369c.webp?v=1784522966","width":2000},{"alt":null,"id":27823188246627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a3e0f6ad302d91b7aecc7c96473782d4323663_86e3d968-4510-4b7e-8fe8-67f82712765b.webp?v=1784522967"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a3e0f6ad302d91b7aecc7c96473782d4323663_86e3d968-4510-4b7e-8fe8-67f82712765b.webp?v=1784522967","width":2000},{"alt":null,"id":27823188869219,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18530f5c2250cc9d3ca9908e7be84553d49acb78_bb6b214b-a520-44a1-8ea7-df057927566f.webp?v=1784522968"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18530f5c2250cc9d3ca9908e7be84553d49acb78_bb6b214b-a520-44a1-8ea7-df057927566f.webp?v=1784522968","width":2000},{"alt":null,"id":27823189491811,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4123ac7db12456001adb7cd83aeb4e172693ca_11292a07-cc12-4811-8cee-8bb35c191fbe.webp?v=1784522968"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4123ac7db12456001adb7cd83aeb4e172693ca_11292a07-cc12-4811-8cee-8bb35c191fbe.webp?v=1784522968","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658553753699,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012620G-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319235309667,"product_id":7873271758947,"position":9,"created_at":"2026-07-20T12:49:24+08:00","updated_at":"2026-07-20T12:49:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_a16db372-4f5a-43de-b491-e79b5e6b369c.webp?v=1784522966","variant_ids":[43658553753699]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Rest - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620G-KEI10","featured_media":{"alt":null,"id":27823187656803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_a16db372-4f5a-43de-b491-e79b5e6b369c.webp?v=1784522966"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658553753699,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012620G-KEI10","requires_shipping":true,"taxable":true,"featured_image":{"id":36319235309667,"product_id":7873271758947,"position":9,"created_at":"2026-07-20T12:49:24+08:00","updated_at":"2026-07-20T12:49:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_a16db372-4f5a-43de-b491-e79b5e6b369c.webp?v=1784522966","variant_ids":[43658553753699]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Rest - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620G-KEI10","featured_media":{"alt":null,"id":27823187656803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbffd5032253251e578b57edb3bfb53271844d00_a16db372-4f5a-43de-b491-e79b5e6b369c.webp?v=1784522966"}},"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: "停產" }