$product = {"id":7841245855843,"title":"iPhone 16 Pro Max Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦","handle":"iphone-16-pro-max-jellytint-hik30","description":null,"published_at":"2025-07-23T09:38:18+08:00","created_at":"2025-07-22T17:36:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-haikyu","device-iPhone 16 Pro Max","merge","reseller-haikyu"],"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":43539460653155,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013280J-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36042055843939,"product_id":7841245855843,"position":10,"created_at":"2026-06-22T17:29:56+08:00","updated_at":"2026-06-22T17:29:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347_97bc8a5e-2833-4a3a-ba33-8faec40b4dc6.webp?v=1782120598","variant_ids":[43539460653155]},"available":true,"name":"iPhone 16 Pro Max Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - 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":"CCN013280J-HIK30","featured_media":{"alt":null,"id":27558592315491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347_97bc8a5e-2833-4a3a-ba33-8faec40b4dc6.webp?v=1782120598"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43539461275747,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013280H-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36042055319651,"product_id":7841245855843,"position":9,"created_at":"2026-06-22T17:29:55+08:00","updated_at":"2026-06-22T17:29:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547_74a2587b-91fb-4876-b866-f7cb525fd3cd.webp?v=1782120597","variant_ids":[43539461275747]},"available":true,"name":"iPhone 16 Pro Max Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - 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":"CCN013280H-HIK30","featured_media":{"alt":null,"id":27558591791203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547_74a2587b-91fb-4876-b866-f7cb525fd3cd.webp?v=1782120597"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92127fc0648abd0df7e516d4ff4f1839e84a6fb2.webp?v=1753176984","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35d99783a351031777e8ef305972eb24499bb3e6.webp?v=1753176985","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1904e5704df605d392e09aea73b9c62e6f87b8.webp?v=1753176985","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45d12641dee966c5a8906d887ef8550e13762e5e.webp?v=1753176986","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347.webp?v=1776656330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547.webp?v=1776656331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dfad95553824b46ca8140244b409a7249fb43b.webp?v=1776656332","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dfad95553824b46ca8140244b409a7249fb43b_e2c2d415-2ad1-42fa-960c-ecde93d8b9de.webp?v=1782120596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547_74a2587b-91fb-4876-b866-f7cb525fd3cd.webp?v=1782120597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347_97bc8a5e-2833-4a3a-ba33-8faec40b4dc6.webp?v=1782120598"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92127fc0648abd0df7e516d4ff4f1839e84a6fb2.webp?v=1753176984","options":["color"],"media":[{"alt":null,"id":25852612280419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92127fc0648abd0df7e516d4ff4f1839e84a6fb2.webp?v=1753176984"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92127fc0648abd0df7e516d4ff4f1839e84a6fb2.webp?v=1753176984","width":2000},{"alt":null,"id":25852612411491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35d99783a351031777e8ef305972eb24499bb3e6.webp?v=1753176985"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35d99783a351031777e8ef305972eb24499bb3e6.webp?v=1753176985","width":2000},{"alt":null,"id":25852612739171,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1904e5704df605d392e09aea73b9c62e6f87b8.webp?v=1753176985"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1904e5704df605d392e09aea73b9c62e6f87b8.webp?v=1753176985","width":2000},{"alt":null,"id":25852613034083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45d12641dee966c5a8906d887ef8550e13762e5e.webp?v=1753176986"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45d12641dee966c5a8906d887ef8550e13762e5e.webp?v=1753176986","width":2000},{"alt":null,"id":27201806925923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347.webp?v=1776656330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347.webp?v=1776656330","width":2000},{"alt":null,"id":27201807351907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547.webp?v=1776656331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547.webp?v=1776656331","width":2000},{"alt":null,"id":27201807745123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dfad95553824b46ca8140244b409a7249fb43b.webp?v=1776656332"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dfad95553824b46ca8140244b409a7249fb43b.webp?v=1776656332","width":2000},{"alt":null,"id":27558591496291,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dfad95553824b46ca8140244b409a7249fb43b_e2c2d415-2ad1-42fa-960c-ecde93d8b9de.webp?v=1782120596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4dfad95553824b46ca8140244b409a7249fb43b_e2c2d415-2ad1-42fa-960c-ecde93d8b9de.webp?v=1782120596","width":2000},{"alt":null,"id":27558591791203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547_74a2587b-91fb-4876-b866-f7cb525fd3cd.webp?v=1782120597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547_74a2587b-91fb-4876-b866-f7cb525fd3cd.webp?v=1782120597","width":2000},{"alt":null,"id":27558592315491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347_97bc8a5e-2833-4a3a-ba33-8faec40b4dc6.webp?v=1782120598"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347_97bc8a5e-2833-4a3a-ba33-8faec40b4dc6.webp?v=1782120598","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43539460653155,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013280J-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36042055843939,"product_id":7841245855843,"position":10,"created_at":"2026-06-22T17:29:56+08:00","updated_at":"2026-06-22T17:29:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347_97bc8a5e-2833-4a3a-ba33-8faec40b4dc6.webp?v=1782120598","variant_ids":[43539460653155]},"available":true,"name":"iPhone 16 Pro Max Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - 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":"CCN013280J-HIK30","featured_media":{"alt":null,"id":27558592315491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347_97bc8a5e-2833-4a3a-ba33-8faec40b4dc6.webp?v=1782120598"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43539461275747,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013280H-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36042055319651,"product_id":7841245855843,"position":9,"created_at":"2026-06-22T17:29:55+08:00","updated_at":"2026-06-22T17:29:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547_74a2587b-91fb-4876-b866-f7cb525fd3cd.webp?v=1782120597","variant_ids":[43539461275747]},"available":true,"name":"iPhone 16 Pro Max Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - 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":"CCN013280H-HIK30","featured_media":{"alt":null,"id":27558591791203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b59ac9a0735a079c9a95755dfbdae9d75d974547_74a2587b-91fb-4876-b866-f7cb525fd3cd.webp?v=1782120597"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43539460653155,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013280J-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36042055843939,"product_id":7841245855843,"position":10,"created_at":"2026-06-22T17:29:56+08:00","updated_at":"2026-06-22T17:29:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347_97bc8a5e-2833-4a3a-ba33-8faec40b4dc6.webp?v=1782120598","variant_ids":[43539460653155]},"available":true,"name":"iPhone 16 Pro Max Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - 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":"CCN013280J-HIK30","featured_media":{"alt":null,"id":27558592315491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68011b5d1263e0fd3f69c7bd2268da32fd1a1347_97bc8a5e-2833-4a3a-ba33-8faec40b4dc6.webp?v=1782120598"}},"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: "停產" }