$product = {"id":7911190298723,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) PosterLad 正常很無聊","handle":"iphone-13-mini-mod-nx-magsafe-printable-pos04","description":null,"published_at":"2025-11-05T10:48:38+08:00","created_at":"2025-11-04T10:33:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-posterlad","device-iPhone 13 Mini","merge","reseller-posterlad"],"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":43811933126755,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-POS04","requires_shipping":true,"taxable":true,"featured_image":{"id":34729061253219,"product_id":7911190298723,"position":3,"created_at":"2025-11-04T10:33:14+08:00","updated_at":"2025-11-04T10:33:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fd9249b5847cfce5f2ba7f70105a2904b5b751c.webp?v=1762223596","variant_ids":[43811933126755]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) PosterLad 正常很無聊 - 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-POS04","featured_media":{"alt":null,"id":26296929681507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fd9249b5847cfce5f2ba7f70105a2904b5b751c.webp?v=1762223596"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811933159523,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-POS04","requires_shipping":true,"taxable":true,"featured_image":{"id":34729061122147,"product_id":7911190298723,"position":2,"created_at":"2025-11-04T10:33:13+08:00","updated_at":"2025-11-04T10:33:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7585f392e76b9c7d9768d6b269229a1627a164.webp?v=1762223595","variant_ids":[43811933159523]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) PosterLad 正常很無聊 - 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-POS04","featured_media":{"alt":null,"id":26296929386595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7585f392e76b9c7d9768d6b269229a1627a164.webp?v=1762223595"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811933323363,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-POS04","requires_shipping":true,"taxable":true,"featured_image":{"id":34729062039651,"product_id":7911190298723,"position":8,"created_at":"2025-11-04T10:33:18+08:00","updated_at":"2025-11-04T10:33:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354b0e17f1de06be0afcd5e8b8cc733d14b9d144.webp?v=1762223600","variant_ids":[43811933323363]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) PosterLad 正常很無聊 - 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-POS04","featured_media":{"alt":null,"id":26296930467939,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354b0e17f1de06be0afcd5e8b8cc733d14b9d144.webp?v=1762223600"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e48aff98854c9f5e91b849f0bfaa112101a023.webp?v=1762223594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7585f392e76b9c7d9768d6b269229a1627a164.webp?v=1762223595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fd9249b5847cfce5f2ba7f70105a2904b5b751c.webp?v=1762223596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7a32d14272bda8f35110314582e9f52310ff7e.webp?v=1762223597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e13e32fcbafc6f477a41a3cbe2411aafdc95d35.webp?v=1762223597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e261a2d483e67c61557b21eb2f12ca314fc53.webp?v=1762223598","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d14ab93941615f6fe1af2463416c629bd60521ff.webp?v=1762223599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354b0e17f1de06be0afcd5e8b8cc733d14b9d144.webp?v=1762223600","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdcc2abef741abe1551809bce3059e2c63add5c.webp?v=1762223600","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b898333916b65f6019f0aa37dc9ce7b2efb8e1.webp?v=1762223601"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e48aff98854c9f5e91b849f0bfaa112101a023.webp?v=1762223594","options":["color"],"media":[{"alt":null,"id":26296929157219,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e48aff98854c9f5e91b849f0bfaa112101a023.webp?v=1762223594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e48aff98854c9f5e91b849f0bfaa112101a023.webp?v=1762223594","width":2000},{"alt":null,"id":26296929386595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7585f392e76b9c7d9768d6b269229a1627a164.webp?v=1762223595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7585f392e76b9c7d9768d6b269229a1627a164.webp?v=1762223595","width":2000},{"alt":null,"id":26296929681507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fd9249b5847cfce5f2ba7f70105a2904b5b751c.webp?v=1762223596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fd9249b5847cfce5f2ba7f70105a2904b5b751c.webp?v=1762223596","width":2000},{"alt":null,"id":26296929812579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7a32d14272bda8f35110314582e9f52310ff7e.webp?v=1762223597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7a32d14272bda8f35110314582e9f52310ff7e.webp?v=1762223597","width":2000},{"alt":null,"id":26296929910883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e13e32fcbafc6f477a41a3cbe2411aafdc95d35.webp?v=1762223597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e13e32fcbafc6f477a41a3cbe2411aafdc95d35.webp?v=1762223597","width":2000},{"alt":null,"id":26296930041955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e261a2d483e67c61557b21eb2f12ca314fc53.webp?v=1762223598"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e261a2d483e67c61557b21eb2f12ca314fc53.webp?v=1762223598","width":2000},{"alt":null,"id":26296930271331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d14ab93941615f6fe1af2463416c629bd60521ff.webp?v=1762223599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d14ab93941615f6fe1af2463416c629bd60521ff.webp?v=1762223599","width":2000},{"alt":null,"id":26296930467939,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354b0e17f1de06be0afcd5e8b8cc733d14b9d144.webp?v=1762223600"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354b0e17f1de06be0afcd5e8b8cc733d14b9d144.webp?v=1762223600","width":2000},{"alt":null,"id":26296930664547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdcc2abef741abe1551809bce3059e2c63add5c.webp?v=1762223600"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdcc2abef741abe1551809bce3059e2c63add5c.webp?v=1762223600","width":2000},{"alt":null,"id":26296930795619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b898333916b65f6019f0aa37dc9ce7b2efb8e1.webp?v=1762223601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4b898333916b65f6019f0aa37dc9ce7b2efb8e1.webp?v=1762223601","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43811933126755,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-POS04","requires_shipping":true,"taxable":true,"featured_image":{"id":34729061253219,"product_id":7911190298723,"position":3,"created_at":"2025-11-04T10:33:14+08:00","updated_at":"2025-11-04T10:33:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fd9249b5847cfce5f2ba7f70105a2904b5b751c.webp?v=1762223596","variant_ids":[43811933126755]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) PosterLad 正常很無聊 - 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-POS04","featured_media":{"alt":null,"id":26296929681507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fd9249b5847cfce5f2ba7f70105a2904b5b751c.webp?v=1762223596"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811933159523,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-POS04","requires_shipping":true,"taxable":true,"featured_image":{"id":34729061122147,"product_id":7911190298723,"position":2,"created_at":"2025-11-04T10:33:13+08:00","updated_at":"2025-11-04T10:33:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7585f392e76b9c7d9768d6b269229a1627a164.webp?v=1762223595","variant_ids":[43811933159523]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) PosterLad 正常很無聊 - 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-POS04","featured_media":{"alt":null,"id":26296929386595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7585f392e76b9c7d9768d6b269229a1627a164.webp?v=1762223595"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811933323363,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-POS04","requires_shipping":true,"taxable":true,"featured_image":{"id":34729062039651,"product_id":7911190298723,"position":8,"created_at":"2025-11-04T10:33:18+08:00","updated_at":"2025-11-04T10:33:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354b0e17f1de06be0afcd5e8b8cc733d14b9d144.webp?v=1762223600","variant_ids":[43811933323363]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) PosterLad 正常很無聊 - 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-POS04","featured_media":{"alt":null,"id":26296930467939,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354b0e17f1de06be0afcd5e8b8cc733d14b9d144.webp?v=1762223600"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43811933126755,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-POS04","requires_shipping":true,"taxable":true,"featured_image":{"id":34729061253219,"product_id":7911190298723,"position":3,"created_at":"2025-11-04T10:33:14+08:00","updated_at":"2025-11-04T10:33:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fd9249b5847cfce5f2ba7f70105a2904b5b751c.webp?v=1762223596","variant_ids":[43811933126755]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) PosterLad 正常很無聊 - 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-POS04","featured_media":{"alt":null,"id":26296929681507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fd9249b5847cfce5f2ba7f70105a2904b5b751c.webp?v=1762223596"}},"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: "停產" }