$product = {"id":7921114644579,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的讀自快樂","handle":"iphone-13-mini-mod-nx-magsafe-hd69","description":null,"published_at":"2025-11-13T09:52:00+08:00","created_at":"2025-11-11T09:34:32+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 13 Mini","merge","reseller-incrediville"],"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":43830814802019,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-HD69","requires_shipping":true,"taxable":true,"featured_image":{"id":34785928937571,"product_id":7921114644579,"position":2,"created_at":"2025-11-11T09:34:38+08:00","updated_at":"2025-11-11T09:34:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69b27fe9d1a2ca932c3a4b94806907e924b567a.webp?v=1762824880","variant_ids":[43830814802019]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的讀自快樂 - 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-HD69","featured_media":{"alt":null,"id":26351386099811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69b27fe9d1a2ca932c3a4b94806907e924b567a.webp?v=1762824880"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830814900323,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-HD69","requires_shipping":true,"taxable":true,"featured_image":{"id":34785931067491,"product_id":7921114644579,"position":10,"created_at":"2025-11-11T09:34:43+08:00","updated_at":"2025-11-11T09:34:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8b47f4430e93133a17cd106b86227f8c5eac3c.webp?v=1762824885","variant_ids":[43830814900323]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的讀自快樂 - 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-HD69","featured_media":{"alt":null,"id":26351388229731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8b47f4430e93133a17cd106b86227f8c5eac3c.webp?v=1762824885"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830815064163,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-HD69","requires_shipping":true,"taxable":true,"featured_image":{"id":34785928708195,"product_id":7921114644579,"position":1,"created_at":"2025-11-11T09:34:37+08:00","updated_at":"2025-11-11T09:34:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d1363e25147ecbe993c4ccac401a11d58995a77.webp?v=1762824879","variant_ids":[43830815064163]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的讀自快樂 - 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-HD69","featured_media":{"alt":null,"id":26351385870435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d1363e25147ecbe993c4ccac401a11d58995a77.webp?v=1762824879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d1363e25147ecbe993c4ccac401a11d58995a77.webp?v=1762824879","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69b27fe9d1a2ca932c3a4b94806907e924b567a.webp?v=1762824880","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfce6ef4ced8c87c248d1e7157770b7f54820c36.webp?v=1762824880","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18aa7ed7a86bb3318c47b8c6b7763fb96b5a67ae.webp?v=1762824881","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f87a36a3c5e60773773ea22033c31630e6450f.webp?v=1762824882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e7b69bac7908e70029f51fdb9829045906f683.webp?v=1762824882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/412d22d4fe87e2f0460797f4818a4c0ce4ab5b65.webp?v=1762824883","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1a0d3611488d03ae2b2ee30375889aaa1a61d7c.webp?v=1762824884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/873d0001c233c2282e1f9b947c86b6ff0fbd8f07.webp?v=1762824884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8b47f4430e93133a17cd106b86227f8c5eac3c.webp?v=1762824885"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d1363e25147ecbe993c4ccac401a11d58995a77.webp?v=1762824879","options":["color"],"media":[{"alt":null,"id":26351385870435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d1363e25147ecbe993c4ccac401a11d58995a77.webp?v=1762824879"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d1363e25147ecbe993c4ccac401a11d58995a77.webp?v=1762824879","width":2000},{"alt":null,"id":26351386099811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69b27fe9d1a2ca932c3a4b94806907e924b567a.webp?v=1762824880"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69b27fe9d1a2ca932c3a4b94806907e924b567a.webp?v=1762824880","width":2000},{"alt":null,"id":26351386329187,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfce6ef4ced8c87c248d1e7157770b7f54820c36.webp?v=1762824880"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfce6ef4ced8c87c248d1e7157770b7f54820c36.webp?v=1762824880","width":2000},{"alt":null,"id":26351386787939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18aa7ed7a86bb3318c47b8c6b7763fb96b5a67ae.webp?v=1762824881"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18aa7ed7a86bb3318c47b8c6b7763fb96b5a67ae.webp?v=1762824881","width":2000},{"alt":null,"id":26351386984547,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f87a36a3c5e60773773ea22033c31630e6450f.webp?v=1762824882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f87a36a3c5e60773773ea22033c31630e6450f.webp?v=1762824882","width":2000},{"alt":null,"id":26351387344995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e7b69bac7908e70029f51fdb9829045906f683.webp?v=1762824882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e7b69bac7908e70029f51fdb9829045906f683.webp?v=1762824882","width":2000},{"alt":null,"id":26351387574371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/412d22d4fe87e2f0460797f4818a4c0ce4ab5b65.webp?v=1762824883"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/412d22d4fe87e2f0460797f4818a4c0ce4ab5b65.webp?v=1762824883","width":2000},{"alt":null,"id":26351387803747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1a0d3611488d03ae2b2ee30375889aaa1a61d7c.webp?v=1762824884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1a0d3611488d03ae2b2ee30375889aaa1a61d7c.webp?v=1762824884","width":2000},{"alt":null,"id":26351388033123,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/873d0001c233c2282e1f9b947c86b6ff0fbd8f07.webp?v=1762824884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/873d0001c233c2282e1f9b947c86b6ff0fbd8f07.webp?v=1762824884","width":2000},{"alt":null,"id":26351388229731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8b47f4430e93133a17cd106b86227f8c5eac3c.webp?v=1762824885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8b47f4430e93133a17cd106b86227f8c5eac3c.webp?v=1762824885","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43830814802019,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-HD69","requires_shipping":true,"taxable":true,"featured_image":{"id":34785928937571,"product_id":7921114644579,"position":2,"created_at":"2025-11-11T09:34:38+08:00","updated_at":"2025-11-11T09:34:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69b27fe9d1a2ca932c3a4b94806907e924b567a.webp?v=1762824880","variant_ids":[43830814802019]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的讀自快樂 - 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-HD69","featured_media":{"alt":null,"id":26351386099811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69b27fe9d1a2ca932c3a4b94806907e924b567a.webp?v=1762824880"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830814900323,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-HD69","requires_shipping":true,"taxable":true,"featured_image":{"id":34785931067491,"product_id":7921114644579,"position":10,"created_at":"2025-11-11T09:34:43+08:00","updated_at":"2025-11-11T09:34:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8b47f4430e93133a17cd106b86227f8c5eac3c.webp?v=1762824885","variant_ids":[43830814900323]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的讀自快樂 - 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-HD69","featured_media":{"alt":null,"id":26351388229731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8b47f4430e93133a17cd106b86227f8c5eac3c.webp?v=1762824885"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830815064163,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-HD69","requires_shipping":true,"taxable":true,"featured_image":{"id":34785928708195,"product_id":7921114644579,"position":1,"created_at":"2025-11-11T09:34:37+08:00","updated_at":"2025-11-11T09:34:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d1363e25147ecbe993c4ccac401a11d58995a77.webp?v=1762824879","variant_ids":[43830815064163]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的讀自快樂 - 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-HD69","featured_media":{"alt":null,"id":26351385870435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d1363e25147ecbe993c4ccac401a11d58995a77.webp?v=1762824879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43830814802019,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-HD69","requires_shipping":true,"taxable":true,"featured_image":{"id":34785928937571,"product_id":7921114644579,"position":2,"created_at":"2025-11-11T09:34:38+08:00","updated_at":"2025-11-11T09:34:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69b27fe9d1a2ca932c3a4b94806907e924b567a.webp?v=1762824880","variant_ids":[43830814802019]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的讀自快樂 - 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-HD69","featured_media":{"alt":null,"id":26351386099811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d69b27fe9d1a2ca932c3a4b94806907e924b567a.webp?v=1762824880"}},"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: "停產" }