$product = {"id":7956212351075,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Emerald Studio 夏","handle":"iphone-13-mini-mod-nx-magsafe-eme11","description":null,"published_at":"2026-01-28T09:42:17+08:00","created_at":"2026-01-26T14:40:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-emerald","device-iPhone 13 Mini","merge","reseller-emerald"],"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":43966995824739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147223728227,"product_id":7956212351075,"position":9,"created_at":"2026-01-26T14:41:05+08:00","updated_at":"2026-01-26T14:41:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00d62384844c1944a59f152740dab960bc4dd1.webp?v=1769409667","variant_ids":[43966995824739]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703462236259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00d62384844c1944a59f152740dab960bc4dd1.webp?v=1769409667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967009030243,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147221696611,"product_id":7956212351075,"position":5,"created_at":"2026-01-26T14:41:02+08:00","updated_at":"2026-01-26T14:41:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc77ba932d774922fd5923fe6e81e19ff217.webp?v=1769409664","variant_ids":[43967009030243]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703460204643,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc77ba932d774922fd5923fe6e81e19ff217.webp?v=1769409664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967011946595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147218714723,"product_id":7956212351075,"position":1,"created_at":"2026-01-26T14:40:58+08:00","updated_at":"2026-01-26T14:41:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f7a8acab8c936a0e2398246efec558bcf033c62.webp?v=1769409661","variant_ids":[43967011946595]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703457222755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f7a8acab8c936a0e2398246efec558bcf033c62.webp?v=1769409661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f7a8acab8c936a0e2398246efec558bcf033c62.webp?v=1769409661","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc426f738bba3f3f9337d719ce6517cd8a94d7c9.webp?v=1769409661","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f320ec49d55d80bb5e6891c7e5a7d74e1c2528d.webp?v=1769409662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adfb0f0d2b0ba5b817c154bb9d990a2b6510ebc.webp?v=1769409664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc77ba932d774922fd5923fe6e81e19ff217.webp?v=1769409664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9831a93fc9be61b1aae4a48864ee4c975b66ad3b.webp?v=1769409665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0b25e86691977f5893d798eebf68c90b477021.webp?v=1769409665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e993554b7070c9e022a4426b25a9e477fd9d39f.webp?v=1769409666","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00d62384844c1944a59f152740dab960bc4dd1.webp?v=1769409667","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da01a0a54461116de7266c74ead13b463d4faf2.webp?v=1769409667"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f7a8acab8c936a0e2398246efec558bcf033c62.webp?v=1769409661","options":["color"],"media":[{"alt":null,"id":26703457222755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f7a8acab8c936a0e2398246efec558bcf033c62.webp?v=1769409661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f7a8acab8c936a0e2398246efec558bcf033c62.webp?v=1769409661","width":2000},{"alt":null,"id":26703458336867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc426f738bba3f3f9337d719ce6517cd8a94d7c9.webp?v=1769409661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc426f738bba3f3f9337d719ce6517cd8a94d7c9.webp?v=1769409661","width":2000},{"alt":null,"id":26703458959459,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f320ec49d55d80bb5e6891c7e5a7d74e1c2528d.webp?v=1769409662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f320ec49d55d80bb5e6891c7e5a7d74e1c2528d.webp?v=1769409662","width":2000},{"alt":null,"id":26703459713123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adfb0f0d2b0ba5b817c154bb9d990a2b6510ebc.webp?v=1769409664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adfb0f0d2b0ba5b817c154bb9d990a2b6510ebc.webp?v=1769409664","width":2000},{"alt":null,"id":26703460204643,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc77ba932d774922fd5923fe6e81e19ff217.webp?v=1769409664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc77ba932d774922fd5923fe6e81e19ff217.webp?v=1769409664","width":2000},{"alt":null,"id":26703460728931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9831a93fc9be61b1aae4a48864ee4c975b66ad3b.webp?v=1769409665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9831a93fc9be61b1aae4a48864ee4c975b66ad3b.webp?v=1769409665","width":2000},{"alt":null,"id":26703461285987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0b25e86691977f5893d798eebf68c90b477021.webp?v=1769409665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba0b25e86691977f5893d798eebf68c90b477021.webp?v=1769409665","width":2000},{"alt":null,"id":26703461744739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e993554b7070c9e022a4426b25a9e477fd9d39f.webp?v=1769409666"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e993554b7070c9e022a4426b25a9e477fd9d39f.webp?v=1769409666","width":2000},{"alt":null,"id":26703462236259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00d62384844c1944a59f152740dab960bc4dd1.webp?v=1769409667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00d62384844c1944a59f152740dab960bc4dd1.webp?v=1769409667","width":2000},{"alt":null,"id":26703462531171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da01a0a54461116de7266c74ead13b463d4faf2.webp?v=1769409667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da01a0a54461116de7266c74ead13b463d4faf2.webp?v=1769409667","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43966995824739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147223728227,"product_id":7956212351075,"position":9,"created_at":"2026-01-26T14:41:05+08:00","updated_at":"2026-01-26T14:41:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00d62384844c1944a59f152740dab960bc4dd1.webp?v=1769409667","variant_ids":[43966995824739]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703462236259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00d62384844c1944a59f152740dab960bc4dd1.webp?v=1769409667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967009030243,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147221696611,"product_id":7956212351075,"position":5,"created_at":"2026-01-26T14:41:02+08:00","updated_at":"2026-01-26T14:41:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc77ba932d774922fd5923fe6e81e19ff217.webp?v=1769409664","variant_ids":[43967009030243]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703460204643,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03dffc77ba932d774922fd5923fe6e81e19ff217.webp?v=1769409664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967011946595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147218714723,"product_id":7956212351075,"position":1,"created_at":"2026-01-26T14:40:58+08:00","updated_at":"2026-01-26T14:41:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f7a8acab8c936a0e2398246efec558bcf033c62.webp?v=1769409661","variant_ids":[43967011946595]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703457222755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f7a8acab8c936a0e2398246efec558bcf033c62.webp?v=1769409661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43966995824739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147223728227,"product_id":7956212351075,"position":9,"created_at":"2026-01-26T14:41:05+08:00","updated_at":"2026-01-26T14:41:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00d62384844c1944a59f152740dab960bc4dd1.webp?v=1769409667","variant_ids":[43966995824739]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703462236259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea00d62384844c1944a59f152740dab960bc4dd1.webp?v=1769409667"}},"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: "停產" }