$product = {"id":7937947664483,"title":"iPhone 16 Pro Clear 進擊的巨人 Attack on Titan Q版巨人","handle":"iphone-16-pro-jellytint-xu17","description":null,"published_at":"2025-12-12T10:26:38+08:00","created_at":"2025-12-11T16:04:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 16 Pro","merge","reseller-attack-on-titan"],"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":43884514607203,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480299335779,"product_id":7937947664483,"position":8,"created_at":"2026-08-04T18:48:19+08:00","updated_at":"2026-08-04T18:48:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_d2858c7a-5f1e-4147-8b1f-96521b912116.webp?v=1785840501","variant_ids":[43884514607203]},"available":true,"name":"iPhone 16 Pro Clear 進擊的巨人 Attack on Titan Q版巨人 - 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":"CCN013270J-XU17","featured_media":{"alt":null,"id":27983618310243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_d2858c7a-5f1e-4147-8b1f-96521b912116.webp?v=1785840501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884516081763,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013270H-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480299466851,"product_id":7937947664483,"position":9,"created_at":"2026-08-04T18:48:21+08:00","updated_at":"2026-08-04T18:48:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_7dd734db-6878-4a03-b96c-6552b9f1f2fe.webp?v=1785840503","variant_ids":[43884516081763]},"available":true,"name":"iPhone 16 Pro Clear 進擊的巨人 Attack on Titan Q版巨人 - 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":"CCN013270H-XU17","featured_media":{"alt":null,"id":27983618408547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_7dd734db-6878-4a03-b96c-6552b9f1f2fe.webp?v=1785840503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370.webp?v=1765440288","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e.webp?v=1765440289","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a16cdbd9a0fa56a4703e3543d5e59156a73a40e3.webp?v=1765440289","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/493e93eb207f838e635a2dfde094a8b42a2906b8.webp?v=1765440289","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_22d22ed1-1f57-4475-87ef-5f4590b62c9b.webp?v=1783562163","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/493e93eb207f838e635a2dfde094a8b42a2906b8_f66f4115-2079-4537-8a11-34fa95d5fca2.webp?v=1783562163","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_4ef78f79-4ef3-4e46-b56c-ca8762907c0b.webp?v=1783562164","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_d2858c7a-5f1e-4147-8b1f-96521b912116.webp?v=1785840501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_7dd734db-6878-4a03-b96c-6552b9f1f2fe.webp?v=1785840503"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370.webp?v=1765440288","options":["color"],"media":[{"alt":null,"id":26495572279395,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370.webp?v=1765440288"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370.webp?v=1765440288","width":2000},{"alt":null,"id":26495572541539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e.webp?v=1765440289"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e.webp?v=1765440289","width":2000},{"alt":null,"id":26495572803683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a16cdbd9a0fa56a4703e3543d5e59156a73a40e3.webp?v=1765440289"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a16cdbd9a0fa56a4703e3543d5e59156a73a40e3.webp?v=1765440289","width":2000},{"alt":null,"id":26495573000291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/493e93eb207f838e635a2dfde094a8b42a2906b8.webp?v=1765440289"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/493e93eb207f838e635a2dfde094a8b42a2906b8.webp?v=1765440289","width":2000},{"alt":null,"id":27730939150435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_22d22ed1-1f57-4475-87ef-5f4590b62c9b.webp?v=1783562163"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_22d22ed1-1f57-4475-87ef-5f4590b62c9b.webp?v=1783562163","width":2000},{"alt":null,"id":27730939347043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/493e93eb207f838e635a2dfde094a8b42a2906b8_f66f4115-2079-4537-8a11-34fa95d5fca2.webp?v=1783562163"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/493e93eb207f838e635a2dfde094a8b42a2906b8_f66f4115-2079-4537-8a11-34fa95d5fca2.webp?v=1783562163","width":2000},{"alt":null,"id":27730939740259,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_4ef78f79-4ef3-4e46-b56c-ca8762907c0b.webp?v=1783562164"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_4ef78f79-4ef3-4e46-b56c-ca8762907c0b.webp?v=1783562164","width":2000},{"alt":null,"id":27983618310243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_d2858c7a-5f1e-4147-8b1f-96521b912116.webp?v=1785840501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_d2858c7a-5f1e-4147-8b1f-96521b912116.webp?v=1785840501","width":2000},{"alt":null,"id":27983618408547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_7dd734db-6878-4a03-b96c-6552b9f1f2fe.webp?v=1785840503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_7dd734db-6878-4a03-b96c-6552b9f1f2fe.webp?v=1785840503","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43884514607203,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480299335779,"product_id":7937947664483,"position":8,"created_at":"2026-08-04T18:48:19+08:00","updated_at":"2026-08-04T18:48:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_d2858c7a-5f1e-4147-8b1f-96521b912116.webp?v=1785840501","variant_ids":[43884514607203]},"available":true,"name":"iPhone 16 Pro Clear 進擊的巨人 Attack on Titan Q版巨人 - 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":"CCN013270J-XU17","featured_media":{"alt":null,"id":27983618310243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_d2858c7a-5f1e-4147-8b1f-96521b912116.webp?v=1785840501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884516081763,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013270H-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480299466851,"product_id":7937947664483,"position":9,"created_at":"2026-08-04T18:48:21+08:00","updated_at":"2026-08-04T18:48:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_7dd734db-6878-4a03-b96c-6552b9f1f2fe.webp?v=1785840503","variant_ids":[43884516081763]},"available":true,"name":"iPhone 16 Pro Clear 進擊的巨人 Attack on Titan Q版巨人 - 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":"CCN013270H-XU17","featured_media":{"alt":null,"id":27983618408547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/538798a3b0901e33cbedd23b0b2571e0a61a4370_7dd734db-6878-4a03-b96c-6552b9f1f2fe.webp?v=1785840503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43884514607203,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013270J-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480299335779,"product_id":7937947664483,"position":8,"created_at":"2026-08-04T18:48:19+08:00","updated_at":"2026-08-04T18:48:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_d2858c7a-5f1e-4147-8b1f-96521b912116.webp?v=1785840501","variant_ids":[43884514607203]},"available":true,"name":"iPhone 16 Pro Clear 進擊的巨人 Attack on Titan Q版巨人 - 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":"CCN013270J-XU17","featured_media":{"alt":null,"id":27983618310243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/519a5a6546adfc18a09edc6055f1a1a0351d2c5e_d2858c7a-5f1e-4147-8b1f-96521b912116.webp?v=1785840501"}},"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: "停產" }