$product = {"id":7888411689059,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 外太空世界","handle":"iphone-14-pro-mod-nx-magsafe-printable-iq05","description":null,"published_at":"2025-09-23T09:20:22+08:00","created_at":"2025-09-22T15:22:52+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kingjun","device-iPhone 14 Pro","merge","reseller-kingjun"],"price":110000,"price_min":110000,"price_max":110000,"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":43743014387811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-IQ05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514308366435,"product_id":7888411689059,"position":12,"created_at":"2025-09-22T15:23:01+08:00","updated_at":"2025-09-22T15:23:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28ceb92061a791cfca89e0e8d288346e2d1d0d95.webp?v=1758525784","variant_ids":[43743014387811]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 外太空世界 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-IQ05","featured_media":{"alt":null,"id":26084750884963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28ceb92061a791cfca89e0e8d288346e2d1d0d95.webp?v=1758525784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743014584419,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-IQ05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514306859107,"product_id":7888411689059,"position":4,"created_at":"2025-09-22T15:22:57+08:00","updated_at":"2025-09-22T15:22:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2b8fcf0b9cd28f1d8fd642747d6d3513ce2d1ce.webp?v=1758525779","variant_ids":[43743014584419]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 外太空世界 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-IQ05","featured_media":{"alt":null,"id":26084749377635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2b8fcf0b9cd28f1d8fd642747d6d3513ce2d1ce.webp?v=1758525779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743014649955,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-IQ05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514307383395,"product_id":7888411689059,"position":7,"created_at":"2025-09-22T15:22:59+08:00","updated_at":"2025-09-22T15:23:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaf1a16ae9b45136ba5df66ffa9433e7ce0bb3c.webp?v=1758525782","variant_ids":[43743014649955]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 外太空世界 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-IQ05","featured_media":{"alt":null,"id":26084749934691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaf1a16ae9b45136ba5df66ffa9433e7ce0bb3c.webp?v=1758525782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513c2e1c259db4eb2b0b2061c75e42eb9574ce87.webp?v=1758525778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f7a561a6245e479d5c71f918da953536151ef2.webp?v=1758525778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94d546e319bd369ce605d93972465c3811f7af0a.webp?v=1758525779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2b8fcf0b9cd28f1d8fd642747d6d3513ce2d1ce.webp?v=1758525779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57b3fe2968cd0623d4b6f63305b73e9274dad71b.webp?v=1758525780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8922e726f6a525dd2f682fd3b9532aa4bf49b0ac.webp?v=1758525780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaf1a16ae9b45136ba5df66ffa9433e7ce0bb3c.webp?v=1758525782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5479ee8150b202f8d5b01bf59657778835cf8fda.webp?v=1758525781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e881894f57c55aa89e1c2ab3ad7e7c856f017af5.webp?v=1758525782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abbbd988017ef6647145e2a397b8903e5d8a1a12.webp?v=1758525783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f7916f7eaf367aec52beb726bee4026b4d8f0c.webp?v=1758525783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28ceb92061a791cfca89e0e8d288346e2d1d0d95.webp?v=1758525784"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513c2e1c259db4eb2b0b2061c75e42eb9574ce87.webp?v=1758525778","options":["color"],"media":[{"alt":null,"id":26084748787811,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513c2e1c259db4eb2b0b2061c75e42eb9574ce87.webp?v=1758525778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513c2e1c259db4eb2b0b2061c75e42eb9574ce87.webp?v=1758525778","width":2000},{"alt":null,"id":26084748984419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f7a561a6245e479d5c71f918da953536151ef2.webp?v=1758525778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84f7a561a6245e479d5c71f918da953536151ef2.webp?v=1758525778","width":2000},{"alt":null,"id":26084749213795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94d546e319bd369ce605d93972465c3811f7af0a.webp?v=1758525779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94d546e319bd369ce605d93972465c3811f7af0a.webp?v=1758525779","width":2000},{"alt":null,"id":26084749377635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2b8fcf0b9cd28f1d8fd642747d6d3513ce2d1ce.webp?v=1758525779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2b8fcf0b9cd28f1d8fd642747d6d3513ce2d1ce.webp?v=1758525779","width":2000},{"alt":null,"id":26084749541475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57b3fe2968cd0623d4b6f63305b73e9274dad71b.webp?v=1758525780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57b3fe2968cd0623d4b6f63305b73e9274dad71b.webp?v=1758525780","width":2000},{"alt":null,"id":26084749672547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8922e726f6a525dd2f682fd3b9532aa4bf49b0ac.webp?v=1758525780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8922e726f6a525dd2f682fd3b9532aa4bf49b0ac.webp?v=1758525780","width":2000},{"alt":null,"id":26084749934691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaf1a16ae9b45136ba5df66ffa9433e7ce0bb3c.webp?v=1758525782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaf1a16ae9b45136ba5df66ffa9433e7ce0bb3c.webp?v=1758525782","width":2000},{"alt":null,"id":26084750065763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5479ee8150b202f8d5b01bf59657778835cf8fda.webp?v=1758525781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5479ee8150b202f8d5b01bf59657778835cf8fda.webp?v=1758525781","width":2000},{"alt":null,"id":26084750229603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e881894f57c55aa89e1c2ab3ad7e7c856f017af5.webp?v=1758525782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e881894f57c55aa89e1c2ab3ad7e7c856f017af5.webp?v=1758525782","width":2000},{"alt":null,"id":26084750491747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abbbd988017ef6647145e2a397b8903e5d8a1a12.webp?v=1758525783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abbbd988017ef6647145e2a397b8903e5d8a1a12.webp?v=1758525783","width":2000},{"alt":null,"id":26084750721123,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f7916f7eaf367aec52beb726bee4026b4d8f0c.webp?v=1758525783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92f7916f7eaf367aec52beb726bee4026b4d8f0c.webp?v=1758525783","width":2000},{"alt":null,"id":26084750884963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28ceb92061a791cfca89e0e8d288346e2d1d0d95.webp?v=1758525784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28ceb92061a791cfca89e0e8d288346e2d1d0d95.webp?v=1758525784","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43743014387811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-IQ05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514308366435,"product_id":7888411689059,"position":12,"created_at":"2025-09-22T15:23:01+08:00","updated_at":"2025-09-22T15:23:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28ceb92061a791cfca89e0e8d288346e2d1d0d95.webp?v=1758525784","variant_ids":[43743014387811]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 外太空世界 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-IQ05","featured_media":{"alt":null,"id":26084750884963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28ceb92061a791cfca89e0e8d288346e2d1d0d95.webp?v=1758525784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743014584419,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-IQ05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514306859107,"product_id":7888411689059,"position":4,"created_at":"2025-09-22T15:22:57+08:00","updated_at":"2025-09-22T15:22:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2b8fcf0b9cd28f1d8fd642747d6d3513ce2d1ce.webp?v=1758525779","variant_ids":[43743014584419]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 外太空世界 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-IQ05","featured_media":{"alt":null,"id":26084749377635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2b8fcf0b9cd28f1d8fd642747d6d3513ce2d1ce.webp?v=1758525779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743014649955,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-IQ05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514307383395,"product_id":7888411689059,"position":7,"created_at":"2025-09-22T15:22:59+08:00","updated_at":"2025-09-22T15:23:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaf1a16ae9b45136ba5df66ffa9433e7ce0bb3c.webp?v=1758525782","variant_ids":[43743014649955]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 外太空世界 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-IQ05","featured_media":{"alt":null,"id":26084749934691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaf1a16ae9b45136ba5df66ffa9433e7ce0bb3c.webp?v=1758525782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43743014387811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-IQ05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514308366435,"product_id":7888411689059,"position":12,"created_at":"2025-09-22T15:23:01+08:00","updated_at":"2025-09-22T15:23:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28ceb92061a791cfca89e0e8d288346e2d1d0d95.webp?v=1758525784","variant_ids":[43743014387811]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 外太空世界 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-IQ05","featured_media":{"alt":null,"id":26084750884963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28ceb92061a791cfca89e0e8d288346e2d1d0d95.webp?v=1758525784"}},"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: "停產" }