$product = {"id":7863266148451,"title":"iPhone 17 Pro Clear (相機按鈕) noiinoii 珍奶松鼠","handle":"iphone-17-pro-jellytint-with-capture-button-mw02","description":null,"published_at":"2025-09-10T18:57:59+08:00","created_at":"2025-08-22T18:46:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-noiinoii","device-iPhone 17 Pro","merge","reseller-noiinoii"],"price":128000,"price_min":128000,"price_max":128000,"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":43608493195363,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351608520803,"product_id":7863266148451,"position":11,"created_at":"2026-07-22T21:19:32+08:00","updated_at":"2026-07-22T21:19:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_c02f17e9-ab2a-4711-9abc-5f70a7c664bc.webp?v=1784726374","variant_ids":[43608493195363]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) noiinoii 珍奶松鼠 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-MW02","featured_media":{"alt":null,"id":27855414100067,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_c02f17e9-ab2a-4711-9abc-5f70a7c664bc.webp?v=1784726374"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43608493228131,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351611502691,"product_id":7863266148451,"position":13,"created_at":"2026-07-22T21:19:35+08:00","updated_at":"2026-07-22T21:19:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_7c8216ef-cbfd-4286-a311-6936bea2d448.webp?v=1784726377","variant_ids":[43608493228131]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) noiinoii 珍奶松鼠 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524L-MW02","featured_media":{"alt":null,"id":27855417081955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_7c8216ef-cbfd-4286-a311-6936bea2d448.webp?v=1784726377"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-MW02_7417fda7-f367-445f-bfb4-9eb2c4800aaa.png?v=1755859614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c.webp?v=1758529555","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d.webp?v=1758529555","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8.webp?v=1758529556","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_6ecc9d73-4d08-46c7-b75b-3ed91f301921.webp?v=1784721118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8_758bb9c6-7c9a-40f7-9262-655e1053b750.webp?v=1784721130","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_a3a063dd-ca42-44bd-ba14-6f2d729ec3f8.webp?v=1784721130","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_59539ab8-0d3c-4021-bfcc-06ba6e42bc73.webp?v=1784725302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8_a8a87150-7a3d-412d-96b5-95ad43131e9e.webp?v=1784725303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_9e5ec68f-6ae6-4744-abd9-5f1fb13260ab.webp?v=1784725304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_c02f17e9-ab2a-4711-9abc-5f70a7c664bc.webp?v=1784726374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8_6be7f99c-c0b8-4f9d-9704-02c7b53a594e.webp?v=1784726376","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_7c8216ef-cbfd-4286-a311-6936bea2d448.webp?v=1784726377"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-MW02_7417fda7-f367-445f-bfb4-9eb2c4800aaa.png?v=1755859614","options":["color"],"media":[{"alt":null,"id":25941273903203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-MW02_7417fda7-f367-445f-bfb4-9eb2c4800aaa.png?v=1755859614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-MW02_7417fda7-f367-445f-bfb4-9eb2c4800aaa.png?v=1755859614","width":2000},{"alt":null,"id":26085671764067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c.webp?v=1758529555"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c.webp?v=1758529555","width":2000},{"alt":null,"id":26085671829603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d.webp?v=1758529555"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d.webp?v=1758529555","width":2000},{"alt":null,"id":26085671960675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8.webp?v=1758529556"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8.webp?v=1758529556","width":2000},{"alt":null,"id":27853629554787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_6ecc9d73-4d08-46c7-b75b-3ed91f301921.webp?v=1784721118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_6ecc9d73-4d08-46c7-b75b-3ed91f301921.webp?v=1784721118","width":2000},{"alt":null,"id":27853631520867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8_758bb9c6-7c9a-40f7-9262-655e1053b750.webp?v=1784721130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8_758bb9c6-7c9a-40f7-9262-655e1053b750.webp?v=1784721130","width":2000},{"alt":null,"id":27853631815779,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_a3a063dd-ca42-44bd-ba14-6f2d729ec3f8.webp?v=1784721130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_a3a063dd-ca42-44bd-ba14-6f2d729ec3f8.webp?v=1784721130","width":2000},{"alt":null,"id":27854908555363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_59539ab8-0d3c-4021-bfcc-06ba6e42bc73.webp?v=1784725302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_59539ab8-0d3c-4021-bfcc-06ba6e42bc73.webp?v=1784725302","width":2000},{"alt":null,"id":27854908981347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8_a8a87150-7a3d-412d-96b5-95ad43131e9e.webp?v=1784725303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8_a8a87150-7a3d-412d-96b5-95ad43131e9e.webp?v=1784725303","width":2000},{"alt":null,"id":27854909112419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_9e5ec68f-6ae6-4744-abd9-5f1fb13260ab.webp?v=1784725304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_9e5ec68f-6ae6-4744-abd9-5f1fb13260ab.webp?v=1784725304","width":2000},{"alt":null,"id":27855414100067,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_c02f17e9-ab2a-4711-9abc-5f70a7c664bc.webp?v=1784726374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_c02f17e9-ab2a-4711-9abc-5f70a7c664bc.webp?v=1784726374","width":2000},{"alt":null,"id":27855414853731,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8_6be7f99c-c0b8-4f9d-9704-02c7b53a594e.webp?v=1784726376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e68760fec509e31bb5de97988797af0ff7612da8_6be7f99c-c0b8-4f9d-9704-02c7b53a594e.webp?v=1784726376","width":2000},{"alt":null,"id":27855417081955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_7c8216ef-cbfd-4286-a311-6936bea2d448.webp?v=1784726377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_7c8216ef-cbfd-4286-a311-6936bea2d448.webp?v=1784726377","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43608493195363,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351608520803,"product_id":7863266148451,"position":11,"created_at":"2026-07-22T21:19:32+08:00","updated_at":"2026-07-22T21:19:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_c02f17e9-ab2a-4711-9abc-5f70a7c664bc.webp?v=1784726374","variant_ids":[43608493195363]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) noiinoii 珍奶松鼠 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-MW02","featured_media":{"alt":null,"id":27855414100067,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_c02f17e9-ab2a-4711-9abc-5f70a7c664bc.webp?v=1784726374"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43608493228131,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351611502691,"product_id":7863266148451,"position":13,"created_at":"2026-07-22T21:19:35+08:00","updated_at":"2026-07-22T21:19:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_7c8216ef-cbfd-4286-a311-6936bea2d448.webp?v=1784726377","variant_ids":[43608493228131]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) noiinoii 珍奶松鼠 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524L-MW02","featured_media":{"alt":null,"id":27855417081955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8026116dcccd9a8a25dbf0e1993b3d5372a63d6c_7c8216ef-cbfd-4286-a311-6936bea2d448.webp?v=1784726377"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43608493195363,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-MW02","requires_shipping":true,"taxable":true,"featured_image":{"id":36351608520803,"product_id":7863266148451,"position":11,"created_at":"2026-07-22T21:19:32+08:00","updated_at":"2026-07-22T21:19:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_c02f17e9-ab2a-4711-9abc-5f70a7c664bc.webp?v=1784726374","variant_ids":[43608493195363]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) noiinoii 珍奶松鼠 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-MW02","featured_media":{"alt":null,"id":27855414100067,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9674b4e3d3fbb6c1785dd6dded2756ef26600a2d_c02f17e9-ab2a-4711-9abc-5f70a7c664bc.webp?v=1784726374"}},"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: "停產" }