$product = {"id":7873328054371,"title":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Mascot Costume","handle":"iphone-14-pro-jellytint-magsafe-kei06","description":null,"published_at":"2025-09-01T10:30:10+08:00","created_at":"2025-09-01T09:54:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 14 Pro","merge","reseller-keigo"],"price":148000,"price_min":148000,"price_max":148000,"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":43658777591907,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012620G-KEI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36319235276899,"product_id":7873328054371,"position":10,"created_at":"2026-07-20T12:49:24+08:00","updated_at":"2026-07-20T12:49:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_95b2a09c-5302-4990-a6a2-c8ec542d0454.webp?v=1784522966","variant_ids":[43658777591907]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Mascot Costume - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620G-KEI06","featured_media":{"alt":null,"id":27823187591267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_95b2a09c-5302-4990-a6a2-c8ec542d0454.webp?v=1784522966"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1.webp?v=1756691698","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cdf62dc79e8bbaac84c364fdf9af07c2d0b36.webp?v=1756691699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5608f0da1ea0e4ab6e05c529f2969fcc344cac0d.webp?v=1756691700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6.webp?v=1756691701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5608f0da1ea0e4ab6e05c529f2969fcc344cac0d_001a984b-353d-42d4-bffb-cb1ad9ba8297.webp?v=1784107109","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1_4e573439-9c53-456b-a641-134379759f33.webp?v=1784107110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cdf62dc79e8bbaac84c364fdf9af07c2d0b36_281913f0-34a4-470b-af09-a7f5a35948de.webp?v=1784107111","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_5c269e0e-f4a3-4c8f-a06a-f874e9227a18.webp?v=1784107113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1_e82ff852-b3d1-4599-9c6b-87422857543f.webp?v=1784522963","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_95b2a09c-5302-4990-a6a2-c8ec542d0454.webp?v=1784522966","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cdf62dc79e8bbaac84c364fdf9af07c2d0b36_d968177a-d72c-4871-8ca7-fc6fbea28c34.webp?v=1784522967","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5608f0da1ea0e4ab6e05c529f2969fcc344cac0d_027680b0-177f-4895-9637-309d24fd169b.webp?v=1784522967"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1.webp?v=1756691698","options":["color"],"media":[{"alt":null,"id":25982444961891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1.webp?v=1756691698"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1.webp?v=1756691698","width":2000},{"alt":null,"id":25982445092963,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cdf62dc79e8bbaac84c364fdf9af07c2d0b36.webp?v=1756691699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cdf62dc79e8bbaac84c364fdf9af07c2d0b36.webp?v=1756691699","width":2000},{"alt":null,"id":25982445355107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5608f0da1ea0e4ab6e05c529f2969fcc344cac0d.webp?v=1756691700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5608f0da1ea0e4ab6e05c529f2969fcc344cac0d.webp?v=1756691700","width":2000},{"alt":null,"id":25982445650019,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6.webp?v=1756691701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6.webp?v=1756691701","width":2000},{"alt":null,"id":27777121681507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5608f0da1ea0e4ab6e05c529f2969fcc344cac0d_001a984b-353d-42d4-bffb-cb1ad9ba8297.webp?v=1784107109"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5608f0da1ea0e4ab6e05c529f2969fcc344cac0d_001a984b-353d-42d4-bffb-cb1ad9ba8297.webp?v=1784107109","width":2000},{"alt":null,"id":27777122369635,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1_4e573439-9c53-456b-a641-134379759f33.webp?v=1784107110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1_4e573439-9c53-456b-a641-134379759f33.webp?v=1784107110","width":2000},{"alt":null,"id":27777122992227,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cdf62dc79e8bbaac84c364fdf9af07c2d0b36_281913f0-34a4-470b-af09-a7f5a35948de.webp?v=1784107111"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cdf62dc79e8bbaac84c364fdf9af07c2d0b36_281913f0-34a4-470b-af09-a7f5a35948de.webp?v=1784107111","width":2000},{"alt":null,"id":27777123319907,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_5c269e0e-f4a3-4c8f-a06a-f874e9227a18.webp?v=1784107113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_5c269e0e-f4a3-4c8f-a06a-f874e9227a18.webp?v=1784107113","width":2000},{"alt":null,"id":27823187329123,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1_e82ff852-b3d1-4599-9c6b-87422857543f.webp?v=1784522963"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4f0fbe774d80361df28fbc3ca7a80b177519f1_e82ff852-b3d1-4599-9c6b-87422857543f.webp?v=1784522963","width":2000},{"alt":null,"id":27823187591267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_95b2a09c-5302-4990-a6a2-c8ec542d0454.webp?v=1784522966"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_95b2a09c-5302-4990-a6a2-c8ec542d0454.webp?v=1784522966","width":2000},{"alt":null,"id":27823188082787,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cdf62dc79e8bbaac84c364fdf9af07c2d0b36_d968177a-d72c-4871-8ca7-fc6fbea28c34.webp?v=1784522967"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cdf62dc79e8bbaac84c364fdf9af07c2d0b36_d968177a-d72c-4871-8ca7-fc6fbea28c34.webp?v=1784522967","width":2000},{"alt":null,"id":27823188672611,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5608f0da1ea0e4ab6e05c529f2969fcc344cac0d_027680b0-177f-4895-9637-309d24fd169b.webp?v=1784522967"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5608f0da1ea0e4ab6e05c529f2969fcc344cac0d_027680b0-177f-4895-9637-309d24fd169b.webp?v=1784522967","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43658777591907,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012620G-KEI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36319235276899,"product_id":7873328054371,"position":10,"created_at":"2026-07-20T12:49:24+08:00","updated_at":"2026-07-20T12:49:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_95b2a09c-5302-4990-a6a2-c8ec542d0454.webp?v=1784522966","variant_ids":[43658777591907]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Mascot Costume - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620G-KEI06","featured_media":{"alt":null,"id":27823187591267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_95b2a09c-5302-4990-a6a2-c8ec542d0454.webp?v=1784522966"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43658777591907,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012620G-KEI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36319235276899,"product_id":7873328054371,"position":10,"created_at":"2026-07-20T12:49:24+08:00","updated_at":"2026-07-20T12:49:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_95b2a09c-5302-4990-a6a2-c8ec542d0454.webp?v=1784522966","variant_ids":[43658777591907]},"available":true,"name":"iPhone 14 Pro Clear (MagSafe 兼容) Keigo Mascot Costume - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012620G-KEI06","featured_media":{"alt":null,"id":27823187591267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005182e2d1e1697cb1ce4c2fa41acff0120f67a6_95b2a09c-5302-4990-a6a2-c8ec542d0454.webp?v=1784522966"}},"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: "停產" }