$product = {"id":7873262256227,"title":"iPhone 15 Plus SolidX Keigo Mascot Costume","handle":"iphone-15-plus-solidx-kei06","description":null,"published_at":"2025-09-01T10:57:14+08:00","created_at":"2025-09-01T09:37:57+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 15 Plus","merge","reseller-keigo"],"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":43658518560867,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-KEI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36319447711843,"product_id":7873262256227,"position":13,"created_at":"2026-07-20T13:03:02+08:00","updated_at":"2026-07-20T13:03:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_f18b6abd-4d0f-4ad9-9b5f-775d39046c21.webp?v=1784523784","variant_ids":[43658518560867]},"available":true,"name":"iPhone 15 Plus SolidX Keigo Mascot Costume - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-KEI06","featured_media":{"alt":null,"id":27823400026211,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_f18b6abd-4d0f-4ad9-9b5f-775d39046c21.webp?v=1784523784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658518659171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-KEI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36319447908451,"product_id":7873262256227,"position":14,"created_at":"2026-07-20T13:03:03+08:00","updated_at":"2026-07-20T13:03:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_9c542b50-6ff3-4ccf-b5a6-4779e9858c81.webp?v=1784523785","variant_ids":[43658518659171]},"available":true,"name":"iPhone 15 Plus SolidX Keigo Mascot Costume - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-KEI06","featured_media":{"alt":null,"id":27823400222819,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_9c542b50-6ff3-4ccf-b5a6-4779e9858c81.webp?v=1784523785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0c47e7babf6fd71e6b41129fd650fb340563ae5.webp?v=1756690683","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab83c4aec1433ee8d35abb5cc14508117b47262c.webp?v=1756690684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374f43df8a2d3b1953a2ec260221ed38844f5abb.webp?v=1756690684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6.webp?v=1756690685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad827b03fdf9087fa3d8415687e0c405c1b137fc.webp?v=1756690686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8.webp?v=1756690686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cedb04bc49751ac08ab16e22b930a80fb172f43.webp?v=1756690687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef56101d0c3167857ef5b1bd661d8c6165a54627.webp?v=1756690688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b81ffa8107fef9664ee8fffee3330e46e4c41f22.webp?v=1756690688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baff92578c9971cccf54dfb9cdc2b84a2b23354.webp?v=1756690689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_0d4a1ae4-877b-49a6-8f8e-d6eec5e94bbc.webp?v=1784107270","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_cd46bed7-dc0f-4bac-9077-693926b33d77.webp?v=1784107271","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_f18b6abd-4d0f-4ad9-9b5f-775d39046c21.webp?v=1784523784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_9c542b50-6ff3-4ccf-b5a6-4779e9858c81.webp?v=1784523785"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0c47e7babf6fd71e6b41129fd650fb340563ae5.webp?v=1756690683","options":["color"],"media":[{"alt":null,"id":25982186487907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0c47e7babf6fd71e6b41129fd650fb340563ae5.webp?v=1756690683"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0c47e7babf6fd71e6b41129fd650fb340563ae5.webp?v=1756690683","width":2000},{"alt":null,"id":25982186717283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab83c4aec1433ee8d35abb5cc14508117b47262c.webp?v=1756690684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab83c4aec1433ee8d35abb5cc14508117b47262c.webp?v=1756690684","width":2000},{"alt":null,"id":25982186946659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374f43df8a2d3b1953a2ec260221ed38844f5abb.webp?v=1756690684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374f43df8a2d3b1953a2ec260221ed38844f5abb.webp?v=1756690684","width":2000},{"alt":null,"id":25982187143267,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6.webp?v=1756690685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6.webp?v=1756690685","width":2000},{"alt":null,"id":25982187274339,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad827b03fdf9087fa3d8415687e0c405c1b137fc.webp?v=1756690686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad827b03fdf9087fa3d8415687e0c405c1b137fc.webp?v=1756690686","width":2000},{"alt":null,"id":25982187470947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8.webp?v=1756690686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8.webp?v=1756690686","width":2000},{"alt":null,"id":25982187667555,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cedb04bc49751ac08ab16e22b930a80fb172f43.webp?v=1756690687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cedb04bc49751ac08ab16e22b930a80fb172f43.webp?v=1756690687","width":2000},{"alt":null,"id":25982187962467,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef56101d0c3167857ef5b1bd661d8c6165a54627.webp?v=1756690688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef56101d0c3167857ef5b1bd661d8c6165a54627.webp?v=1756690688","width":2000},{"alt":null,"id":25982188159075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b81ffa8107fef9664ee8fffee3330e46e4c41f22.webp?v=1756690688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b81ffa8107fef9664ee8fffee3330e46e4c41f22.webp?v=1756690688","width":2000},{"alt":null,"id":25982188355683,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baff92578c9971cccf54dfb9cdc2b84a2b23354.webp?v=1756690689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baff92578c9971cccf54dfb9cdc2b84a2b23354.webp?v=1756690689","width":2000},{"alt":null,"id":27777167425635,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_0d4a1ae4-877b-49a6-8f8e-d6eec5e94bbc.webp?v=1784107270"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_0d4a1ae4-877b-49a6-8f8e-d6eec5e94bbc.webp?v=1784107270","width":2000},{"alt":null,"id":27777167786083,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_cd46bed7-dc0f-4bac-9077-693926b33d77.webp?v=1784107271"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_cd46bed7-dc0f-4bac-9077-693926b33d77.webp?v=1784107271","width":2000},{"alt":null,"id":27823400026211,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_f18b6abd-4d0f-4ad9-9b5f-775d39046c21.webp?v=1784523784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_f18b6abd-4d0f-4ad9-9b5f-775d39046c21.webp?v=1784523784","width":2000},{"alt":null,"id":27823400222819,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_9c542b50-6ff3-4ccf-b5a6-4779e9858c81.webp?v=1784523785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_9c542b50-6ff3-4ccf-b5a6-4779e9858c81.webp?v=1784523785","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658518560867,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-KEI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36319447711843,"product_id":7873262256227,"position":13,"created_at":"2026-07-20T13:03:02+08:00","updated_at":"2026-07-20T13:03:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_f18b6abd-4d0f-4ad9-9b5f-775d39046c21.webp?v=1784523784","variant_ids":[43658518560867]},"available":true,"name":"iPhone 15 Plus SolidX Keigo Mascot Costume - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-KEI06","featured_media":{"alt":null,"id":27823400026211,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_f18b6abd-4d0f-4ad9-9b5f-775d39046c21.webp?v=1784523784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658518659171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-KEI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36319447908451,"product_id":7873262256227,"position":14,"created_at":"2026-07-20T13:03:03+08:00","updated_at":"2026-07-20T13:03:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_9c542b50-6ff3-4ccf-b5a6-4779e9858c81.webp?v=1784523785","variant_ids":[43658518659171]},"available":true,"name":"iPhone 15 Plus SolidX Keigo Mascot Costume - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-KEI06","featured_media":{"alt":null,"id":27823400222819,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5044fb9007612cd6f84b2671f828aaa9c69457a8_9c542b50-6ff3-4ccf-b5a6-4779e9858c81.webp?v=1784523785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658518560867,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-KEI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36319447711843,"product_id":7873262256227,"position":13,"created_at":"2026-07-20T13:03:02+08:00","updated_at":"2026-07-20T13:03:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_f18b6abd-4d0f-4ad9-9b5f-775d39046c21.webp?v=1784523784","variant_ids":[43658518560867]},"available":true,"name":"iPhone 15 Plus SolidX Keigo Mascot Costume - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-KEI06","featured_media":{"alt":null,"id":27823400026211,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b951a6f95a3325a2a75faa30da25f1a59a24ba6_f18b6abd-4d0f-4ad9-9b5f-775d39046c21.webp?v=1784523784"}},"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: "停產" }