$product = {"id":7769585254499,"title":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜","handle":"iphone-16-pro-jellytint-xf46","description":null,"published_at":"2025-07-16T17:21:00+08:00","created_at":"2025-04-15T18:06:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 16 Pro","merge","reseller-ilovedoodle"],"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":43303049461859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN013270G-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196551434339,"product_id":7769585254499,"position":3,"created_at":"2025-07-16T14:45:56+08:00","updated_at":"2025-07-16T14:45:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0241f84096c004f7d58eae4a230514af5b2273a5_6451907e-d7d5-42ff-ade4-c9897c2fcf03.webp?v=1752648358","variant_ids":[43303049461859]},"available":true,"name":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜 - 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":"CCN013270G-XF46","featured_media":{"alt":null,"id":25829416304739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0241f84096c004f7d58eae4a230514af5b2273a5_6451907e-d7d5-42ff-ade4-c9897c2fcf03.webp?v=1752648358"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303053394019,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013270H-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196552253539,"product_id":7769585254499,"position":5,"created_at":"2025-07-16T14:45:57+08:00","updated_at":"2025-07-16T14:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1161c2ecf1a75a9677447eaf18a7719c6ec483a8_fbfb0565-34e8-4d7d-9854-23cb28862c8c.webp?v=1752648359","variant_ids":[43303053394019]},"available":true,"name":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜 - 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":"CCN013270H-XF46","featured_media":{"alt":null,"id":25829416763491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1161c2ecf1a75a9677447eaf18a7719c6ec483a8_fbfb0565-34e8-4d7d-9854-23cb28862c8c.webp?v=1752648359"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303053426787,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196550975587,"product_id":7769585254499,"position":2,"created_at":"2025-07-16T14:45:55+08:00","updated_at":"2025-07-16T14:45:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbb482715a2545904ba3da1fa8f306b2606d4bc_8c8e19d2-60fa-4c18-a265-e7c6ce48410c.webp?v=1752648357","variant_ids":[43303053426787]},"available":true,"name":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜 - 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":"CCN013270J-XF46","featured_media":{"alt":null,"id":25829416075363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbb482715a2545904ba3da1fa8f306b2606d4bc_8c8e19d2-60fa-4c18-a265-e7c6ce48410c.webp?v=1752648357"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303053459555,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN013270I-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196551860323,"product_id":7769585254499,"position":4,"created_at":"2025-07-16T14:45:56+08:00","updated_at":"2025-07-16T14:45:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f0e49a13e08ebbcc49636606b3376b40878eaa2_85b1a349-6ceb-45b4-b9da-90fadb0cd077.webp?v=1752648358","variant_ids":[43303053459555]},"available":true,"name":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜 - 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":"CCN013270I-XF46","featured_media":{"alt":null,"id":25829416534115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f0e49a13e08ebbcc49636606b3376b40878eaa2_85b1a349-6ceb-45b4-b9da-90fadb0cd077.webp?v=1752648358"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7ebb8b3cd7cb4ce2016287f807b19e8dbabef64.webp?v=1744711610","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbb482715a2545904ba3da1fa8f306b2606d4bc_8c8e19d2-60fa-4c18-a265-e7c6ce48410c.webp?v=1752648357","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0241f84096c004f7d58eae4a230514af5b2273a5_6451907e-d7d5-42ff-ade4-c9897c2fcf03.webp?v=1752648358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f0e49a13e08ebbcc49636606b3376b40878eaa2_85b1a349-6ceb-45b4-b9da-90fadb0cd077.webp?v=1752648358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1161c2ecf1a75a9677447eaf18a7719c6ec483a8_fbfb0565-34e8-4d7d-9854-23cb28862c8c.webp?v=1752648359"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7ebb8b3cd7cb4ce2016287f807b19e8dbabef64.webp?v=1744711610","options":["color"],"media":[{"alt":null,"id":25495876042851,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7ebb8b3cd7cb4ce2016287f807b19e8dbabef64.webp?v=1744711610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7ebb8b3cd7cb4ce2016287f807b19e8dbabef64.webp?v=1744711610","width":2000},{"alt":null,"id":25829416075363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbb482715a2545904ba3da1fa8f306b2606d4bc_8c8e19d2-60fa-4c18-a265-e7c6ce48410c.webp?v=1752648357"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbb482715a2545904ba3da1fa8f306b2606d4bc_8c8e19d2-60fa-4c18-a265-e7c6ce48410c.webp?v=1752648357","width":2000},{"alt":null,"id":25829416304739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0241f84096c004f7d58eae4a230514af5b2273a5_6451907e-d7d5-42ff-ade4-c9897c2fcf03.webp?v=1752648358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0241f84096c004f7d58eae4a230514af5b2273a5_6451907e-d7d5-42ff-ade4-c9897c2fcf03.webp?v=1752648358","width":2000},{"alt":null,"id":25829416534115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f0e49a13e08ebbcc49636606b3376b40878eaa2_85b1a349-6ceb-45b4-b9da-90fadb0cd077.webp?v=1752648358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f0e49a13e08ebbcc49636606b3376b40878eaa2_85b1a349-6ceb-45b4-b9da-90fadb0cd077.webp?v=1752648358","width":2000},{"alt":null,"id":25829416763491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1161c2ecf1a75a9677447eaf18a7719c6ec483a8_fbfb0565-34e8-4d7d-9854-23cb28862c8c.webp?v=1752648359"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1161c2ecf1a75a9677447eaf18a7719c6ec483a8_fbfb0565-34e8-4d7d-9854-23cb28862c8c.webp?v=1752648359","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43303049461859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN013270G-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196551434339,"product_id":7769585254499,"position":3,"created_at":"2025-07-16T14:45:56+08:00","updated_at":"2025-07-16T14:45:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0241f84096c004f7d58eae4a230514af5b2273a5_6451907e-d7d5-42ff-ade4-c9897c2fcf03.webp?v=1752648358","variant_ids":[43303049461859]},"available":true,"name":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜 - 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":"CCN013270G-XF46","featured_media":{"alt":null,"id":25829416304739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0241f84096c004f7d58eae4a230514af5b2273a5_6451907e-d7d5-42ff-ade4-c9897c2fcf03.webp?v=1752648358"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303053394019,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013270H-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196552253539,"product_id":7769585254499,"position":5,"created_at":"2025-07-16T14:45:57+08:00","updated_at":"2025-07-16T14:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1161c2ecf1a75a9677447eaf18a7719c6ec483a8_fbfb0565-34e8-4d7d-9854-23cb28862c8c.webp?v=1752648359","variant_ids":[43303053394019]},"available":true,"name":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜 - 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":"CCN013270H-XF46","featured_media":{"alt":null,"id":25829416763491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1161c2ecf1a75a9677447eaf18a7719c6ec483a8_fbfb0565-34e8-4d7d-9854-23cb28862c8c.webp?v=1752648359"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303053426787,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196550975587,"product_id":7769585254499,"position":2,"created_at":"2025-07-16T14:45:55+08:00","updated_at":"2025-07-16T14:45:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbb482715a2545904ba3da1fa8f306b2606d4bc_8c8e19d2-60fa-4c18-a265-e7c6ce48410c.webp?v=1752648357","variant_ids":[43303053426787]},"available":true,"name":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜 - 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":"CCN013270J-XF46","featured_media":{"alt":null,"id":25829416075363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbb482715a2545904ba3da1fa8f306b2606d4bc_8c8e19d2-60fa-4c18-a265-e7c6ce48410c.webp?v=1752648357"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303053459555,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN013270I-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196551860323,"product_id":7769585254499,"position":4,"created_at":"2025-07-16T14:45:56+08:00","updated_at":"2025-07-16T14:45:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f0e49a13e08ebbcc49636606b3376b40878eaa2_85b1a349-6ceb-45b4-b9da-90fadb0cd077.webp?v=1752648358","variant_ids":[43303053459555]},"available":true,"name":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜 - 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":"CCN013270I-XF46","featured_media":{"alt":null,"id":25829416534115,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f0e49a13e08ebbcc49636606b3376b40878eaa2_85b1a349-6ceb-45b4-b9da-90fadb0cd077.webp?v=1752648358"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303049461859,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN013270G-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196551434339,"product_id":7769585254499,"position":3,"created_at":"2025-07-16T14:45:56+08:00","updated_at":"2025-07-16T14:45:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0241f84096c004f7d58eae4a230514af5b2273a5_6451907e-d7d5-42ff-ade4-c9897c2fcf03.webp?v=1752648358","variant_ids":[43303049461859]},"available":true,"name":"iPhone 16 Pro Clear ilovedoodle Mindful Cat - 冷靜 - 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":"CCN013270G-XF46","featured_media":{"alt":null,"id":25829416304739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0241f84096c004f7d58eae4a230514af5b2273a5_6451907e-d7d5-42ff-ade4-c9897c2fcf03.webp?v=1752648358"}},"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: "停產" }