$product = {"id":7863378411619,"title":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) ilovedoodle Dododo Do It Later 鯊魚","handle":"iphone-17-pro-jellytint-magsafe-with-capture-button-xf01","description":null,"published_at":"2025-09-10T18:37:11+08:00","created_at":"2025-08-22T18:57:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"Collab JellyTint (MagSafe compatible) With Capture Button I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 17 Pro","merge","reseller-ilovedoodle"],"price":148000,"price_min":148000,"price_max":148000,"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":43608819794019,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013520G-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581700604003,"product_id":7863378411619,"position":7,"created_at":"2026-04-02T14:54:47+08:00","updated_at":"2026-04-02T14:54:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba_1bfed3ac-ea89-4b30-99cf-b0da41f4b75f.webp?v=1775112888","variant_ids":[43608819794019]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) ilovedoodle Dododo Do It Later 鯊魚 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013520G-XF01","featured_media":{"alt":null,"id":27114320724067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba_1bfed3ac-ea89-4b30-99cf-b0da41f4b75f.webp?v=1775112888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43608820777059,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013524M-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581700374627,"product_id":7863378411619,"position":5,"created_at":"2026-04-02T14:54:45+08:00","updated_at":"2026-04-02T14:54:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da_480bd584-503e-4e46-8628-39bd3958797e.webp?v=1775112887","variant_ids":[43608820777059]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) ilovedoodle Dododo Do It Later 鯊魚 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013524M-XF01","featured_media":{"alt":null,"id":27114320494691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da_480bd584-503e-4e46-8628-39bd3958797e.webp?v=1775112887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43608820809827,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013524L-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581700505699,"product_id":7863378411619,"position":6,"created_at":"2026-04-02T14:54:46+08:00","updated_at":"2026-04-02T14:54:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417_b9696d32-ec7b-4e10-b013-662f257a5e38.webp?v=1775112888","variant_ids":[43608820809827]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) ilovedoodle Dododo Do It Later 鯊魚 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013524L-XF01","featured_media":{"alt":null,"id":27114320625763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417_b9696d32-ec7b-4e10-b013-662f257a5e38.webp?v=1775112888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-XF01_e9a4a9db-a015-44f2-b625-49aa3443fbd6.png?v=1755860273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417.webp?v=1774939807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da.webp?v=1774939807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba.webp?v=1774939808","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da_480bd584-503e-4e46-8628-39bd3958797e.webp?v=1775112887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417_b9696d32-ec7b-4e10-b013-662f257a5e38.webp?v=1775112888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba_1bfed3ac-ea89-4b30-99cf-b0da41f4b75f.webp?v=1775112888"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-XF01_e9a4a9db-a015-44f2-b625-49aa3443fbd6.png?v=1755860273","options":["color"],"media":[{"alt":null,"id":25941434138723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-XF01_e9a4a9db-a015-44f2-b625-49aa3443fbd6.png?v=1755860273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/Clear-F5-352-XF01_e9a4a9db-a015-44f2-b625-49aa3443fbd6.png?v=1755860273","width":2000},{"alt":null,"id":27102385406051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417.webp?v=1774939807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417.webp?v=1774939807","width":2000},{"alt":null,"id":27102385504355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da.webp?v=1774939807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da.webp?v=1774939807","width":2000},{"alt":null,"id":27102385602659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba.webp?v=1774939808"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba.webp?v=1774939808","width":2000},{"alt":null,"id":27114320494691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da_480bd584-503e-4e46-8628-39bd3958797e.webp?v=1775112887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da_480bd584-503e-4e46-8628-39bd3958797e.webp?v=1775112887","width":2000},{"alt":null,"id":27114320625763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417_b9696d32-ec7b-4e10-b013-662f257a5e38.webp?v=1775112888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417_b9696d32-ec7b-4e10-b013-662f257a5e38.webp?v=1775112888","width":2000},{"alt":null,"id":27114320724067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba_1bfed3ac-ea89-4b30-99cf-b0da41f4b75f.webp?v=1775112888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba_1bfed3ac-ea89-4b30-99cf-b0da41f4b75f.webp?v=1775112888","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43608819794019,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013520G-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581700604003,"product_id":7863378411619,"position":7,"created_at":"2026-04-02T14:54:47+08:00","updated_at":"2026-04-02T14:54:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba_1bfed3ac-ea89-4b30-99cf-b0da41f4b75f.webp?v=1775112888","variant_ids":[43608819794019]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) ilovedoodle Dododo Do It Later 鯊魚 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013520G-XF01","featured_media":{"alt":null,"id":27114320724067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba_1bfed3ac-ea89-4b30-99cf-b0da41f4b75f.webp?v=1775112888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43608820777059,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013524M-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581700374627,"product_id":7863378411619,"position":5,"created_at":"2026-04-02T14:54:45+08:00","updated_at":"2026-04-02T14:54:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da_480bd584-503e-4e46-8628-39bd3958797e.webp?v=1775112887","variant_ids":[43608820777059]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) ilovedoodle Dododo Do It Later 鯊魚 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013524M-XF01","featured_media":{"alt":null,"id":27114320494691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d56016527db862da05fbd3f3d73880ec0499da_480bd584-503e-4e46-8628-39bd3958797e.webp?v=1775112887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43608820809827,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013524L-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581700505699,"product_id":7863378411619,"position":6,"created_at":"2026-04-02T14:54:46+08:00","updated_at":"2026-04-02T14:54:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417_b9696d32-ec7b-4e10-b013-662f257a5e38.webp?v=1775112888","variant_ids":[43608820809827]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) ilovedoodle Dododo Do It Later 鯊魚 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013524L-XF01","featured_media":{"alt":null,"id":27114320625763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b22ae31be627c3bbda14cf720e051c97117e417_b9696d32-ec7b-4e10-b013-662f257a5e38.webp?v=1775112888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43608819794019,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MJB013520G-XF01","requires_shipping":true,"taxable":true,"featured_image":{"id":35581700604003,"product_id":7863378411619,"position":7,"created_at":"2026-04-02T14:54:47+08:00","updated_at":"2026-04-02T14:54:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba_1bfed3ac-ea89-4b30-99cf-b0da41f4b75f.webp?v=1775112888","variant_ids":[43608819794019]},"available":true,"name":"iPhone 17 Pro Clear (MagSafe 兼容 \u0026 相機按鈕) ilovedoodle Dododo Do It Later 鯊魚 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013520G-XF01","featured_media":{"alt":null,"id":27114320724067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/158f7ec5c2a98ac92bcbf2605a6f3bea387a06ba_1bfed3ac-ea89-4b30-99cf-b0da41f4b75f.webp?v=1775112888"}},"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: "停產" }