$product = {"id":7886204076131,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞","handle":"iphone-13-mini-mod-nx-magsafe-printable-lmo03","description":null,"published_at":"2025-09-17T10:38:19+08:00","created_at":"2025-09-17T10:15:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-cherng","device-iPhone 13 Mini","merge","reseller-cherng"],"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":43735050092643,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500484366435,"product_id":7886204076131,"position":8,"created_at":"2025-09-17T10:15:54+08:00","updated_at":"2025-09-17T10:15:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4423108ea5a46f51dbdf280ba732e3b6c7d0aee1.webp?v=1758075355","variant_ids":[43735050092643]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072076091491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4423108ea5a46f51dbdf280ba732e3b6c7d0aee1.webp?v=1758075355"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43735050158179,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500483940451,"product_id":7886204076131,"position":5,"created_at":"2025-09-17T10:15:52+08:00","updated_at":"2025-09-17T10:15:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb68cdfa902fc53a36ca51fe6771852fe824db1c.webp?v=1758075354","variant_ids":[43735050158179]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072075665507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb68cdfa902fc53a36ca51fe6771852fe824db1c.webp?v=1758075354"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43735050223715,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500483711075,"product_id":7886204076131,"position":4,"created_at":"2025-09-17T10:15:51+08:00","updated_at":"2025-09-17T10:15:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff82a2647b65e7a11e23c4dcdd3b6d5b1a4f605.webp?v=1758075353","variant_ids":[43735050223715]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072075436131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff82a2647b65e7a11e23c4dcdd3b6d5b1a4f605.webp?v=1758075353"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8490d614dc064b6e4c823c55650aa7f4c5bd6a8c.webp?v=1758075351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a1af8ceaf54f9adec769e95d2e40afcb4472b8.webp?v=1758075352","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3684d38a981acdfb5204f19bf7454f7dc658b42d.webp?v=1758075353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff82a2647b65e7a11e23c4dcdd3b6d5b1a4f605.webp?v=1758075353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb68cdfa902fc53a36ca51fe6771852fe824db1c.webp?v=1758075354","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c424806029ed84f76d4ecf3d4635adbffdab8395.webp?v=1758075355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92fd0ab53309e188f8fd95ed0e5296b28bce8401.webp?v=1758075355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4423108ea5a46f51dbdf280ba732e3b6c7d0aee1.webp?v=1758075355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec381ad087e841738f1d5d73deb73bf197681c18.webp?v=1758075357","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6253ab8414fd29047cc0d0d046001fbfe9bd48.webp?v=1758075357"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8490d614dc064b6e4c823c55650aa7f4c5bd6a8c.webp?v=1758075351","options":["color"],"media":[{"alt":null,"id":26072074748003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8490d614dc064b6e4c823c55650aa7f4c5bd6a8c.webp?v=1758075351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8490d614dc064b6e4c823c55650aa7f4c5bd6a8c.webp?v=1758075351","width":2000},{"alt":null,"id":26072075075683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a1af8ceaf54f9adec769e95d2e40afcb4472b8.webp?v=1758075352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49a1af8ceaf54f9adec769e95d2e40afcb4472b8.webp?v=1758075352","width":2000},{"alt":null,"id":26072075305059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3684d38a981acdfb5204f19bf7454f7dc658b42d.webp?v=1758075353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3684d38a981acdfb5204f19bf7454f7dc658b42d.webp?v=1758075353","width":2000},{"alt":null,"id":26072075436131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff82a2647b65e7a11e23c4dcdd3b6d5b1a4f605.webp?v=1758075353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff82a2647b65e7a11e23c4dcdd3b6d5b1a4f605.webp?v=1758075353","width":2000},{"alt":null,"id":26072075665507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb68cdfa902fc53a36ca51fe6771852fe824db1c.webp?v=1758075354"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb68cdfa902fc53a36ca51fe6771852fe824db1c.webp?v=1758075354","width":2000},{"alt":null,"id":26072075862115,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c424806029ed84f76d4ecf3d4635adbffdab8395.webp?v=1758075355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c424806029ed84f76d4ecf3d4635adbffdab8395.webp?v=1758075355","width":2000},{"alt":null,"id":26072075960419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92fd0ab53309e188f8fd95ed0e5296b28bce8401.webp?v=1758075355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92fd0ab53309e188f8fd95ed0e5296b28bce8401.webp?v=1758075355","width":2000},{"alt":null,"id":26072076091491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4423108ea5a46f51dbdf280ba732e3b6c7d0aee1.webp?v=1758075355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4423108ea5a46f51dbdf280ba732e3b6c7d0aee1.webp?v=1758075355","width":2000},{"alt":null,"id":26072076222563,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec381ad087e841738f1d5d73deb73bf197681c18.webp?v=1758075357"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec381ad087e841738f1d5d73deb73bf197681c18.webp?v=1758075357","width":2000},{"alt":null,"id":26072076386403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6253ab8414fd29047cc0d0d046001fbfe9bd48.webp?v=1758075357"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6253ab8414fd29047cc0d0d046001fbfe9bd48.webp?v=1758075357","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43735050092643,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500484366435,"product_id":7886204076131,"position":8,"created_at":"2025-09-17T10:15:54+08:00","updated_at":"2025-09-17T10:15:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4423108ea5a46f51dbdf280ba732e3b6c7d0aee1.webp?v=1758075355","variant_ids":[43735050092643]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072076091491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4423108ea5a46f51dbdf280ba732e3b6c7d0aee1.webp?v=1758075355"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43735050158179,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500483940451,"product_id":7886204076131,"position":5,"created_at":"2025-09-17T10:15:52+08:00","updated_at":"2025-09-17T10:15:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb68cdfa902fc53a36ca51fe6771852fe824db1c.webp?v=1758075354","variant_ids":[43735050158179]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072075665507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb68cdfa902fc53a36ca51fe6771852fe824db1c.webp?v=1758075354"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43735050223715,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500483711075,"product_id":7886204076131,"position":4,"created_at":"2025-09-17T10:15:51+08:00","updated_at":"2025-09-17T10:15:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff82a2647b65e7a11e23c4dcdd3b6d5b1a4f605.webp?v=1758075353","variant_ids":[43735050223715]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072075436131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff82a2647b65e7a11e23c4dcdd3b6d5b1a4f605.webp?v=1758075353"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43735050092643,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-LMO03","requires_shipping":true,"taxable":true,"featured_image":{"id":34500484366435,"product_id":7886204076131,"position":8,"created_at":"2025-09-17T10:15:54+08:00","updated_at":"2025-09-17T10:15:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4423108ea5a46f51dbdf280ba732e3b6c7d0aee1.webp?v=1758075355","variant_ids":[43735050092643]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 馬來貘LAIMO 孤芳自賞 - 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-LMO03","featured_media":{"alt":null,"id":26072076091491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4423108ea5a46f51dbdf280ba732e3b6c7d0aee1.webp?v=1758075355"}},"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: "停產" }