$product = {"id":7919951446115,"title":"iPhone 17 Clear (相機按鈕) Incrediville 怪奇事物所 阿媽家的吻","handle":"iphone-17-jellytint-with-capture-button-hd74","description":null,"published_at":"2025-11-13T10:07:12+08:00","created_at":"2025-11-10T09:51:21+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 17","merge","reseller-incrediville"],"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":43827515424867,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013504M-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793906569315,"product_id":7919951446115,"position":7,"created_at":"2025-11-13T09:27:00+08:00","updated_at":"2025-11-13T09:27:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_61e974f8-c7e0-4ba5-88ba-5198a47e7603.webp?v=1762997222","variant_ids":[43827515424867]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Incrediville 怪奇事物所 阿媽家的吻 - 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":"JTB013504M-HD74","featured_media":{"alt":null,"id":26359326703715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_61e974f8-c7e0-4ba5-88ba-5198a47e7603.webp?v=1762997222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827516899427,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013500G-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793906667619,"product_id":7919951446115,"position":8,"created_at":"2025-11-13T09:27:00+08:00","updated_at":"2025-11-13T09:27:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_c753921d-ea1a-43e1-ba20-c03fd66a04e0.webp?v=1762997222","variant_ids":[43827516899427]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Incrediville 怪奇事物所 阿媽家的吻 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013500G-HD74","featured_media":{"alt":null,"id":26359326802019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_c753921d-ea1a-43e1-ba20-c03fd66a04e0.webp?v=1762997222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827516932195,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013504L-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793906733155,"product_id":7919951446115,"position":9,"created_at":"2025-11-13T09:27:01+08:00","updated_at":"2025-11-13T09:27:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_c7d5f263-9364-46fa-82ea-6f227208a749.webp?v=1762997223","variant_ids":[43827516932195]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Incrediville 怪奇事物所 阿媽家的吻 - 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":"JTB013504L-HD74","featured_media":{"alt":null,"id":26359326867555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_c7d5f263-9364-46fa-82ea-6f227208a749.webp?v=1762997223"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e.webp?v=1762739487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e.webp?v=1762739488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1.webp?v=1762739489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_5f57fc9a-c003-48f1-bde6-deb2ee680b82.webp?v=1762825389","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_bd84ce2a-708a-40f3-bb0a-ad9a75c6c785.webp?v=1762825390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_8a346b56-54a4-4e44-94d5-bdd80e5ccea0.webp?v=1762825391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_61e974f8-c7e0-4ba5-88ba-5198a47e7603.webp?v=1762997222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_c753921d-ea1a-43e1-ba20-c03fd66a04e0.webp?v=1762997222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_c7d5f263-9364-46fa-82ea-6f227208a749.webp?v=1762997223"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e.webp?v=1762739487","options":["color"],"media":[{"alt":null,"id":26345426747491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e.webp?v=1762739487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e.webp?v=1762739487","width":2000},{"alt":null,"id":26345426878563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e.webp?v=1762739488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e.webp?v=1762739488","width":2000},{"alt":null,"id":26345427107939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1.webp?v=1762739489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1.webp?v=1762739489","width":2000},{"alt":null,"id":26351566585955,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_5f57fc9a-c003-48f1-bde6-deb2ee680b82.webp?v=1762825389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_5f57fc9a-c003-48f1-bde6-deb2ee680b82.webp?v=1762825389","width":2000},{"alt":null,"id":26351566717027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_bd84ce2a-708a-40f3-bb0a-ad9a75c6c785.webp?v=1762825390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_bd84ce2a-708a-40f3-bb0a-ad9a75c6c785.webp?v=1762825390","width":2000},{"alt":null,"id":26351566946403,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_8a346b56-54a4-4e44-94d5-bdd80e5ccea0.webp?v=1762825391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_8a346b56-54a4-4e44-94d5-bdd80e5ccea0.webp?v=1762825391","width":2000},{"alt":null,"id":26359326703715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_61e974f8-c7e0-4ba5-88ba-5198a47e7603.webp?v=1762997222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_61e974f8-c7e0-4ba5-88ba-5198a47e7603.webp?v=1762997222","width":2000},{"alt":null,"id":26359326802019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_c753921d-ea1a-43e1-ba20-c03fd66a04e0.webp?v=1762997222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_c753921d-ea1a-43e1-ba20-c03fd66a04e0.webp?v=1762997222","width":2000},{"alt":null,"id":26359326867555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_c7d5f263-9364-46fa-82ea-6f227208a749.webp?v=1762997223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_c7d5f263-9364-46fa-82ea-6f227208a749.webp?v=1762997223","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43827515424867,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013504M-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793906569315,"product_id":7919951446115,"position":7,"created_at":"2025-11-13T09:27:00+08:00","updated_at":"2025-11-13T09:27:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_61e974f8-c7e0-4ba5-88ba-5198a47e7603.webp?v=1762997222","variant_ids":[43827515424867]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Incrediville 怪奇事物所 阿媽家的吻 - 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":"JTB013504M-HD74","featured_media":{"alt":null,"id":26359326703715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_61e974f8-c7e0-4ba5-88ba-5198a47e7603.webp?v=1762997222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827516899427,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013500G-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793906667619,"product_id":7919951446115,"position":8,"created_at":"2025-11-13T09:27:00+08:00","updated_at":"2025-11-13T09:27:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_c753921d-ea1a-43e1-ba20-c03fd66a04e0.webp?v=1762997222","variant_ids":[43827516899427]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Incrediville 怪奇事物所 阿媽家的吻 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013500G-HD74","featured_media":{"alt":null,"id":26359326802019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b8faae1de38af639750fb03405a2395ecd14e7e_c753921d-ea1a-43e1-ba20-c03fd66a04e0.webp?v=1762997222"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827516932195,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013504L-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793906733155,"product_id":7919951446115,"position":9,"created_at":"2025-11-13T09:27:01+08:00","updated_at":"2025-11-13T09:27:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_c7d5f263-9364-46fa-82ea-6f227208a749.webp?v=1762997223","variant_ids":[43827516932195]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Incrediville 怪奇事物所 阿媽家的吻 - 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":"JTB013504L-HD74","featured_media":{"alt":null,"id":26359326867555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7bd7737301273b7a2b0e893a9f1adc0ad052c1_c7d5f263-9364-46fa-82ea-6f227208a749.webp?v=1762997223"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827515424867,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013504M-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793906569315,"product_id":7919951446115,"position":7,"created_at":"2025-11-13T09:27:00+08:00","updated_at":"2025-11-13T09:27:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_61e974f8-c7e0-4ba5-88ba-5198a47e7603.webp?v=1762997222","variant_ids":[43827515424867]},"available":true,"name":"iPhone 17 Clear (相機按鈕) Incrediville 怪奇事物所 阿媽家的吻 - 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":"JTB013504M-HD74","featured_media":{"alt":null,"id":26359326703715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e88e8217b883883e11bcb9bc4e0522bbb4724e_61e974f8-c7e0-4ba5-88ba-5198a47e7603.webp?v=1762997222"}},"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: "停產" }