$product = {"id":7956206321763,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 6月 六月雪","handle":"iphone-12-pro-max-mod-nx-magsafe-eme06","description":null,"published_at":"2026-01-28T09:43:20+08:00","created_at":"2026-01-26T14:38:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-emerald","device-iPhone 12 Pro Max","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":43966970364003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-EME06","requires_shipping":true,"taxable":true,"featured_image":{"id":35147700764771,"product_id":7956206321763,"position":16,"created_at":"2026-01-26T15:08:24+08:00","updated_at":"2026-01-26T15:08:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968_6f7dcaa1-0ee3-4666-bd71-41957c60940d.webp?v=1769411306","variant_ids":[43966970364003]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 6月 六月雪 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-EME06","featured_media":{"alt":null,"id":26703939043427,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968_6f7dcaa1-0ee3-4666-bd71-41957c60940d.webp?v=1769411306"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32b4f7d469234c0afb64478d9a56fa19820d503b.webp?v=1769409537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ffbc7d5d0a8ecb3945031c588e7f517a413d540.webp?v=1769409537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0912f3c501f9e2efd601780af6d8ccba848c161.webp?v=1769409538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ed2d1d074aee2290c56dd58b5247e5515a4419b.webp?v=1769409538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06898c34a40f1154da89ce4d1b39512d0525f32f.webp?v=1769409539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a4088712a7ff82f917a4ea2a3df1a2034ef632d.webp?v=1769409540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968.webp?v=1769409540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b355045127db40ea2d237c3460bf49134a76e741.webp?v=1769409541","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67ff7af3b9941b680a61511d03d0865fdab1983.webp?v=1769409542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32b4f7d469234c0afb64478d9a56fa19820d503b_e0ce37f7-7d3e-47dd-a03d-c96666cdcf06.webp?v=1769411304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ffbc7d5d0a8ecb3945031c588e7f517a413d540_e30227f6-83e0-4d9f-9132-dc7cf05b0b5c.webp?v=1769411304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0912f3c501f9e2efd601780af6d8ccba848c161_d104e379-8c62-4094-ab74-83004de3865e.webp?v=1769411305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ed2d1d074aee2290c56dd58b5247e5515a4419b_106cfeb1-9027-4327-8a79-7137ae2ee76f.webp?v=1769411305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06898c34a40f1154da89ce4d1b39512d0525f32f_5e9dbb2c-7f1b-4693-80c7-2173ae176062.webp?v=1769411305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a4088712a7ff82f917a4ea2a3df1a2034ef632d_8f5ac52e-74a2-4277-a5f0-1a5be3f69fc0.webp?v=1769411306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968_6f7dcaa1-0ee3-4666-bd71-41957c60940d.webp?v=1769411306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b355045127db40ea2d237c3460bf49134a76e741_00520c04-aed2-4a5c-aa19-c39a8854955c.webp?v=1769411307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67ff7af3b9941b680a61511d03d0865fdab1983_ddd4d76a-ad3d-4f37-bb8c-4d0b478a997f.webp?v=1769411307"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32b4f7d469234c0afb64478d9a56fa19820d503b.webp?v=1769409537","options":["color"],"media":[{"alt":null,"id":26703417475171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32b4f7d469234c0afb64478d9a56fa19820d503b.webp?v=1769409537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32b4f7d469234c0afb64478d9a56fa19820d503b.webp?v=1769409537","width":2000},{"alt":null,"id":26703418294371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ffbc7d5d0a8ecb3945031c588e7f517a413d540.webp?v=1769409537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ffbc7d5d0a8ecb3945031c588e7f517a413d540.webp?v=1769409537","width":2000},{"alt":null,"id":26703419146339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0912f3c501f9e2efd601780af6d8ccba848c161.webp?v=1769409538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0912f3c501f9e2efd601780af6d8ccba848c161.webp?v=1769409538","width":2000},{"alt":null,"id":26703419900003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ed2d1d074aee2290c56dd58b5247e5515a4419b.webp?v=1769409538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ed2d1d074aee2290c56dd58b5247e5515a4419b.webp?v=1769409538","width":2000},{"alt":null,"id":26703420784739,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06898c34a40f1154da89ce4d1b39512d0525f32f.webp?v=1769409539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06898c34a40f1154da89ce4d1b39512d0525f32f.webp?v=1769409539","width":2000},{"alt":null,"id":26703421603939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a4088712a7ff82f917a4ea2a3df1a2034ef632d.webp?v=1769409540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a4088712a7ff82f917a4ea2a3df1a2034ef632d.webp?v=1769409540","width":2000},{"alt":null,"id":26703422193763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968.webp?v=1769409540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968.webp?v=1769409540","width":2000},{"alt":null,"id":26703422783587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b355045127db40ea2d237c3460bf49134a76e741.webp?v=1769409541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b355045127db40ea2d237c3460bf49134a76e741.webp?v=1769409541","width":2000},{"alt":null,"id":26703423373411,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67ff7af3b9941b680a61511d03d0865fdab1983.webp?v=1769409542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67ff7af3b9941b680a61511d03d0865fdab1983.webp?v=1769409542","width":2000},{"alt":null,"id":26703938551907,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32b4f7d469234c0afb64478d9a56fa19820d503b_e0ce37f7-7d3e-47dd-a03d-c96666cdcf06.webp?v=1769411304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32b4f7d469234c0afb64478d9a56fa19820d503b_e0ce37f7-7d3e-47dd-a03d-c96666cdcf06.webp?v=1769411304","width":2000},{"alt":null,"id":26703938617443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ffbc7d5d0a8ecb3945031c588e7f517a413d540_e30227f6-83e0-4d9f-9132-dc7cf05b0b5c.webp?v=1769411304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ffbc7d5d0a8ecb3945031c588e7f517a413d540_e30227f6-83e0-4d9f-9132-dc7cf05b0b5c.webp?v=1769411304","width":2000},{"alt":null,"id":26703938682979,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0912f3c501f9e2efd601780af6d8ccba848c161_d104e379-8c62-4094-ab74-83004de3865e.webp?v=1769411305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0912f3c501f9e2efd601780af6d8ccba848c161_d104e379-8c62-4094-ab74-83004de3865e.webp?v=1769411305","width":2000},{"alt":null,"id":26703938781283,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ed2d1d074aee2290c56dd58b5247e5515a4419b_106cfeb1-9027-4327-8a79-7137ae2ee76f.webp?v=1769411305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ed2d1d074aee2290c56dd58b5247e5515a4419b_106cfeb1-9027-4327-8a79-7137ae2ee76f.webp?v=1769411305","width":2000},{"alt":null,"id":26703938879587,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06898c34a40f1154da89ce4d1b39512d0525f32f_5e9dbb2c-7f1b-4693-80c7-2173ae176062.webp?v=1769411305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06898c34a40f1154da89ce4d1b39512d0525f32f_5e9dbb2c-7f1b-4693-80c7-2173ae176062.webp?v=1769411305","width":2000},{"alt":null,"id":26703938977891,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a4088712a7ff82f917a4ea2a3df1a2034ef632d_8f5ac52e-74a2-4277-a5f0-1a5be3f69fc0.webp?v=1769411306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a4088712a7ff82f917a4ea2a3df1a2034ef632d_8f5ac52e-74a2-4277-a5f0-1a5be3f69fc0.webp?v=1769411306","width":2000},{"alt":null,"id":26703939043427,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968_6f7dcaa1-0ee3-4666-bd71-41957c60940d.webp?v=1769411306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968_6f7dcaa1-0ee3-4666-bd71-41957c60940d.webp?v=1769411306","width":2000},{"alt":null,"id":26703939108963,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b355045127db40ea2d237c3460bf49134a76e741_00520c04-aed2-4a5c-aa19-c39a8854955c.webp?v=1769411307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b355045127db40ea2d237c3460bf49134a76e741_00520c04-aed2-4a5c-aa19-c39a8854955c.webp?v=1769411307","width":2000},{"alt":null,"id":26703939174499,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67ff7af3b9941b680a61511d03d0865fdab1983_ddd4d76a-ad3d-4f37-bb8c-4d0b478a997f.webp?v=1769411307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c67ff7af3b9941b680a61511d03d0865fdab1983_ddd4d76a-ad3d-4f37-bb8c-4d0b478a997f.webp?v=1769411307","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43966970364003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-EME06","requires_shipping":true,"taxable":true,"featured_image":{"id":35147700764771,"product_id":7956206321763,"position":16,"created_at":"2026-01-26T15:08:24+08:00","updated_at":"2026-01-26T15:08:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968_6f7dcaa1-0ee3-4666-bd71-41957c60940d.webp?v=1769411306","variant_ids":[43966970364003]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 6月 六月雪 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-EME06","featured_media":{"alt":null,"id":26703939043427,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968_6f7dcaa1-0ee3-4666-bd71-41957c60940d.webp?v=1769411306"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43966970364003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-EME06","requires_shipping":true,"taxable":true,"featured_image":{"id":35147700764771,"product_id":7956206321763,"position":16,"created_at":"2026-01-26T15:08:24+08:00","updated_at":"2026-01-26T15:08:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968_6f7dcaa1-0ee3-4666-bd71-41957c60940d.webp?v=1769411306","variant_ids":[43966970364003]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 6月 六月雪 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-EME06","featured_media":{"alt":null,"id":26703939043427,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/897f6dd985123ad992109906b2e31797e580c968_6f7dcaa1-0ee3-4666-bd71-41957c60940d.webp?v=1769411306"}},"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: "停產" }