$product = {"id":7911197376611,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) PosterLad 水與沙","handle":"iphone-13-mini-mod-nx-magsafe-printable-pos03","description":null,"published_at":"2025-11-05T10:47:11+08:00","created_at":"2025-11-04T10:35:06+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":43811959603299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-POS03","requires_shipping":true,"taxable":true,"featured_image":{"id":34729088614499,"product_id":7911197376611,"position":2,"created_at":"2025-11-04T10:35:12+08:00","updated_at":"2025-11-04T10:35:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82ddd374699292292fbcc80ad87783e6547e1543.webp?v=1762223714","variant_ids":[43811959603299]},"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-POS03","featured_media":{"alt":null,"id":26296957042787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82ddd374699292292fbcc80ad87783e6547e1543.webp?v=1762223714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811959636067,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-POS03","requires_shipping":true,"taxable":true,"featured_image":{"id":34729089335395,"product_id":7911197376611,"position":4,"created_at":"2025-11-04T10:35:14+08:00","updated_at":"2025-11-04T10:35:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2197a9280a2995d820cd774ea897ed670c7705f9.webp?v=1762223716","variant_ids":[43811959636067]},"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-POS03","featured_media":{"alt":null,"id":26296957730915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2197a9280a2995d820cd774ea897ed670c7705f9.webp?v=1762223716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811959799907,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-POS03","requires_shipping":true,"taxable":true,"featured_image":{"id":34729090187363,"product_id":7911197376611,"position":7,"created_at":"2025-11-04T10:35:16+08:00","updated_at":"2025-11-04T10:35:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6732d28a8e2feed94aa803eb59a50ca4a5d372e.webp?v=1762223718","variant_ids":[43811959799907]},"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-POS03","featured_media":{"alt":null,"id":26296958615651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6732d28a8e2feed94aa803eb59a50ca4a5d372e.webp?v=1762223718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/551eeb268c3e91e2875781a98818e5f8b54b46e5.webp?v=1762223714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82ddd374699292292fbcc80ad87783e6547e1543.webp?v=1762223714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7511eeb8e4b051629362b644c1e67e9d1b802eee.webp?v=1762223715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2197a9280a2995d820cd774ea897ed670c7705f9.webp?v=1762223716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cb22dcf63cc79493dbea80fefe9a1bdc28d09c4.webp?v=1762223717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf04bd74f17d0b985224e31f72b61efa2222774d.webp?v=1762223718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6732d28a8e2feed94aa803eb59a50ca4a5d372e.webp?v=1762223718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae8acefa3409d51cfad10c58ec20cb366fead70.webp?v=1762223719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e1a1ff9cf28c05e2078821939fdd9d94cfb20.webp?v=1762223720","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6a055e0490fb98fca10d26a3cbc636b00f2ac0e.webp?v=1762223721"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/551eeb268c3e91e2875781a98818e5f8b54b46e5.webp?v=1762223714","options":["color"],"media":[{"alt":null,"id":26296956813411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/551eeb268c3e91e2875781a98818e5f8b54b46e5.webp?v=1762223714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/551eeb268c3e91e2875781a98818e5f8b54b46e5.webp?v=1762223714","width":2000},{"alt":null,"id":26296957042787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82ddd374699292292fbcc80ad87783e6547e1543.webp?v=1762223714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82ddd374699292292fbcc80ad87783e6547e1543.webp?v=1762223714","width":2000},{"alt":null,"id":26296957337699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7511eeb8e4b051629362b644c1e67e9d1b802eee.webp?v=1762223715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7511eeb8e4b051629362b644c1e67e9d1b802eee.webp?v=1762223715","width":2000},{"alt":null,"id":26296957730915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2197a9280a2995d820cd774ea897ed670c7705f9.webp?v=1762223716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2197a9280a2995d820cd774ea897ed670c7705f9.webp?v=1762223716","width":2000},{"alt":null,"id":26296958058595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cb22dcf63cc79493dbea80fefe9a1bdc28d09c4.webp?v=1762223717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cb22dcf63cc79493dbea80fefe9a1bdc28d09c4.webp?v=1762223717","width":2000},{"alt":null,"id":26296958320739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf04bd74f17d0b985224e31f72b61efa2222774d.webp?v=1762223718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf04bd74f17d0b985224e31f72b61efa2222774d.webp?v=1762223718","width":2000},{"alt":null,"id":26296958615651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6732d28a8e2feed94aa803eb59a50ca4a5d372e.webp?v=1762223718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6732d28a8e2feed94aa803eb59a50ca4a5d372e.webp?v=1762223718","width":2000},{"alt":null,"id":26296958812259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae8acefa3409d51cfad10c58ec20cb366fead70.webp?v=1762223719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ae8acefa3409d51cfad10c58ec20cb366fead70.webp?v=1762223719","width":2000},{"alt":null,"id":26296958976099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e1a1ff9cf28c05e2078821939fdd9d94cfb20.webp?v=1762223720"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb3e1a1ff9cf28c05e2078821939fdd9d94cfb20.webp?v=1762223720","width":2000},{"alt":null,"id":26296959107171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6a055e0490fb98fca10d26a3cbc636b00f2ac0e.webp?v=1762223721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6a055e0490fb98fca10d26a3cbc636b00f2ac0e.webp?v=1762223721","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43811959603299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-POS03","requires_shipping":true,"taxable":true,"featured_image":{"id":34729088614499,"product_id":7911197376611,"position":2,"created_at":"2025-11-04T10:35:12+08:00","updated_at":"2025-11-04T10:35:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82ddd374699292292fbcc80ad87783e6547e1543.webp?v=1762223714","variant_ids":[43811959603299]},"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-POS03","featured_media":{"alt":null,"id":26296957042787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82ddd374699292292fbcc80ad87783e6547e1543.webp?v=1762223714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811959636067,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-POS03","requires_shipping":true,"taxable":true,"featured_image":{"id":34729089335395,"product_id":7911197376611,"position":4,"created_at":"2025-11-04T10:35:14+08:00","updated_at":"2025-11-04T10:35:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2197a9280a2995d820cd774ea897ed670c7705f9.webp?v=1762223716","variant_ids":[43811959636067]},"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-POS03","featured_media":{"alt":null,"id":26296957730915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2197a9280a2995d820cd774ea897ed670c7705f9.webp?v=1762223716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43811959799907,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-POS03","requires_shipping":true,"taxable":true,"featured_image":{"id":34729090187363,"product_id":7911197376611,"position":7,"created_at":"2025-11-04T10:35:16+08:00","updated_at":"2025-11-04T10:35:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6732d28a8e2feed94aa803eb59a50ca4a5d372e.webp?v=1762223718","variant_ids":[43811959799907]},"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-POS03","featured_media":{"alt":null,"id":26296958615651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6732d28a8e2feed94aa803eb59a50ca4a5d372e.webp?v=1762223718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43811959603299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-POS03","requires_shipping":true,"taxable":true,"featured_image":{"id":34729088614499,"product_id":7911197376611,"position":2,"created_at":"2025-11-04T10:35:12+08:00","updated_at":"2025-11-04T10:35:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82ddd374699292292fbcc80ad87783e6547e1543.webp?v=1762223714","variant_ids":[43811959603299]},"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-POS03","featured_media":{"alt":null,"id":26296957042787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82ddd374699292292fbcc80ad87783e6547e1543.webp?v=1762223714"}},"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: "停產" }