$product = {"id":7769647612003,"title":"iPhone 13 Clear (MagSafe 兼容) ilovedoodle Meh 獨角獸","handle":"iphone-13-jellytint-magsafe-xf03","description":null,"published_at":"2026-04-02T16:56:12+08:00","created_at":"2025-04-15T18:54:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint MagSafe專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13","merge","reseller-ilovedoodle"],"price":135000,"price_min":135000,"price_max":135000,"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":43303328612451,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012600G-XF03","requires_shipping":true,"taxable":true,"featured_image":{"id":35581560717411,"product_id":7769647612003,"position":7,"created_at":"2026-04-02T14:47:12+08:00","updated_at":"2026-04-02T14:47:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_3537f81c-c5db-4806-ba2e-b66d6cbf9757.webp?v=1775112434","variant_ids":[43303328612451]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) ilovedoodle Meh 獨角獸 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600G-XF03","featured_media":{"alt":null,"id":27114180837475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_3537f81c-c5db-4806-ba2e-b66d6cbf9757.webp?v=1775112434"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303329988707,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012600J-XF03","requires_shipping":true,"taxable":true,"featured_image":{"id":35581560455267,"product_id":7769647612003,"position":5,"created_at":"2026-04-02T14:47:11+08:00","updated_at":"2026-04-02T14:47:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_a350a26c-f768-432d-8eed-09962bf2f56e.webp?v=1775112432","variant_ids":[43303329988707]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) ilovedoodle Meh 獨角獸 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600J-XF03","featured_media":{"alt":null,"id":27114180575331,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_a350a26c-f768-432d-8eed-09962bf2f56e.webp?v=1775112432"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303330021475,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"MCN012600I-XF03","requires_shipping":true,"taxable":true,"featured_image":{"id":35581560553571,"product_id":7769647612003,"position":6,"created_at":"2026-04-02T14:47:11+08:00","updated_at":"2026-04-02T14:47:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_cdd4df2f-d379-4953-9bcf-7cb221f499db.webp?v=1775112433","variant_ids":[43303330021475]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) ilovedoodle Meh 獨角獸 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600I-XF03","featured_media":{"alt":null,"id":27114180673635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_cdd4df2f-d379-4953-9bcf-7cb221f499db.webp?v=1775112433"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb95d7b188b3985e358d0fdd13eb928c25fd6e2.webp?v=1744714469","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_08d9b900-639d-47b3-b24f-3f4ea9ea5142.webp?v=1774939681","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_75c47a8d-9fce-49bf-9f8b-8f6014367dd3.webp?v=1774939681","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_879df758-c215-488e-8594-9b741a6da711.webp?v=1774939682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_a350a26c-f768-432d-8eed-09962bf2f56e.webp?v=1775112432","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_cdd4df2f-d379-4953-9bcf-7cb221f499db.webp?v=1775112433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_3537f81c-c5db-4806-ba2e-b66d6cbf9757.webp?v=1775112434"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb95d7b188b3985e358d0fdd13eb928c25fd6e2.webp?v=1744714469","options":["color"],"media":[{"alt":null,"id":25496048730211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb95d7b188b3985e358d0fdd13eb928c25fd6e2.webp?v=1744714469"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb95d7b188b3985e358d0fdd13eb928c25fd6e2.webp?v=1744714469","width":2000},{"alt":null,"id":27102352900195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_08d9b900-639d-47b3-b24f-3f4ea9ea5142.webp?v=1774939681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_08d9b900-639d-47b3-b24f-3f4ea9ea5142.webp?v=1774939681","width":2000},{"alt":null,"id":27102353031267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_75c47a8d-9fce-49bf-9f8b-8f6014367dd3.webp?v=1774939681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_75c47a8d-9fce-49bf-9f8b-8f6014367dd3.webp?v=1774939681","width":2000},{"alt":null,"id":27102353195107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_879df758-c215-488e-8594-9b741a6da711.webp?v=1774939682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_879df758-c215-488e-8594-9b741a6da711.webp?v=1774939682","width":2000},{"alt":null,"id":27114180575331,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_a350a26c-f768-432d-8eed-09962bf2f56e.webp?v=1775112432"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_a350a26c-f768-432d-8eed-09962bf2f56e.webp?v=1775112432","width":2000},{"alt":null,"id":27114180673635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_cdd4df2f-d379-4953-9bcf-7cb221f499db.webp?v=1775112433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_cdd4df2f-d379-4953-9bcf-7cb221f499db.webp?v=1775112433","width":2000},{"alt":null,"id":27114180837475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_3537f81c-c5db-4806-ba2e-b66d6cbf9757.webp?v=1775112434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_3537f81c-c5db-4806-ba2e-b66d6cbf9757.webp?v=1775112434","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43303328612451,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012600G-XF03","requires_shipping":true,"taxable":true,"featured_image":{"id":35581560717411,"product_id":7769647612003,"position":7,"created_at":"2026-04-02T14:47:12+08:00","updated_at":"2026-04-02T14:47:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_3537f81c-c5db-4806-ba2e-b66d6cbf9757.webp?v=1775112434","variant_ids":[43303328612451]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) ilovedoodle Meh 獨角獸 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600G-XF03","featured_media":{"alt":null,"id":27114180837475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_3537f81c-c5db-4806-ba2e-b66d6cbf9757.webp?v=1775112434"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303329988707,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012600J-XF03","requires_shipping":true,"taxable":true,"featured_image":{"id":35581560455267,"product_id":7769647612003,"position":5,"created_at":"2026-04-02T14:47:11+08:00","updated_at":"2026-04-02T14:47:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_a350a26c-f768-432d-8eed-09962bf2f56e.webp?v=1775112432","variant_ids":[43303329988707]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) ilovedoodle Meh 獨角獸 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600J-XF03","featured_media":{"alt":null,"id":27114180575331,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f6ea366acea37b47761ee37d78f7ee53f2aa2d_a350a26c-f768-432d-8eed-09962bf2f56e.webp?v=1775112432"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303330021475,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"MCN012600I-XF03","requires_shipping":true,"taxable":true,"featured_image":{"id":35581560553571,"product_id":7769647612003,"position":6,"created_at":"2026-04-02T14:47:11+08:00","updated_at":"2026-04-02T14:47:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_cdd4df2f-d379-4953-9bcf-7cb221f499db.webp?v=1775112433","variant_ids":[43303330021475]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) ilovedoodle Meh 獨角獸 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600I-XF03","featured_media":{"alt":null,"id":27114180673635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a8ab6df5f7bbd5ec22a3d792c1272e529d56ee2_cdd4df2f-d379-4953-9bcf-7cb221f499db.webp?v=1775112433"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303328612451,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012600G-XF03","requires_shipping":true,"taxable":true,"featured_image":{"id":35581560717411,"product_id":7769647612003,"position":7,"created_at":"2026-04-02T14:47:12+08:00","updated_at":"2026-04-02T14:47:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_3537f81c-c5db-4806-ba2e-b66d6cbf9757.webp?v=1775112434","variant_ids":[43303328612451]},"available":true,"name":"iPhone 13 Clear (MagSafe 兼容) ilovedoodle Meh 獨角獸 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600G-XF03","featured_media":{"alt":null,"id":27114180837475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb14aec038db08d3cb961d715ed0a6e419107547_3537f81c-c5db-4806-ba2e-b66d6cbf9757.webp?v=1775112434"}},"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: "停產" }