$product = {"id":7928257216611,"title":"iPhone 15 Pro Clear Doraemon 哆啦A夢 和風哆啦A夢款","handle":"iphone-15-pro-jellytint-yr31","description":null,"published_at":"2025-11-26T09:19:18+08:00","created_at":"2025-11-25T11:38:00+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-doraemon","device-iPhone 15 Pro","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":43853627162723,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-YR31","requires_shipping":true,"taxable":true,"featured_image":{"id":36084664598627,"product_id":7928257216611,"position":8,"created_at":"2026-06-24T16:12:45+08:00","updated_at":"2026-06-24T16:12:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_9c4428b5-3321-4fad-99c8-4fd80e13f709.webp?v=1782288766","variant_ids":[43853627162723]},"available":true,"name":"iPhone 15 Pro Clear Doraemon 哆啦A夢 和風哆啦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":"CCN012970I-YR31","featured_media":{"alt":null,"id":27593794814051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_9c4428b5-3321-4fad-99c8-4fd80e13f709.webp?v=1782288766"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853627195491,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-YR31","requires_shipping":true,"taxable":true,"featured_image":{"id":36084665319523,"product_id":7928257216611,"position":9,"created_at":"2026-06-24T16:12:46+08:00","updated_at":"2026-06-24T16:12:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_35ed0971-22fb-4c30-b853-4f0bfc176666.webp?v=1782288768","variant_ids":[43853627195491]},"available":true,"name":"iPhone 15 Pro Clear Doraemon 哆啦A夢 和風哆啦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":"CCN012970G-YR31","featured_media":{"alt":null,"id":27593795371107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_35ed0971-22fb-4c30-b853-4f0bfc176666.webp?v=1782288768"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853627228259,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-YR31","requires_shipping":true,"taxable":true,"featured_image":{"id":36084666105955,"product_id":7928257216611,"position":10,"created_at":"2026-06-24T16:12:47+08:00","updated_at":"2026-06-24T16:12:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_7b078176-67bb-44e6-aa3f-cd0ea81161c2.webp?v=1782288769","variant_ids":[43853627228259]},"available":true,"name":"iPhone 15 Pro Clear Doraemon 哆啦A夢 和風哆啦A夢款 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-YR31","featured_media":{"alt":null,"id":27593796157539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_7b078176-67bb-44e6-aa3f-cd0ea81161c2.webp?v=1782288769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c.webp?v=1764041886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7.webp?v=1764041886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff.webp?v=1764041887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25557ff9ad2bf815a5242bba3ec62d095a8307cb.webp?v=1764041887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_efae76d9-ed59-46bd-841a-325cff6a897f.webp?v=1782266197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_dc631a90-c17a-40d2-ad36-1c96bd054f00.webp?v=1782266197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_901560db-be3e-444d-b0b5-f1dae37e5fee.webp?v=1782266198","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_9c4428b5-3321-4fad-99c8-4fd80e13f709.webp?v=1782288766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_35ed0971-22fb-4c30-b853-4f0bfc176666.webp?v=1782288768","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_7b078176-67bb-44e6-aa3f-cd0ea81161c2.webp?v=1782288769"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c.webp?v=1764041886","options":["color"],"media":[{"alt":null,"id":26403397599331,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c.webp?v=1764041886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c.webp?v=1764041886","width":2000},{"alt":null,"id":26403397894243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7.webp?v=1764041886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7.webp?v=1764041886","width":2000},{"alt":null,"id":26403398123619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff.webp?v=1764041887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff.webp?v=1764041887","width":2000},{"alt":null,"id":26403398320227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25557ff9ad2bf815a5242bba3ec62d095a8307cb.webp?v=1764041887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25557ff9ad2bf815a5242bba3ec62d095a8307cb.webp?v=1764041887","width":2000},{"alt":null,"id":27587434217571,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_efae76d9-ed59-46bd-841a-325cff6a897f.webp?v=1782266197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_efae76d9-ed59-46bd-841a-325cff6a897f.webp?v=1782266197","width":2000},{"alt":null,"id":27587434938467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_dc631a90-c17a-40d2-ad36-1c96bd054f00.webp?v=1782266197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_dc631a90-c17a-40d2-ad36-1c96bd054f00.webp?v=1782266197","width":2000},{"alt":null,"id":27587435561059,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_901560db-be3e-444d-b0b5-f1dae37e5fee.webp?v=1782266198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_901560db-be3e-444d-b0b5-f1dae37e5fee.webp?v=1782266198","width":2000},{"alt":null,"id":27593794814051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_9c4428b5-3321-4fad-99c8-4fd80e13f709.webp?v=1782288766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_9c4428b5-3321-4fad-99c8-4fd80e13f709.webp?v=1782288766","width":2000},{"alt":null,"id":27593795371107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_35ed0971-22fb-4c30-b853-4f0bfc176666.webp?v=1782288768"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_35ed0971-22fb-4c30-b853-4f0bfc176666.webp?v=1782288768","width":2000},{"alt":null,"id":27593796157539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_7b078176-67bb-44e6-aa3f-cd0ea81161c2.webp?v=1782288769"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_7b078176-67bb-44e6-aa3f-cd0ea81161c2.webp?v=1782288769","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43853627162723,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-YR31","requires_shipping":true,"taxable":true,"featured_image":{"id":36084664598627,"product_id":7928257216611,"position":8,"created_at":"2026-06-24T16:12:45+08:00","updated_at":"2026-06-24T16:12:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_9c4428b5-3321-4fad-99c8-4fd80e13f709.webp?v=1782288766","variant_ids":[43853627162723]},"available":true,"name":"iPhone 15 Pro Clear Doraemon 哆啦A夢 和風哆啦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":"CCN012970I-YR31","featured_media":{"alt":null,"id":27593794814051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_9c4428b5-3321-4fad-99c8-4fd80e13f709.webp?v=1782288766"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853627195491,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012970G-YR31","requires_shipping":true,"taxable":true,"featured_image":{"id":36084665319523,"product_id":7928257216611,"position":9,"created_at":"2026-06-24T16:12:46+08:00","updated_at":"2026-06-24T16:12:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_35ed0971-22fb-4c30-b853-4f0bfc176666.webp?v=1782288768","variant_ids":[43853627195491]},"available":true,"name":"iPhone 15 Pro Clear Doraemon 哆啦A夢 和風哆啦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":"CCN012970G-YR31","featured_media":{"alt":null,"id":27593795371107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a27c0191254926b0903a3254fa454be6f712ff_35ed0971-22fb-4c30-b853-4f0bfc176666.webp?v=1782288768"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853627228259,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012970H-YR31","requires_shipping":true,"taxable":true,"featured_image":{"id":36084666105955,"product_id":7928257216611,"position":10,"created_at":"2026-06-24T16:12:47+08:00","updated_at":"2026-06-24T16:12:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_7b078176-67bb-44e6-aa3f-cd0ea81161c2.webp?v=1782288769","variant_ids":[43853627228259]},"available":true,"name":"iPhone 15 Pro Clear Doraemon 哆啦A夢 和風哆啦A夢款 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012970H-YR31","featured_media":{"alt":null,"id":27593796157539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fab8c5bec57ef79645f5aacb612a691ca4b2c24c_7b078176-67bb-44e6-aa3f-cd0ea81161c2.webp?v=1782288769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43853627162723,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012970I-YR31","requires_shipping":true,"taxable":true,"featured_image":{"id":36084664598627,"product_id":7928257216611,"position":8,"created_at":"2026-06-24T16:12:45+08:00","updated_at":"2026-06-24T16:12:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_9c4428b5-3321-4fad-99c8-4fd80e13f709.webp?v=1782288766","variant_ids":[43853627162723]},"available":true,"name":"iPhone 15 Pro Clear Doraemon 哆啦A夢 和風哆啦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":"CCN012970I-YR31","featured_media":{"alt":null,"id":27593794814051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe59edec525996cb503894e3e49d5d4d17be8d7_9c4428b5-3321-4fad-99c8-4fd80e13f709.webp?v=1782288766"}},"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: "停產" }