$product = {"id":7769747521635,"title":"iPhone X SolidSuit ilovedoodle Lunar Mirage Cat - 月光貓","handle":"iphone-x-solidsuit-classic-xf53","description":null,"published_at":"2025-07-16T17:02:38+08:00","created_at":"2025-04-15T20:13:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone X","merge","reseller-ilovedoodle"],"price":83000,"price_min":83000,"price_max":83000,"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":43303816822883,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196663140451,"product_id":7769747521635,"position":11,"created_at":"2025-07-16T14:48:30+08:00","updated_at":"2025-07-16T14:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_47c6f787-7aec-4551-9471-ec347f293a78.webp?v=1752648511","variant_ids":[43303816822883]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Lunar Mirage Cat - 月光貓 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-XF53","featured_media":{"alt":null,"id":25829477285987,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_47c6f787-7aec-4551-9471-ec347f293a78.webp?v=1752648511"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303821475939,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196664221795,"product_id":7769747521635,"position":13,"created_at":"2025-07-16T14:48:31+08:00","updated_at":"2025-07-16T14:48:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_215cf0d6-a63a-4bff-abad-a085b6650341.webp?v=1752648512","variant_ids":[43303821475939]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Lunar Mirage Cat - 月光貓 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01064P2-XF53","featured_media":{"alt":null,"id":25829477974115,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_215cf0d6-a63a-4bff-abad-a085b6650341.webp?v=1752648512"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da7ec6a8ecce4f6a37c7fe55cb8f37d77b07438.webp?v=1744719216","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb9603f6b173367722c304425479c22631045143_262c9121-91e2-45d7-a4b6-d4f91ff05bcb.webp?v=1752640013","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9a1507eef9ef47c9d8e2c68d7883c3829ab39a3_ccf2c47f-88cd-4248-bbb5-a6c1d9b95889.webp?v=1752640013","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_f7f16bdf-73aa-4ccc-bdb2-10e4fddab21b.webp?v=1752640014","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ca665bb58c11a00df51defcadfc9746a781fbd_0b0304b2-779e-4679-9897-01432bb300ad.webp?v=1752640015","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_8fc4f999-1087-4d1a-addd-d190ddac766b.webp?v=1752640015","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f77044c430a41b55fc38c456142520c3b8552d_77fcbd87-3361-49ea-b406-2e031a01b812.webp?v=1752640016","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9a1507eef9ef47c9d8e2c68d7883c3829ab39a3_37cb4918-8335-4e70-86c2-b5621702c480.webp?v=1752648510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb9603f6b173367722c304425479c22631045143_45b45335-e3ec-43e2-b8a2-5b490ef198ce.webp?v=1752648510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ca665bb58c11a00df51defcadfc9746a781fbd_85885d03-07da-4711-b586-488da6574114.webp?v=1752648511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_47c6f787-7aec-4551-9471-ec347f293a78.webp?v=1752648511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f77044c430a41b55fc38c456142520c3b8552d_d9099594-82d5-4d74-a788-95f6c3b662b6.webp?v=1752648512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_215cf0d6-a63a-4bff-abad-a085b6650341.webp?v=1752648512"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da7ec6a8ecce4f6a37c7fe55cb8f37d77b07438.webp?v=1744719216","options":["color"],"media":[{"alt":null,"id":25496241602659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da7ec6a8ecce4f6a37c7fe55cb8f37d77b07438.webp?v=1744719216"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da7ec6a8ecce4f6a37c7fe55cb8f37d77b07438.webp?v=1744719216","width":2000},{"alt":null,"id":25828737089635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb9603f6b173367722c304425479c22631045143_262c9121-91e2-45d7-a4b6-d4f91ff05bcb.webp?v=1752640013"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb9603f6b173367722c304425479c22631045143_262c9121-91e2-45d7-a4b6-d4f91ff05bcb.webp?v=1752640013","width":2000},{"alt":null,"id":25828737220707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9a1507eef9ef47c9d8e2c68d7883c3829ab39a3_ccf2c47f-88cd-4248-bbb5-a6c1d9b95889.webp?v=1752640013"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9a1507eef9ef47c9d8e2c68d7883c3829ab39a3_ccf2c47f-88cd-4248-bbb5-a6c1d9b95889.webp?v=1752640013","width":2000},{"alt":null,"id":25828737450083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_f7f16bdf-73aa-4ccc-bdb2-10e4fddab21b.webp?v=1752640014"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_f7f16bdf-73aa-4ccc-bdb2-10e4fddab21b.webp?v=1752640014","width":2000},{"alt":null,"id":25828737679459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ca665bb58c11a00df51defcadfc9746a781fbd_0b0304b2-779e-4679-9897-01432bb300ad.webp?v=1752640015"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ca665bb58c11a00df51defcadfc9746a781fbd_0b0304b2-779e-4679-9897-01432bb300ad.webp?v=1752640015","width":2000},{"alt":null,"id":25828738203747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_8fc4f999-1087-4d1a-addd-d190ddac766b.webp?v=1752640015"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_8fc4f999-1087-4d1a-addd-d190ddac766b.webp?v=1752640015","width":2000},{"alt":null,"id":25828738433123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f77044c430a41b55fc38c456142520c3b8552d_77fcbd87-3361-49ea-b406-2e031a01b812.webp?v=1752640016"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f77044c430a41b55fc38c456142520c3b8552d_77fcbd87-3361-49ea-b406-2e031a01b812.webp?v=1752640016","width":2000},{"alt":null,"id":25829476302947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9a1507eef9ef47c9d8e2c68d7883c3829ab39a3_37cb4918-8335-4e70-86c2-b5621702c480.webp?v=1752648510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9a1507eef9ef47c9d8e2c68d7883c3829ab39a3_37cb4918-8335-4e70-86c2-b5621702c480.webp?v=1752648510","width":2000},{"alt":null,"id":25829476532323,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb9603f6b173367722c304425479c22631045143_45b45335-e3ec-43e2-b8a2-5b490ef198ce.webp?v=1752648510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb9603f6b173367722c304425479c22631045143_45b45335-e3ec-43e2-b8a2-5b490ef198ce.webp?v=1752648510","width":2000},{"alt":null,"id":25829476794467,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ca665bb58c11a00df51defcadfc9746a781fbd_85885d03-07da-4711-b586-488da6574114.webp?v=1752648511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ca665bb58c11a00df51defcadfc9746a781fbd_85885d03-07da-4711-b586-488da6574114.webp?v=1752648511","width":2000},{"alt":null,"id":25829477285987,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_47c6f787-7aec-4551-9471-ec347f293a78.webp?v=1752648511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_47c6f787-7aec-4551-9471-ec347f293a78.webp?v=1752648511","width":2000},{"alt":null,"id":25829477580899,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f77044c430a41b55fc38c456142520c3b8552d_d9099594-82d5-4d74-a788-95f6c3b662b6.webp?v=1752648512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f77044c430a41b55fc38c456142520c3b8552d_d9099594-82d5-4d74-a788-95f6c3b662b6.webp?v=1752648512","width":2000},{"alt":null,"id":25829477974115,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_215cf0d6-a63a-4bff-abad-a085b6650341.webp?v=1752648512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_215cf0d6-a63a-4bff-abad-a085b6650341.webp?v=1752648512","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303816822883,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196663140451,"product_id":7769747521635,"position":11,"created_at":"2025-07-16T14:48:30+08:00","updated_at":"2025-07-16T14:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_47c6f787-7aec-4551-9471-ec347f293a78.webp?v=1752648511","variant_ids":[43303816822883]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Lunar Mirage Cat - 月光貓 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-XF53","featured_media":{"alt":null,"id":25829477285987,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_47c6f787-7aec-4551-9471-ec347f293a78.webp?v=1752648511"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303821475939,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196664221795,"product_id":7769747521635,"position":13,"created_at":"2025-07-16T14:48:31+08:00","updated_at":"2025-07-16T14:48:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_215cf0d6-a63a-4bff-abad-a085b6650341.webp?v=1752648512","variant_ids":[43303821475939]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Lunar Mirage Cat - 月光貓 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01064P2-XF53","featured_media":{"alt":null,"id":25829477974115,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec0f3193b3d537c6a114ecaded7741f52726579_215cf0d6-a63a-4bff-abad-a085b6650341.webp?v=1752648512"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303816822883,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF53","requires_shipping":true,"taxable":true,"featured_image":{"id":34196663140451,"product_id":7769747521635,"position":11,"created_at":"2025-07-16T14:48:30+08:00","updated_at":"2025-07-16T14:48:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_47c6f787-7aec-4551-9471-ec347f293a78.webp?v=1752648511","variant_ids":[43303816822883]},"available":true,"name":"iPhone X SolidSuit ilovedoodle Lunar Mirage Cat - 月光貓 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-XF53","featured_media":{"alt":null,"id":25829477285987,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf63e57fe726396d6f415868241ab0565557e44_47c6f787-7aec-4551-9471-ec347f293a78.webp?v=1752648511"}},"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: "停產" }