$product = {"id":7937979646051,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版角色大集合","handle":"iphone-13-mini-mod-nx-magsafe-xw01","description":null,"published_at":"2025-12-12T10:20:46+08:00","created_at":"2025-12-11T16:34:11+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":43884638830691,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XW01","requires_shipping":true,"taxable":true,"featured_image":{"id":34933353087075,"product_id":7937979646051,"position":2,"created_at":"2025-12-11T16:34:16+08:00","updated_at":"2025-12-11T16:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b505a888425c449ed5832c84dec5d8231335c912.webp?v=1765442059","variant_ids":[43884638830691]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版角色大集合 - 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-XW01","featured_media":{"alt":null,"id":26495723700323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b505a888425c449ed5832c84dec5d8231335c912.webp?v=1765442059"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884638994531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XW01","requires_shipping":true,"taxable":true,"featured_image":{"id":34933353939043,"product_id":7937979646051,"position":8,"created_at":"2025-12-11T16:34:19+08:00","updated_at":"2025-12-11T16:34:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4571e34393fe8ed07332f76ee35d88a9fffa7724.webp?v=1765442061","variant_ids":[43884638994531]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版角色大集合 - 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-XW01","featured_media":{"alt":null,"id":26495724650595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4571e34393fe8ed07332f76ee35d88a9fffa7724.webp?v=1765442061"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884639060067,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XW01","requires_shipping":true,"taxable":true,"featured_image":{"id":34933353578595,"product_id":7937979646051,"position":5,"created_at":"2025-12-11T16:34:18+08:00","updated_at":"2025-12-11T16:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/babbed57cfa0570b0fa4dd095e72804cb08bd843.webp?v=1765442059","variant_ids":[43884639060067]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版角色大集合 - 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-XW01","featured_media":{"alt":null,"id":26495724191843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/babbed57cfa0570b0fa4dd095e72804cb08bd843.webp?v=1765442059"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6742e05b84fc52f4ddfda921da780db4d8276531.webp?v=1765442057","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b505a888425c449ed5832c84dec5d8231335c912.webp?v=1765442059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee84d9d7597c25f7eb36622ebd43660dfba6d5.webp?v=1765442059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e7df365528c73f25420a836776177b18856deb8.webp?v=1765442059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/babbed57cfa0570b0fa4dd095e72804cb08bd843.webp?v=1765442059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d093be29a320dba26744d511ccecf31292fb19d4.webp?v=1765442060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd98013df9cad009aed5bfe053f749975287330e.webp?v=1765442060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4571e34393fe8ed07332f76ee35d88a9fffa7724.webp?v=1765442061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62b275e7edd4742e68277c69aabfd961bc1d131.webp?v=1765442061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac425c0ecf4af016565b32a51cd8b176b2b73b1.webp?v=1765442062"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6742e05b84fc52f4ddfda921da780db4d8276531.webp?v=1765442057","options":["color"],"media":[{"alt":null,"id":26495723438179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6742e05b84fc52f4ddfda921da780db4d8276531.webp?v=1765442057"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6742e05b84fc52f4ddfda921da780db4d8276531.webp?v=1765442057","width":2000},{"alt":null,"id":26495723700323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b505a888425c449ed5832c84dec5d8231335c912.webp?v=1765442059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b505a888425c449ed5832c84dec5d8231335c912.webp?v=1765442059","width":2000},{"alt":null,"id":26495723896931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee84d9d7597c25f7eb36622ebd43660dfba6d5.webp?v=1765442059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee84d9d7597c25f7eb36622ebd43660dfba6d5.webp?v=1765442059","width":2000},{"alt":null,"id":26495724060771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e7df365528c73f25420a836776177b18856deb8.webp?v=1765442059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e7df365528c73f25420a836776177b18856deb8.webp?v=1765442059","width":2000},{"alt":null,"id":26495724191843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/babbed57cfa0570b0fa4dd095e72804cb08bd843.webp?v=1765442059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/babbed57cfa0570b0fa4dd095e72804cb08bd843.webp?v=1765442059","width":2000},{"alt":null,"id":26495724290147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d093be29a320dba26744d511ccecf31292fb19d4.webp?v=1765442060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d093be29a320dba26744d511ccecf31292fb19d4.webp?v=1765442060","width":2000},{"alt":null,"id":26495724388451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd98013df9cad009aed5bfe053f749975287330e.webp?v=1765442060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd98013df9cad009aed5bfe053f749975287330e.webp?v=1765442060","width":2000},{"alt":null,"id":26495724650595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4571e34393fe8ed07332f76ee35d88a9fffa7724.webp?v=1765442061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4571e34393fe8ed07332f76ee35d88a9fffa7724.webp?v=1765442061","width":2000},{"alt":null,"id":26495724748899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62b275e7edd4742e68277c69aabfd961bc1d131.webp?v=1765442061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62b275e7edd4742e68277c69aabfd961bc1d131.webp?v=1765442061","width":2000},{"alt":null,"id":26495725011043,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac425c0ecf4af016565b32a51cd8b176b2b73b1.webp?v=1765442062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac425c0ecf4af016565b32a51cd8b176b2b73b1.webp?v=1765442062","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43884638830691,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XW01","requires_shipping":true,"taxable":true,"featured_image":{"id":34933353087075,"product_id":7937979646051,"position":2,"created_at":"2025-12-11T16:34:16+08:00","updated_at":"2025-12-11T16:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b505a888425c449ed5832c84dec5d8231335c912.webp?v=1765442059","variant_ids":[43884638830691]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版角色大集合 - 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-XW01","featured_media":{"alt":null,"id":26495723700323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b505a888425c449ed5832c84dec5d8231335c912.webp?v=1765442059"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884638994531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-XW01","requires_shipping":true,"taxable":true,"featured_image":{"id":34933353939043,"product_id":7937979646051,"position":8,"created_at":"2025-12-11T16:34:19+08:00","updated_at":"2025-12-11T16:34:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4571e34393fe8ed07332f76ee35d88a9fffa7724.webp?v=1765442061","variant_ids":[43884638994531]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版角色大集合 - 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-XW01","featured_media":{"alt":null,"id":26495724650595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4571e34393fe8ed07332f76ee35d88a9fffa7724.webp?v=1765442061"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884639060067,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-XW01","requires_shipping":true,"taxable":true,"featured_image":{"id":34933353578595,"product_id":7937979646051,"position":5,"created_at":"2025-12-11T16:34:18+08:00","updated_at":"2025-12-11T16:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/babbed57cfa0570b0fa4dd095e72804cb08bd843.webp?v=1765442059","variant_ids":[43884639060067]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版角色大集合 - 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-XW01","featured_media":{"alt":null,"id":26495724191843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/babbed57cfa0570b0fa4dd095e72804cb08bd843.webp?v=1765442059"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43884638830691,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-XW01","requires_shipping":true,"taxable":true,"featured_image":{"id":34933353087075,"product_id":7937979646051,"position":2,"created_at":"2025-12-11T16:34:16+08:00","updated_at":"2025-12-11T16:34:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b505a888425c449ed5832c84dec5d8231335c912.webp?v=1765442059","variant_ids":[43884638830691]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan Q版角色大集合 - 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-XW01","featured_media":{"alt":null,"id":26495723700323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b505a888425c449ed5832c84dec5d8231335c912.webp?v=1765442059"}},"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: "停產" }