$product = {"id":7938014183523,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 獸之巨人","handle":"iphone-13-mini-mod-nx-magsafe-xw04","description":null,"published_at":"2025-12-12T10:13:32+08:00","created_at":"2025-12-11T16:42:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 13 Mini","merge","reseller-attack-on-titan"],"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":43884770721891,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XW04","requires_shipping":true,"taxable":true,"featured_image":{"id":34933498052707,"product_id":7938014183523,"position":9,"created_at":"2025-12-11T16:42:40+08:00","updated_at":"2025-12-11T16:42:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5058839e953a9f4c8a6f5324beeb81d85564910d.webp?v=1765442562","variant_ids":[43884770721891]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 獸之巨人 - 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":"MPB01228J5-XW04","featured_media":{"alt":null,"id":26495868567651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5058839e953a9f4c8a6f5324beeb81d85564910d.webp?v=1765442562"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884770885731,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XW04","requires_shipping":true,"taxable":true,"featured_image":{"id":34933497462883,"product_id":7938014183523,"position":6,"created_at":"2025-12-11T16:42:39+08:00","updated_at":"2025-12-11T16:42:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c164b3953362093482d65ba9d307e1592bd01a6.webp?v=1765442560","variant_ids":[43884770885731]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 獸之巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-XW04","featured_media":{"alt":null,"id":26495867977827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c164b3953362093482d65ba9d307e1592bd01a6.webp?v=1765442560"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884770951267,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XW04","requires_shipping":true,"taxable":true,"featured_image":{"id":34933497135203,"product_id":7938014183523,"position":4,"created_at":"2025-12-11T16:42:38+08:00","updated_at":"2025-12-11T16:42:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269cbf9e7ab2c9be442aadc5e446ea52dd7a2a0e.webp?v=1765442560","variant_ids":[43884770951267]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 獸之巨人 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-XW04","featured_media":{"alt":null,"id":26495867551843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269cbf9e7ab2c9be442aadc5e446ea52dd7a2a0e.webp?v=1765442560"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11a81be29586339a0411cc0c223201f45c86d497.webp?v=1765442558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8534ed980c725777dae6b11887312f896734e97d.webp?v=1765442559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48751e1bd3829692ece1fc410ce07fd42b4988e4.webp?v=1765442559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269cbf9e7ab2c9be442aadc5e446ea52dd7a2a0e.webp?v=1765442560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9fc495d4cbab2d2277a6894c7cb4cdc4a309b9.webp?v=1765442560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c164b3953362093482d65ba9d307e1592bd01a6.webp?v=1765442560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46286a4448baecf8a11dfddf7c5aec6d80736bc4.webp?v=1765442561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a660f9b42b1b88a000b37db3bd12cde0ce737272.webp?v=1765442562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5058839e953a9f4c8a6f5324beeb81d85564910d.webp?v=1765442562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb4a0461e41da257188b4a4d658a426784722995.webp?v=1765442562"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11a81be29586339a0411cc0c223201f45c86d497.webp?v=1765442558","options":["color"],"media":[{"alt":null,"id":26495867027555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11a81be29586339a0411cc0c223201f45c86d497.webp?v=1765442558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11a81be29586339a0411cc0c223201f45c86d497.webp?v=1765442558","width":2000},{"alt":null,"id":26495867289699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8534ed980c725777dae6b11887312f896734e97d.webp?v=1765442559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8534ed980c725777dae6b11887312f896734e97d.webp?v=1765442559","width":2000},{"alt":null,"id":26495867388003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48751e1bd3829692ece1fc410ce07fd42b4988e4.webp?v=1765442559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48751e1bd3829692ece1fc410ce07fd42b4988e4.webp?v=1765442559","width":2000},{"alt":null,"id":26495867551843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269cbf9e7ab2c9be442aadc5e446ea52dd7a2a0e.webp?v=1765442560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269cbf9e7ab2c9be442aadc5e446ea52dd7a2a0e.webp?v=1765442560","width":2000},{"alt":null,"id":26495867715683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9fc495d4cbab2d2277a6894c7cb4cdc4a309b9.webp?v=1765442560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed9fc495d4cbab2d2277a6894c7cb4cdc4a309b9.webp?v=1765442560","width":2000},{"alt":null,"id":26495867977827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c164b3953362093482d65ba9d307e1592bd01a6.webp?v=1765442560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c164b3953362093482d65ba9d307e1592bd01a6.webp?v=1765442560","width":2000},{"alt":null,"id":26495868174435,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46286a4448baecf8a11dfddf7c5aec6d80736bc4.webp?v=1765442561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46286a4448baecf8a11dfddf7c5aec6d80736bc4.webp?v=1765442561","width":2000},{"alt":null,"id":26495868403811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a660f9b42b1b88a000b37db3bd12cde0ce737272.webp?v=1765442562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a660f9b42b1b88a000b37db3bd12cde0ce737272.webp?v=1765442562","width":2000},{"alt":null,"id":26495868567651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5058839e953a9f4c8a6f5324beeb81d85564910d.webp?v=1765442562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5058839e953a9f4c8a6f5324beeb81d85564910d.webp?v=1765442562","width":2000},{"alt":null,"id":26495868764259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb4a0461e41da257188b4a4d658a426784722995.webp?v=1765442562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb4a0461e41da257188b4a4d658a426784722995.webp?v=1765442562","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43884770721891,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XW04","requires_shipping":true,"taxable":true,"featured_image":{"id":34933498052707,"product_id":7938014183523,"position":9,"created_at":"2025-12-11T16:42:40+08:00","updated_at":"2025-12-11T16:42:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5058839e953a9f4c8a6f5324beeb81d85564910d.webp?v=1765442562","variant_ids":[43884770721891]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 獸之巨人 - 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":"MPB01228J5-XW04","featured_media":{"alt":null,"id":26495868567651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5058839e953a9f4c8a6f5324beeb81d85564910d.webp?v=1765442562"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884770885731,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XW04","requires_shipping":true,"taxable":true,"featured_image":{"id":34933497462883,"product_id":7938014183523,"position":6,"created_at":"2025-12-11T16:42:39+08:00","updated_at":"2025-12-11T16:42:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c164b3953362093482d65ba9d307e1592bd01a6.webp?v=1765442560","variant_ids":[43884770885731]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 獸之巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-XW04","featured_media":{"alt":null,"id":26495867977827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c164b3953362093482d65ba9d307e1592bd01a6.webp?v=1765442560"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884770951267,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XW04","requires_shipping":true,"taxable":true,"featured_image":{"id":34933497135203,"product_id":7938014183523,"position":4,"created_at":"2025-12-11T16:42:38+08:00","updated_at":"2025-12-11T16:42:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269cbf9e7ab2c9be442aadc5e446ea52dd7a2a0e.webp?v=1765442560","variant_ids":[43884770951267]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 獸之巨人 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-XW04","featured_media":{"alt":null,"id":26495867551843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/269cbf9e7ab2c9be442aadc5e446ea52dd7a2a0e.webp?v=1765442560"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43884770721891,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XW04","requires_shipping":true,"taxable":true,"featured_image":{"id":34933498052707,"product_id":7938014183523,"position":9,"created_at":"2025-12-11T16:42:40+08:00","updated_at":"2025-12-11T16:42:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5058839e953a9f4c8a6f5324beeb81d85564910d.webp?v=1765442562","variant_ids":[43884770721891]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 獸之巨人 - 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":"MPB01228J5-XW04","featured_media":{"alt":null,"id":26495868567651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5058839e953a9f4c8a6f5324beeb81d85564910d.webp?v=1765442562"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }