$product = {"id":7928116052067,"title":"iPhone 13 Clear Doraemon 哆啦A夢 和風任意門款","handle":"iphone-13-jellytint-yr37","description":null,"published_at":"2025-11-26T09:38:42+08:00","created_at":"2025-11-25T11:11:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-doraemon","device-iPhone 13","merge","reseller-doraemon"],"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":43853165625443,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-YR37","requires_shipping":true,"taxable":true,"featured_image":{"id":36084402716771,"product_id":7928116052067,"position":10,"created_at":"2026-06-24T16:02:07+08:00","updated_at":"2026-06-24T16:02:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_104a5db3-00c1-479b-a220-d1b9b6bc85c1.webp?v=1782288129","variant_ids":[43853165625443]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 和風任意門款 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-YR37","featured_media":{"alt":null,"id":27593533030499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_104a5db3-00c1-479b-a220-d1b9b6bc85c1.webp?v=1782288129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853167689827,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-YR37","requires_shipping":true,"taxable":true,"featured_image":{"id":36084401864803,"product_id":7928116052067,"position":8,"created_at":"2026-06-24T16:02:06+08:00","updated_at":"2026-06-24T16:02:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_2d0fb147-f5f1-47ad-87c4-3e476956cb89.webp?v=1782288128","variant_ids":[43853167689827]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 和風任意門款 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-YR37","featured_media":{"alt":null,"id":27593532145763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_2d0fb147-f5f1-47ad-87c4-3e476956cb89.webp?v=1782288128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853167722595,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-YR37","requires_shipping":true,"taxable":true,"featured_image":{"id":36084402258019,"product_id":7928116052067,"position":9,"created_at":"2026-06-24T16:02:06+08:00","updated_at":"2026-06-24T16:02:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_177f4b17-09ae-4b4c-8bce-62e60eea7519.webp?v=1782288128","variant_ids":[43853167722595]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 和風任意門款 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-YR37","featured_media":{"alt":null,"id":27593532538979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_177f4b17-09ae-4b4c-8bce-62e60eea7519.webp?v=1782288128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b.webp?v=1764040275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2.webp?v=1764040275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b48faebfac8b077ebc1eda429db19cc972791ad4.webp?v=1764040277","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929.webp?v=1764040277","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_462022c1-965b-46f4-80d5-2e85d2caeb8c.webp?v=1782265104","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_c949d7f6-10b5-4b37-a2fe-f87469f989fd.webp?v=1782265105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_64bfde76-81a7-4eb6-9289-221a89ba7f3d.webp?v=1782265105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_2d0fb147-f5f1-47ad-87c4-3e476956cb89.webp?v=1782288128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_177f4b17-09ae-4b4c-8bce-62e60eea7519.webp?v=1782288128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_104a5db3-00c1-479b-a220-d1b9b6bc85c1.webp?v=1782288129"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b.webp?v=1764040275","options":["color"],"media":[{"alt":null,"id":26402901655651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b.webp?v=1764040275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b.webp?v=1764040275","width":2000},{"alt":null,"id":26402901852259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2.webp?v=1764040275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2.webp?v=1764040275","width":2000},{"alt":null,"id":26402902343779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b48faebfac8b077ebc1eda429db19cc972791ad4.webp?v=1764040277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b48faebfac8b077ebc1eda429db19cc972791ad4.webp?v=1764040277","width":2000},{"alt":null,"id":26402902933603,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929.webp?v=1764040277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929.webp?v=1764040277","width":2000},{"alt":null,"id":27586963538019,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_462022c1-965b-46f4-80d5-2e85d2caeb8c.webp?v=1782265104"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_462022c1-965b-46f4-80d5-2e85d2caeb8c.webp?v=1782265104","width":2000},{"alt":null,"id":27586964160611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_c949d7f6-10b5-4b37-a2fe-f87469f989fd.webp?v=1782265105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_c949d7f6-10b5-4b37-a2fe-f87469f989fd.webp?v=1782265105","width":2000},{"alt":null,"id":27586964717667,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_64bfde76-81a7-4eb6-9289-221a89ba7f3d.webp?v=1782265105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_64bfde76-81a7-4eb6-9289-221a89ba7f3d.webp?v=1782265105","width":2000},{"alt":null,"id":27593532145763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_2d0fb147-f5f1-47ad-87c4-3e476956cb89.webp?v=1782288128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_2d0fb147-f5f1-47ad-87c4-3e476956cb89.webp?v=1782288128","width":2000},{"alt":null,"id":27593532538979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_177f4b17-09ae-4b4c-8bce-62e60eea7519.webp?v=1782288128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_177f4b17-09ae-4b4c-8bce-62e60eea7519.webp?v=1782288128","width":2000},{"alt":null,"id":27593533030499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_104a5db3-00c1-479b-a220-d1b9b6bc85c1.webp?v=1782288129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_104a5db3-00c1-479b-a220-d1b9b6bc85c1.webp?v=1782288129","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43853165625443,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-YR37","requires_shipping":true,"taxable":true,"featured_image":{"id":36084402716771,"product_id":7928116052067,"position":10,"created_at":"2026-06-24T16:02:07+08:00","updated_at":"2026-06-24T16:02:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_104a5db3-00c1-479b-a220-d1b9b6bc85c1.webp?v=1782288129","variant_ids":[43853165625443]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 和風任意門款 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-YR37","featured_media":{"alt":null,"id":27593533030499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_104a5db3-00c1-479b-a220-d1b9b6bc85c1.webp?v=1782288129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853167689827,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-YR37","requires_shipping":true,"taxable":true,"featured_image":{"id":36084401864803,"product_id":7928116052067,"position":8,"created_at":"2026-06-24T16:02:06+08:00","updated_at":"2026-06-24T16:02:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_2d0fb147-f5f1-47ad-87c4-3e476956cb89.webp?v=1782288128","variant_ids":[43853167689827]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 和風任意門款 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-YR37","featured_media":{"alt":null,"id":27593532145763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b9b483368ef649a318cd33b897093b02475f5a2_2d0fb147-f5f1-47ad-87c4-3e476956cb89.webp?v=1782288128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853167722595,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-YR37","requires_shipping":true,"taxable":true,"featured_image":{"id":36084402258019,"product_id":7928116052067,"position":9,"created_at":"2026-06-24T16:02:06+08:00","updated_at":"2026-06-24T16:02:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_177f4b17-09ae-4b4c-8bce-62e60eea7519.webp?v=1782288128","variant_ids":[43853167722595]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 和風任意門款 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-YR37","featured_media":{"alt":null,"id":27593532538979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7624dc85b754ee8ccd1d3c6c556639cde922929_177f4b17-09ae-4b4c-8bce-62e60eea7519.webp?v=1782288128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43853165625443,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-YR37","requires_shipping":true,"taxable":true,"featured_image":{"id":36084402716771,"product_id":7928116052067,"position":10,"created_at":"2026-06-24T16:02:07+08:00","updated_at":"2026-06-24T16:02:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_104a5db3-00c1-479b-a220-d1b9b6bc85c1.webp?v=1782288129","variant_ids":[43853165625443]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 和風任意門款 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-YR37","featured_media":{"alt":null,"id":27593533030499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe9082430116f495afcfa5a6ce2be544bfd3ac7b_104a5db3-00c1-479b-a220-d1b9b6bc85c1.webp?v=1782288129"}},"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: "停產" }