$product = {"id":7873306329187,"title":"iPhone 14 Pro Mod NX Keigo Barber","handle":"iphone-14-pro-mod-nx-printable-kei01","description":null,"published_at":"2025-09-01T10:40:02+08:00","created_at":"2025-09-01T09:49:04+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":90000,"price_min":90000,"price_max":90000,"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":43658694230115,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34410041835619,"product_id":7873306329187,"position":2,"created_at":"2025-09-01T09:49:09+08:00","updated_at":"2025-09-01T09:49:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af19447d3109348b47e1ffb85119219a93c6033.webp?v=1756691351","variant_ids":[43658694230115]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Barber - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-KEI01","featured_media":{"alt":null,"id":25982356815971,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af19447d3109348b47e1ffb85119219a93c6033.webp?v=1756691351"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658694361187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34410043900003,"product_id":7873306329187,"position":10,"created_at":"2025-09-01T09:49:15+08:00","updated_at":"2025-09-01T09:49:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1803b43ab762e5aeb357e6c9b86ac77d5a898d.webp?v=1756691357","variant_ids":[43658694361187]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Barber - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-KEI01","featured_media":{"alt":null,"id":25982358880355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1803b43ab762e5aeb357e6c9b86ac77d5a898d.webp?v=1756691357"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658694426723,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34410042654819,"product_id":7873306329187,"position":5,"created_at":"2025-09-01T09:49:11+08:00","updated_at":"2025-09-01T09:49:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef075f4c1927a8fed55b7cf47cf5861cc3bf7afe.webp?v=1756691353","variant_ids":[43658694426723]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Barber - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-KEI01","featured_media":{"alt":null,"id":25982357635171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef075f4c1927a8fed55b7cf47cf5861cc3bf7afe.webp?v=1756691353"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b51d8b9c46c0e6ad2de196b61a77382894ee49f9.webp?v=1756691350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af19447d3109348b47e1ffb85119219a93c6033.webp?v=1756691351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70adf15e9a3313f93b3f3a0bba45f5c91773eb32.webp?v=1756691352","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9d321559585c10080d6394b23b1825b7edf99f.webp?v=1756691353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef075f4c1927a8fed55b7cf47cf5861cc3bf7afe.webp?v=1756691353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c657e3504bb245a529b5aaab6a2523d472e066.webp?v=1756691354","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04eb7e4e2bc0dd90947f606cdc628fdcd55903ce.webp?v=1756691355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e69fd57aa5a531b97df6a2866cdc99e9ff512d.webp?v=1756691356","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eee69555c4c19458040adc52a4a61c929bf68430.webp?v=1756691356","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1803b43ab762e5aeb357e6c9b86ac77d5a898d.webp?v=1756691357","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81ff3ea1b53ea780400eb21f0263f3573ddd26df.webp?v=1756691358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b4f387505df17583b43d4de2c72d69fe305e950.webp?v=1756691358"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b51d8b9c46c0e6ad2de196b61a77382894ee49f9.webp?v=1756691350","options":["color"],"media":[{"alt":null,"id":25982356586595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b51d8b9c46c0e6ad2de196b61a77382894ee49f9.webp?v=1756691350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b51d8b9c46c0e6ad2de196b61a77382894ee49f9.webp?v=1756691350","width":2000},{"alt":null,"id":25982356815971,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af19447d3109348b47e1ffb85119219a93c6033.webp?v=1756691351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af19447d3109348b47e1ffb85119219a93c6033.webp?v=1756691351","width":2000},{"alt":null,"id":25982357143651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70adf15e9a3313f93b3f3a0bba45f5c91773eb32.webp?v=1756691352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70adf15e9a3313f93b3f3a0bba45f5c91773eb32.webp?v=1756691352","width":2000},{"alt":null,"id":25982357405795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9d321559585c10080d6394b23b1825b7edf99f.webp?v=1756691353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9d321559585c10080d6394b23b1825b7edf99f.webp?v=1756691353","width":2000},{"alt":null,"id":25982357635171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef075f4c1927a8fed55b7cf47cf5861cc3bf7afe.webp?v=1756691353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef075f4c1927a8fed55b7cf47cf5861cc3bf7afe.webp?v=1756691353","width":2000},{"alt":null,"id":25982357897315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c657e3504bb245a529b5aaab6a2523d472e066.webp?v=1756691354"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c657e3504bb245a529b5aaab6a2523d472e066.webp?v=1756691354","width":2000},{"alt":null,"id":25982358224995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04eb7e4e2bc0dd90947f606cdc628fdcd55903ce.webp?v=1756691355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04eb7e4e2bc0dd90947f606cdc628fdcd55903ce.webp?v=1756691355","width":2000},{"alt":null,"id":25982358454371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e69fd57aa5a531b97df6a2866cdc99e9ff512d.webp?v=1756691356"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e69fd57aa5a531b97df6a2866cdc99e9ff512d.webp?v=1756691356","width":2000},{"alt":null,"id":25982358716515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eee69555c4c19458040adc52a4a61c929bf68430.webp?v=1756691356"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eee69555c4c19458040adc52a4a61c929bf68430.webp?v=1756691356","width":2000},{"alt":null,"id":25982358880355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1803b43ab762e5aeb357e6c9b86ac77d5a898d.webp?v=1756691357"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1803b43ab762e5aeb357e6c9b86ac77d5a898d.webp?v=1756691357","width":2000},{"alt":null,"id":25982359076963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81ff3ea1b53ea780400eb21f0263f3573ddd26df.webp?v=1756691358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81ff3ea1b53ea780400eb21f0263f3573ddd26df.webp?v=1756691358","width":2000},{"alt":null,"id":25982359404643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b4f387505df17583b43d4de2c72d69fe305e950.webp?v=1756691358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b4f387505df17583b43d4de2c72d69fe305e950.webp?v=1756691358","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658694230115,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34410041835619,"product_id":7873306329187,"position":2,"created_at":"2025-09-01T09:49:09+08:00","updated_at":"2025-09-01T09:49:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af19447d3109348b47e1ffb85119219a93c6033.webp?v=1756691351","variant_ids":[43658694230115]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Barber - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-KEI01","featured_media":{"alt":null,"id":25982356815971,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af19447d3109348b47e1ffb85119219a93c6033.webp?v=1756691351"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658694361187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34410043900003,"product_id":7873306329187,"position":10,"created_at":"2025-09-01T09:49:15+08:00","updated_at":"2025-09-01T09:49:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1803b43ab762e5aeb357e6c9b86ac77d5a898d.webp?v=1756691357","variant_ids":[43658694361187]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Barber - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-KEI01","featured_media":{"alt":null,"id":25982358880355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1803b43ab762e5aeb357e6c9b86ac77d5a898d.webp?v=1756691357"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658694426723,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34410042654819,"product_id":7873306329187,"position":5,"created_at":"2025-09-01T09:49:11+08:00","updated_at":"2025-09-01T09:49:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef075f4c1927a8fed55b7cf47cf5861cc3bf7afe.webp?v=1756691353","variant_ids":[43658694426723]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Barber - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-KEI01","featured_media":{"alt":null,"id":25982357635171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef075f4c1927a8fed55b7cf47cf5861cc3bf7afe.webp?v=1756691353"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658694230115,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-KEI01","requires_shipping":true,"taxable":true,"featured_image":{"id":34410041835619,"product_id":7873306329187,"position":2,"created_at":"2025-09-01T09:49:09+08:00","updated_at":"2025-09-01T09:49:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af19447d3109348b47e1ffb85119219a93c6033.webp?v=1756691351","variant_ids":[43658694230115]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Barber - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-KEI01","featured_media":{"alt":null,"id":25982356815971,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af19447d3109348b47e1ffb85119219a93c6033.webp?v=1756691351"}},"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: "停產" }