$product = {"id":7931234484323,"title":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色)","handle":"iphone-15-pro-jellytint-ei78","description":null,"published_at":"2025-11-28T11:10:18+08:00","created_at":"2025-11-28T09:37:08+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 15 Pro","merge","reseller-darylhochi"],"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":43860683489379,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012970J-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861369065571,"product_id":7931234484323,"position":5,"created_at":"2025-11-28T09:53:00+08:00","updated_at":"2025-11-28T09:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e_acfd9fd1-6c8e-4899-9d22-8608bd576015.webp?v=1764294782","variant_ids":[43860683489379]},"available":true,"name":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色) - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970J-EI78","featured_media":{"alt":null,"id":26425788727395,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e_acfd9fd1-6c8e-4899-9d22-8608bd576015.webp?v=1764294782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860686667875,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861369819235,"product_id":7931234484323,"position":8,"created_at":"2025-11-28T09:53:01+08:00","updated_at":"2025-11-28T09:53:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd_2977afe2-f3c4-4e47-ac3e-9ecdf8d61376.webp?v=1764294783","variant_ids":[43860686667875]},"available":true,"name":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色) - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-EI78","featured_media":{"alt":null,"id":26425789481059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd_2977afe2-f3c4-4e47-ac3e-9ecdf8d61376.webp?v=1764294783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860686700643,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861369360483,"product_id":7931234484323,"position":6,"created_at":"2025-11-28T09:53:00+08:00","updated_at":"2025-11-28T09:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16_e96b7f15-3365-4b05-9f0d-d618655e5d89.webp?v=1764294782","variant_ids":[43860686700643]},"available":true,"name":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色) - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970I-EI78","featured_media":{"alt":null,"id":26425789022307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16_e96b7f15-3365-4b05-9f0d-d618655e5d89.webp?v=1764294782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860686733411,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861369589859,"product_id":7931234484323,"position":7,"created_at":"2025-11-28T09:53:01+08:00","updated_at":"2025-11-28T09:53:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625_49b0cf02-dd5f-4b81-bee5-0181368cb10f.webp?v=1764294783","variant_ids":[43860686733411]},"available":true,"name":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色) - 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":"CCN012970G-EI78","featured_media":{"alt":null,"id":26425789251683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625_49b0cf02-dd5f-4b81-bee5-0181368cb10f.webp?v=1764294783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd.webp?v=1764293835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16.webp?v=1764293835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e.webp?v=1764293836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625.webp?v=1764293836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e_acfd9fd1-6c8e-4899-9d22-8608bd576015.webp?v=1764294782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16_e96b7f15-3365-4b05-9f0d-d618655e5d89.webp?v=1764294782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625_49b0cf02-dd5f-4b81-bee5-0181368cb10f.webp?v=1764294783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd_2977afe2-f3c4-4e47-ac3e-9ecdf8d61376.webp?v=1764294783"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd.webp?v=1764293835","options":["color"],"media":[{"alt":null,"id":26425641861219,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd.webp?v=1764293835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd.webp?v=1764293835","width":2000},{"alt":null,"id":26425642057827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16.webp?v=1764293835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16.webp?v=1764293835","width":2000},{"alt":null,"id":26425642188899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e.webp?v=1764293836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e.webp?v=1764293836","width":2000},{"alt":null,"id":26425642221667,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625.webp?v=1764293836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625.webp?v=1764293836","width":2000},{"alt":null,"id":26425788727395,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e_acfd9fd1-6c8e-4899-9d22-8608bd576015.webp?v=1764294782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e_acfd9fd1-6c8e-4899-9d22-8608bd576015.webp?v=1764294782","width":2000},{"alt":null,"id":26425789022307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16_e96b7f15-3365-4b05-9f0d-d618655e5d89.webp?v=1764294782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16_e96b7f15-3365-4b05-9f0d-d618655e5d89.webp?v=1764294782","width":2000},{"alt":null,"id":26425789251683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625_49b0cf02-dd5f-4b81-bee5-0181368cb10f.webp?v=1764294783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625_49b0cf02-dd5f-4b81-bee5-0181368cb10f.webp?v=1764294783","width":2000},{"alt":null,"id":26425789481059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd_2977afe2-f3c4-4e47-ac3e-9ecdf8d61376.webp?v=1764294783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd_2977afe2-f3c4-4e47-ac3e-9ecdf8d61376.webp?v=1764294783","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43860683489379,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012970J-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861369065571,"product_id":7931234484323,"position":5,"created_at":"2025-11-28T09:53:00+08:00","updated_at":"2025-11-28T09:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e_acfd9fd1-6c8e-4899-9d22-8608bd576015.webp?v=1764294782","variant_ids":[43860683489379]},"available":true,"name":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色) - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970J-EI78","featured_media":{"alt":null,"id":26425788727395,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e_acfd9fd1-6c8e-4899-9d22-8608bd576015.webp?v=1764294782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860686667875,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861369819235,"product_id":7931234484323,"position":8,"created_at":"2025-11-28T09:53:01+08:00","updated_at":"2025-11-28T09:53:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd_2977afe2-f3c4-4e47-ac3e-9ecdf8d61376.webp?v=1764294783","variant_ids":[43860686667875]},"available":true,"name":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色) - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-EI78","featured_media":{"alt":null,"id":26425789481059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe42c778e761e428f7b3b54226fe11b9837474fd_2977afe2-f3c4-4e47-ac3e-9ecdf8d61376.webp?v=1764294783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860686700643,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861369360483,"product_id":7931234484323,"position":6,"created_at":"2025-11-28T09:53:00+08:00","updated_at":"2025-11-28T09:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16_e96b7f15-3365-4b05-9f0d-d618655e5d89.webp?v=1764294782","variant_ids":[43860686700643]},"available":true,"name":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色) - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970I-EI78","featured_media":{"alt":null,"id":26425789022307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ad2399fd8e5edb228ce28dc28ad705d244abb16_e96b7f15-3365-4b05-9f0d-d618655e5d89.webp?v=1764294782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860686733411,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861369589859,"product_id":7931234484323,"position":7,"created_at":"2025-11-28T09:53:01+08:00","updated_at":"2025-11-28T09:53:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625_49b0cf02-dd5f-4b81-bee5-0181368cb10f.webp?v=1764294783","variant_ids":[43860686733411]},"available":true,"name":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色) - 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":"CCN012970G-EI78","featured_media":{"alt":null,"id":26425789251683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f076d1e3ed8216402add6831ba22316aab6625_49b0cf02-dd5f-4b81-bee5-0181368cb10f.webp?v=1764294783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43860683489379,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012970J-EI78","requires_shipping":true,"taxable":true,"featured_image":{"id":34861369065571,"product_id":7931234484323,"position":5,"created_at":"2025-11-28T09:53:00+08:00","updated_at":"2025-11-28T09:53:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e_acfd9fd1-6c8e-4899-9d22-8608bd576015.webp?v=1764294782","variant_ids":[43860683489379]},"available":true,"name":"iPhone 15 Pro Clear 白白日記 By Darylhochi 眾裏尋他 (彩色) - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970J-EI78","featured_media":{"alt":null,"id":26425788727395,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23387d6424668e2071c9095724faeb1d34a0ef1e_acfd9fd1-6c8e-4899-9d22-8608bd576015.webp?v=1764294782"}},"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: "停產" }