$product = {"id":7960742756451,"title":"iPhone 17 Pro Clear (相機按鈕) flyffustar 毛絨絨星人 小恐龍Bobo","handle":"iphone-17-pro-jellytint-with-capture-button-flu03","description":null,"published_at":"2026-02-10T15:06:23+08:00","created_at":"2026-02-09T15:12:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-flyffustar","device-iPhone 17 Pro","merge","reseller-flyffustar"],"price":108000,"price_min":108000,"price_max":108000,"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":43992319754339,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-FLU03","requires_shipping":true,"taxable":true,"featured_image":{"id":35221074247779,"product_id":7960742756451,"position":6,"created_at":"2026-02-10T09:48:48+08:00","updated_at":"2026-02-10T09:48:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5_717ae1ee-3e9b-484d-926e-15f9f86abdea.webp?v=1770688130","variant_ids":[43992319754339]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) flyffustar 毛絨絨星人 小恐龍Bobo - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524L-FLU03","featured_media":{"alt":null,"id":26773275410531,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5_717ae1ee-3e9b-484d-926e-15f9f86abdea.webp?v=1770688130"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992323883107,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-FLU03","requires_shipping":true,"taxable":true,"featured_image":{"id":35221073526883,"product_id":7960742756451,"position":5,"created_at":"2026-02-10T09:48:47+08:00","updated_at":"2026-02-10T09:48:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551_14aa90b9-0e51-4833-98bd-e2966ae7c2ba.webp?v=1770688129","variant_ids":[43992323883107]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) flyffustar 毛絨絨星人 小恐龍Bobo - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-FLU03","featured_media":{"alt":null,"id":26773274755171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551_14aa90b9-0e51-4833-98bd-e2966ae7c2ba.webp?v=1770688129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992324341859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-FLU03","requires_shipping":true,"taxable":true,"featured_image":{"id":35221072674915,"product_id":7960742756451,"position":4,"created_at":"2026-02-10T09:48:46+08:00","updated_at":"2026-02-10T09:48:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5_a7961a1a-e58a-43b7-98f2-694933b74e19.webp?v=1770688128","variant_ids":[43992324341859]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) flyffustar 毛絨絨星人 小恐龍Bobo - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013520G-FLU03","featured_media":{"alt":null,"id":26773273870435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5_a7961a1a-e58a-43b7-98f2-694933b74e19.webp?v=1770688128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551.webp?v=1770621139","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5.webp?v=1770621141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5.webp?v=1770621142","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5_a7961a1a-e58a-43b7-98f2-694933b74e19.webp?v=1770688128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551_14aa90b9-0e51-4833-98bd-e2966ae7c2ba.webp?v=1770688129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5_717ae1ee-3e9b-484d-926e-15f9f86abdea.webp?v=1770688130"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551.webp?v=1770621139","options":["color"],"media":[{"alt":null,"id":26767831564387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551.webp?v=1770621139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551.webp?v=1770621139","width":2000},{"alt":null,"id":26767831892067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5.webp?v=1770621141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5.webp?v=1770621141","width":2000},{"alt":null,"id":26767832416355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5.webp?v=1770621142"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5.webp?v=1770621142","width":2000},{"alt":null,"id":26773273870435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5_a7961a1a-e58a-43b7-98f2-694933b74e19.webp?v=1770688128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5_a7961a1a-e58a-43b7-98f2-694933b74e19.webp?v=1770688128","width":2000},{"alt":null,"id":26773274755171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551_14aa90b9-0e51-4833-98bd-e2966ae7c2ba.webp?v=1770688129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551_14aa90b9-0e51-4833-98bd-e2966ae7c2ba.webp?v=1770688129","width":2000},{"alt":null,"id":26773275410531,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5_717ae1ee-3e9b-484d-926e-15f9f86abdea.webp?v=1770688130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5_717ae1ee-3e9b-484d-926e-15f9f86abdea.webp?v=1770688130","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43992319754339,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-FLU03","requires_shipping":true,"taxable":true,"featured_image":{"id":35221074247779,"product_id":7960742756451,"position":6,"created_at":"2026-02-10T09:48:48+08:00","updated_at":"2026-02-10T09:48:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5_717ae1ee-3e9b-484d-926e-15f9f86abdea.webp?v=1770688130","variant_ids":[43992319754339]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) flyffustar 毛絨絨星人 小恐龍Bobo - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524L-FLU03","featured_media":{"alt":null,"id":26773275410531,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5_717ae1ee-3e9b-484d-926e-15f9f86abdea.webp?v=1770688130"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992323883107,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-FLU03","requires_shipping":true,"taxable":true,"featured_image":{"id":35221073526883,"product_id":7960742756451,"position":5,"created_at":"2026-02-10T09:48:47+08:00","updated_at":"2026-02-10T09:48:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551_14aa90b9-0e51-4833-98bd-e2966ae7c2ba.webp?v=1770688129","variant_ids":[43992323883107]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) flyffustar 毛絨絨星人 小恐龍Bobo - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524M-FLU03","featured_media":{"alt":null,"id":26773274755171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a57bfedc6198c0fa9742b3702307b980e362551_14aa90b9-0e51-4833-98bd-e2966ae7c2ba.webp?v=1770688129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992324341859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-FLU03","requires_shipping":true,"taxable":true,"featured_image":{"id":35221072674915,"product_id":7960742756451,"position":4,"created_at":"2026-02-10T09:48:46+08:00","updated_at":"2026-02-10T09:48:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5_a7961a1a-e58a-43b7-98f2-694933b74e19.webp?v=1770688128","variant_ids":[43992324341859]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) flyffustar 毛絨絨星人 小恐龍Bobo - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013520G-FLU03","featured_media":{"alt":null,"id":26773273870435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb55a553328cc992b485fc70c8b5ce4aff5cec5_a7961a1a-e58a-43b7-98f2-694933b74e19.webp?v=1770688128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43992319754339,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-FLU03","requires_shipping":true,"taxable":true,"featured_image":{"id":35221074247779,"product_id":7960742756451,"position":6,"created_at":"2026-02-10T09:48:48+08:00","updated_at":"2026-02-10T09:48:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5_717ae1ee-3e9b-484d-926e-15f9f86abdea.webp?v=1770688130","variant_ids":[43992319754339]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) flyffustar 毛絨絨星人 小恐龍Bobo - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013524L-FLU03","featured_media":{"alt":null,"id":26773275410531,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f639972c7600dc856df7a38478a6068e929fe5_717ae1ee-3e9b-484d-926e-15f9f86abdea.webp?v=1770688130"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }