$product = {"id":7893808283747,"title":"iPhone 17 Pro Clear (相機按鈕) Chubbynida 烈焰海之舞","handle":"iphone-17-pro-jellytint-with-capture-button-chu06","description":null,"published_at":"2025-10-09T09:33:49+08:00","created_at":"2025-10-07T10:16:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone 17 Pro","merge","reseller-chubbynida"],"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":43763342999651,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36351606784099,"product_id":7893808283747,"position":11,"created_at":"2026-07-22T21:19:30+08:00","updated_at":"2026-07-22T21:19:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_9f015d4e-f6f3-4696-a410-21c43fc95355.webp?v=1784726373","variant_ids":[43763342999651]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Chubbynida 烈焰海之舞 - 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-CHU06","featured_media":{"alt":null,"id":27855412330595,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_9f015d4e-f6f3-4696-a410-21c43fc95355.webp?v=1784726373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763344932963,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36351607111779,"product_id":7893808283747,"position":12,"created_at":"2026-07-22T21:19:31+08:00","updated_at":"2026-07-22T21:19:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_d0d8f246-6557-44eb-965f-4137c6f3a807.webp?v=1784726374","variant_ids":[43763344932963]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Chubbynida 烈焰海之舞 - 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-CHU06","featured_media":{"alt":null,"id":27855412691043,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_d0d8f246-6557-44eb-965f-4137c6f3a807.webp?v=1784726374"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0.webp?v=1759803381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60.webp?v=1759803382","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1.webp?v=1759803384","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1_691deb1e-6357-447b-a506-7244c7066632.webp?v=1784721114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_7db9616a-d26f-4349-9461-c98f097b17c4.webp?v=1784721115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_b6d85b83-97a1-4461-811a-3a5ae4eaa804.webp?v=1784721116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1_020e04d3-1bbf-4c8e-a55c-a2bc6599fcd4.webp?v=1784725300","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_1e76e3c2-014e-4278-b03b-d7ada6588d78.webp?v=1784725301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_7166a1a3-b2a7-4b85-a544-0d97ad03b57c.webp?v=1784725302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1_04299ac3-9dbd-4324-8091-d137c3d58cc4.webp?v=1784726371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_9f015d4e-f6f3-4696-a410-21c43fc95355.webp?v=1784726373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_d0d8f246-6557-44eb-965f-4137c6f3a807.webp?v=1784726374"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0.webp?v=1759803381","options":["color"],"media":[{"alt":null,"id":26122722803811,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0.webp?v=1759803381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0.webp?v=1759803381","width":2000},{"alt":null,"id":26122723000419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60.webp?v=1759803382"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60.webp?v=1759803382","width":2000},{"alt":null,"id":26122723197027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1.webp?v=1759803384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1.webp?v=1759803384","width":2000},{"alt":null,"id":27853627555939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1_691deb1e-6357-447b-a506-7244c7066632.webp?v=1784721114"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1_691deb1e-6357-447b-a506-7244c7066632.webp?v=1784721114","width":2000},{"alt":null,"id":27853628702819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_7db9616a-d26f-4349-9461-c98f097b17c4.webp?v=1784721115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_7db9616a-d26f-4349-9461-c98f097b17c4.webp?v=1784721115","width":2000},{"alt":null,"id":27853629096035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_b6d85b83-97a1-4461-811a-3a5ae4eaa804.webp?v=1784721116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_b6d85b83-97a1-4461-811a-3a5ae4eaa804.webp?v=1784721116","width":2000},{"alt":null,"id":27854907572323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1_020e04d3-1bbf-4c8e-a55c-a2bc6599fcd4.webp?v=1784725300"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1_020e04d3-1bbf-4c8e-a55c-a2bc6599fcd4.webp?v=1784725300","width":2000},{"alt":null,"id":27854908162147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_1e76e3c2-014e-4278-b03b-d7ada6588d78.webp?v=1784725301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_1e76e3c2-014e-4278-b03b-d7ada6588d78.webp?v=1784725301","width":2000},{"alt":null,"id":27854908391523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_7166a1a3-b2a7-4b85-a544-0d97ad03b57c.webp?v=1784725302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_7166a1a3-b2a7-4b85-a544-0d97ad03b57c.webp?v=1784725302","width":2000},{"alt":null,"id":27855410659427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1_04299ac3-9dbd-4324-8091-d137c3d58cc4.webp?v=1784726371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa4945aceb903b3726ba2969bf4eafdf38318d1_04299ac3-9dbd-4324-8091-d137c3d58cc4.webp?v=1784726371","width":2000},{"alt":null,"id":27855412330595,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_9f015d4e-f6f3-4696-a410-21c43fc95355.webp?v=1784726373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_9f015d4e-f6f3-4696-a410-21c43fc95355.webp?v=1784726373","width":2000},{"alt":null,"id":27855412691043,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_d0d8f246-6557-44eb-965f-4137c6f3a807.webp?v=1784726374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_d0d8f246-6557-44eb-965f-4137c6f3a807.webp?v=1784726374","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43763342999651,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36351606784099,"product_id":7893808283747,"position":11,"created_at":"2026-07-22T21:19:30+08:00","updated_at":"2026-07-22T21:19:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_9f015d4e-f6f3-4696-a410-21c43fc95355.webp?v=1784726373","variant_ids":[43763342999651]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Chubbynida 烈焰海之舞 - 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-CHU06","featured_media":{"alt":null,"id":27855412330595,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_9f015d4e-f6f3-4696-a410-21c43fc95355.webp?v=1784726373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763344932963,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36351607111779,"product_id":7893808283747,"position":12,"created_at":"2026-07-22T21:19:31+08:00","updated_at":"2026-07-22T21:19:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_d0d8f246-6557-44eb-965f-4137c6f3a807.webp?v=1784726374","variant_ids":[43763344932963]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Chubbynida 烈焰海之舞 - 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-CHU06","featured_media":{"alt":null,"id":27855412691043,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc2604c00616f512f1fd3e65d49a58cad8ede60_d0d8f246-6557-44eb-965f-4137c6f3a807.webp?v=1784726374"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43763342999651,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":36351606784099,"product_id":7893808283747,"position":11,"created_at":"2026-07-22T21:19:30+08:00","updated_at":"2026-07-22T21:19:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_9f015d4e-f6f3-4696-a410-21c43fc95355.webp?v=1784726373","variant_ids":[43763342999651]},"available":true,"name":"iPhone 17 Pro Clear (相機按鈕) Chubbynida 烈焰海之舞 - 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-CHU06","featured_media":{"alt":null,"id":27855412330595,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9efe7748925e79b348ce8c6d72481d636fa95fd0_9f015d4e-f6f3-4696-a410-21c43fc95355.webp?v=1784726373"}},"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: "停產" }