$product = {"id":7921128996963,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Incrediville 怪奇事物所 所長的酒池肉林","handle":"iphone-13-mini-mod-nx-magsafe-hd70","description":null,"published_at":"2025-11-13T09:49:51+08:00","created_at":"2025-11-11T09:42:02+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":43830876340323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-HD70","requires_shipping":true,"taxable":true,"featured_image":{"id":34786088583267,"product_id":7921128996963,"position":1,"created_at":"2025-11-11T09:42:06+08:00","updated_at":"2025-11-11T09:42:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328","variant_ids":[43830876340323]},"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-HD70","featured_media":{"alt":null,"id":26351545647203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830876438627,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-HD70","requires_shipping":true,"taxable":true,"featured_image":{"id":34786090745955,"product_id":7921128996963,"position":8,"created_at":"2025-11-11T09:42:13+08:00","updated_at":"2025-11-11T09:42:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f39bac589b7630b21ae5ec2c3cd86fd9cac8d91.webp?v=1762825335","variant_ids":[43830876438627]},"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-HD70","featured_media":{"alt":null,"id":26351547809891,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f39bac589b7630b21ae5ec2c3cd86fd9cac8d91.webp?v=1762825335"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830876602467,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-HD70","requires_shipping":true,"taxable":true,"featured_image":{"id":34786088845411,"product_id":7921128996963,"position":2,"created_at":"2025-11-11T09:42:07+08:00","updated_at":"2025-11-11T09:42:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5b3757869b8e12a8ed314fe9b2100d7a3868a83.webp?v=1762825329","variant_ids":[43830876602467]},"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-HD70","featured_media":{"alt":null,"id":26351545909347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5b3757869b8e12a8ed314fe9b2100d7a3868a83.webp?v=1762825329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5b3757869b8e12a8ed314fe9b2100d7a3868a83.webp?v=1762825329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bac66b8d4a1a59194bfdcb05df62b5f751b31342.webp?v=1762825330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a85366f9bb807c883950b244c3a4c8926be0c38c.webp?v=1762825330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637d4e1f87c167e35192ba2d93b0b5dfb22823b4.webp?v=1762825331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca4fc3ffea90d138cbd33a4a829dc6039fbfd8b9.webp?v=1762825332","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bc31fcee34f6d0a0d593d930818fd5ff08b99a5.webp?v=1762825333","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f39bac589b7630b21ae5ec2c3cd86fd9cac8d91.webp?v=1762825335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/651db7277e6b3888794973a1e102efb5bddbb879.webp?v=1762825335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b4158a8db43cfa3da3070abc6084deb1cef87c5.webp?v=1762825336"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328","options":["color"],"media":[{"alt":null,"id":26351545647203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328","width":2000},{"alt":null,"id":26351545909347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5b3757869b8e12a8ed314fe9b2100d7a3868a83.webp?v=1762825329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5b3757869b8e12a8ed314fe9b2100d7a3868a83.webp?v=1762825329","width":2000},{"alt":null,"id":26351546204259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bac66b8d4a1a59194bfdcb05df62b5f751b31342.webp?v=1762825330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bac66b8d4a1a59194bfdcb05df62b5f751b31342.webp?v=1762825330","width":2000},{"alt":null,"id":26351546499171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a85366f9bb807c883950b244c3a4c8926be0c38c.webp?v=1762825330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a85366f9bb807c883950b244c3a4c8926be0c38c.webp?v=1762825330","width":2000},{"alt":null,"id":26351546695779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637d4e1f87c167e35192ba2d93b0b5dfb22823b4.webp?v=1762825331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637d4e1f87c167e35192ba2d93b0b5dfb22823b4.webp?v=1762825331","width":2000},{"alt":null,"id":26351547056227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca4fc3ffea90d138cbd33a4a829dc6039fbfd8b9.webp?v=1762825332"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca4fc3ffea90d138cbd33a4a829dc6039fbfd8b9.webp?v=1762825332","width":2000},{"alt":null,"id":26351547383907,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bc31fcee34f6d0a0d593d930818fd5ff08b99a5.webp?v=1762825333"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bc31fcee34f6d0a0d593d930818fd5ff08b99a5.webp?v=1762825333","width":2000},{"alt":null,"id":26351547809891,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f39bac589b7630b21ae5ec2c3cd86fd9cac8d91.webp?v=1762825335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f39bac589b7630b21ae5ec2c3cd86fd9cac8d91.webp?v=1762825335","width":2000},{"alt":null,"id":26351547940963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/651db7277e6b3888794973a1e102efb5bddbb879.webp?v=1762825335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/651db7277e6b3888794973a1e102efb5bddbb879.webp?v=1762825335","width":2000},{"alt":null,"id":26351548039267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b4158a8db43cfa3da3070abc6084deb1cef87c5.webp?v=1762825336"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b4158a8db43cfa3da3070abc6084deb1cef87c5.webp?v=1762825336","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43830876340323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-HD70","requires_shipping":true,"taxable":true,"featured_image":{"id":34786088583267,"product_id":7921128996963,"position":1,"created_at":"2025-11-11T09:42:06+08:00","updated_at":"2025-11-11T09:42:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328","variant_ids":[43830876340323]},"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-HD70","featured_media":{"alt":null,"id":26351545647203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830876438627,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-HD70","requires_shipping":true,"taxable":true,"featured_image":{"id":34786090745955,"product_id":7921128996963,"position":8,"created_at":"2025-11-11T09:42:13+08:00","updated_at":"2025-11-11T09:42:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f39bac589b7630b21ae5ec2c3cd86fd9cac8d91.webp?v=1762825335","variant_ids":[43830876438627]},"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-HD70","featured_media":{"alt":null,"id":26351547809891,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f39bac589b7630b21ae5ec2c3cd86fd9cac8d91.webp?v=1762825335"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830876602467,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-HD70","requires_shipping":true,"taxable":true,"featured_image":{"id":34786088845411,"product_id":7921128996963,"position":2,"created_at":"2025-11-11T09:42:07+08:00","updated_at":"2025-11-11T09:42:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5b3757869b8e12a8ed314fe9b2100d7a3868a83.webp?v=1762825329","variant_ids":[43830876602467]},"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-HD70","featured_media":{"alt":null,"id":26351545909347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5b3757869b8e12a8ed314fe9b2100d7a3868a83.webp?v=1762825329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43830876340323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-HD70","requires_shipping":true,"taxable":true,"featured_image":{"id":34786088583267,"product_id":7921128996963,"position":1,"created_at":"2025-11-11T09:42:06+08:00","updated_at":"2025-11-11T09:42:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328","variant_ids":[43830876340323]},"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-HD70","featured_media":{"alt":null,"id":26351545647203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40736b84019f661523a60cd5f880ff97bca68e9.webp?v=1762825328"}},"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: "停產" }