$product = {"id":7823732310115,"title":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 史酷比一起去冒險","handle":"iphone-15-pro-max-solidx-yo05","description":null,"published_at":"2025-07-31T13:35:13+08:00","created_at":"2025-06-20T10:19:23+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-warnerbros-classics","device-iPhone 15 Pro Max","merge","reseller-warnerbros-classics"],"price":125000,"price_min":125000,"price_max":125000,"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":43472480043107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YO05","requires_shipping":true,"taxable":true,"featured_image":{"id":36323035512931,"product_id":7823732310115,"position":12,"created_at":"2026-07-20T18:32:42+08:00","updated_at":"2026-07-20T18:32:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185_0f086495-0c23-48f1-a84b-9db90fa3b412.webp?v=1784543565","variant_ids":[43472480043107]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 史酷比一起去冒險 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YO05","featured_media":{"alt":null,"id":27826943262819,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185_0f086495-0c23-48f1-a84b-9db90fa3b412.webp?v=1784543565"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472483483747,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-YO05","requires_shipping":true,"taxable":true,"featured_image":{"id":36323034562659,"product_id":7823732310115,"position":11,"created_at":"2026-07-20T18:32:40+08:00","updated_at":"2026-07-20T18:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918_0616d668-8f96-43ef-8188-4f178e6d2e66.webp?v=1784543562","variant_ids":[43472483483747]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 史酷比一起去冒險 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-YO05","featured_media":{"alt":null,"id":27826942247011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918_0616d668-8f96-43ef-8188-4f178e6d2e66.webp?v=1784543562"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YO05.png?v=1750385965","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-YO05_bf2af3c6-f9d8-4ed9-9cb2-eaba67113450.png?v=1750832280","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf9185d227f6f18e78facf83bfe6a5237fcff0.webp?v=1782883346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918.webp?v=1782883347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185.webp?v=1782883349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12dd38e98b7bbab470372adc207fb21ef1026bb8.webp?v=1782883349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b0aff9a7a3b09c96df353f6dc716cf7810f7be1.webp?v=1782883350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64dbb152ed5e305a206a9aac81bdd1386dc46f08.webp?v=1782883351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d525321e6f8d83d11e80eaa800034ead20cebc63.webp?v=1782883351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b0aff9a7a3b09c96df353f6dc716cf7810f7be1_9df0216b-d8e8-4264-859b-428b9f295054.webp?v=1784543559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918_0616d668-8f96-43ef-8188-4f178e6d2e66.webp?v=1784543562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185_0f086495-0c23-48f1-a84b-9db90fa3b412.webp?v=1784543565","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64dbb152ed5e305a206a9aac81bdd1386dc46f08_3f585b8f-b6ab-4d6f-9c74-a840e90899d4.webp?v=1784543568","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d525321e6f8d83d11e80eaa800034ead20cebc63_133f481e-e99e-411d-bfce-c433910ed00a.webp?v=1784543570"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YO05.png?v=1750385965","options":["color"],"media":[{"alt":null,"id":25720282808419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YO05.png?v=1750385965"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-YO05.png?v=1750385965","width":2000},{"alt":null,"id":25736373174371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-YO05_bf2af3c6-f9d8-4ed9-9cb2-eaba67113450.png?v=1750832280"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-YO05_bf2af3c6-f9d8-4ed9-9cb2-eaba67113450.png?v=1750832280","width":2000},{"alt":null,"id":27647842287715,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf9185d227f6f18e78facf83bfe6a5237fcff0.webp?v=1782883346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf9185d227f6f18e78facf83bfe6a5237fcff0.webp?v=1782883346","width":2000},{"alt":null,"id":27647842615395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918.webp?v=1782883347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918.webp?v=1782883347","width":2000},{"alt":null,"id":27647842910307,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185.webp?v=1782883349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185.webp?v=1782883349","width":2000},{"alt":null,"id":27647843500131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12dd38e98b7bbab470372adc207fb21ef1026bb8.webp?v=1782883349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12dd38e98b7bbab470372adc207fb21ef1026bb8.webp?v=1782883349","width":2000},{"alt":null,"id":27647843926115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b0aff9a7a3b09c96df353f6dc716cf7810f7be1.webp?v=1782883350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b0aff9a7a3b09c96df353f6dc716cf7810f7be1.webp?v=1782883350","width":2000},{"alt":null,"id":27647844253795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64dbb152ed5e305a206a9aac81bdd1386dc46f08.webp?v=1782883351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64dbb152ed5e305a206a9aac81bdd1386dc46f08.webp?v=1782883351","width":2000},{"alt":null,"id":27647844417635,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d525321e6f8d83d11e80eaa800034ead20cebc63.webp?v=1782883351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d525321e6f8d83d11e80eaa800034ead20cebc63.webp?v=1782883351","width":2000},{"alt":null,"id":27826941034595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b0aff9a7a3b09c96df353f6dc716cf7810f7be1_9df0216b-d8e8-4264-859b-428b9f295054.webp?v=1784543559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b0aff9a7a3b09c96df353f6dc716cf7810f7be1_9df0216b-d8e8-4264-859b-428b9f295054.webp?v=1784543559","width":2000},{"alt":null,"id":27826942247011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918_0616d668-8f96-43ef-8188-4f178e6d2e66.webp?v=1784543562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918_0616d668-8f96-43ef-8188-4f178e6d2e66.webp?v=1784543562","width":2000},{"alt":null,"id":27826943262819,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185_0f086495-0c23-48f1-a84b-9db90fa3b412.webp?v=1784543565"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185_0f086495-0c23-48f1-a84b-9db90fa3b412.webp?v=1784543565","width":2000},{"alt":null,"id":27826943852643,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64dbb152ed5e305a206a9aac81bdd1386dc46f08_3f585b8f-b6ab-4d6f-9c74-a840e90899d4.webp?v=1784543568"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64dbb152ed5e305a206a9aac81bdd1386dc46f08_3f585b8f-b6ab-4d6f-9c74-a840e90899d4.webp?v=1784543568","width":2000},{"alt":null,"id":27826944606307,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d525321e6f8d83d11e80eaa800034ead20cebc63_133f481e-e99e-411d-bfce-c433910ed00a.webp?v=1784543570"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d525321e6f8d83d11e80eaa800034ead20cebc63_133f481e-e99e-411d-bfce-c433910ed00a.webp?v=1784543570","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43472480043107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YO05","requires_shipping":true,"taxable":true,"featured_image":{"id":36323035512931,"product_id":7823732310115,"position":12,"created_at":"2026-07-20T18:32:42+08:00","updated_at":"2026-07-20T18:32:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185_0f086495-0c23-48f1-a84b-9db90fa3b412.webp?v=1784543565","variant_ids":[43472480043107]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 史酷比一起去冒險 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YO05","featured_media":{"alt":null,"id":27826943262819,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185_0f086495-0c23-48f1-a84b-9db90fa3b412.webp?v=1784543565"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472483483747,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-YO05","requires_shipping":true,"taxable":true,"featured_image":{"id":36323034562659,"product_id":7823732310115,"position":11,"created_at":"2026-07-20T18:32:40+08:00","updated_at":"2026-07-20T18:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918_0616d668-8f96-43ef-8188-4f178e6d2e66.webp?v=1784543562","variant_ids":[43472483483747]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 史酷比一起去冒險 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-YO05","featured_media":{"alt":null,"id":27826942247011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b1736e00cebc185eb74d58e4d691aeb95e4918_0616d668-8f96-43ef-8188-4f178e6d2e66.webp?v=1784543562"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43472480043107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-YO05","requires_shipping":true,"taxable":true,"featured_image":{"id":36323035512931,"product_id":7823732310115,"position":12,"created_at":"2026-07-20T18:32:42+08:00","updated_at":"2026-07-20T18:32:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185_0f086495-0c23-48f1-a84b-9db90fa3b412.webp?v=1784543565","variant_ids":[43472480043107]},"available":true,"name":"iPhone 15 Pro Max SolidX Scooby-Doo史酷比 史酷比一起去冒險 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-YO05","featured_media":{"alt":null,"id":27826943262819,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d4a1a47aa012b6c5c274302faa863bf76e8185_0f086495-0c23-48f1-a84b-9db90fa3b412.webp?v=1784543565"}},"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: "停產" }