$product = {"id":7956217331811,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 夏","handle":"iphone-13-pro-max-mod-nx-magsafe-eme11","description":null,"published_at":"2026-01-28T09:41:22+08:00","created_at":"2026-01-26T14:41:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-emerald","device-iPhone 13 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":43967017123939,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147241980003,"product_id":7956217331811,"position":2,"created_at":"2026-01-26T14:42:21+08:00","updated_at":"2026-01-26T14:42:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ba24ad69e789af1130a31773486dfbefd1b2ef.webp?v=1769409743","variant_ids":[43967017123939]},"available":true,"name":"iPhone 13 Pro Max 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":"MPB01232J5-EME11","featured_media":{"alt":null,"id":26703480488035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ba24ad69e789af1130a31773486dfbefd1b2ef.webp?v=1769409743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967029444707,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147243978851,"product_id":7956217331811,"position":6,"created_at":"2026-01-26T14:42:24+08:00","updated_at":"2026-01-26T14:42:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1ae92d97785fc9eafe796668ff91bb35ee4774.webp?v=1769409746","variant_ids":[43967029444707]},"available":true,"name":"iPhone 13 Pro Max 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":"MPB0123224-EME11","featured_media":{"alt":null,"id":26703482486883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1ae92d97785fc9eafe796668ff91bb35ee4774.webp?v=1769409746"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a58f41ed69de0724a4e9d6c27e49f20a236a45c.webp?v=1769409743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ba24ad69e789af1130a31773486dfbefd1b2ef.webp?v=1769409743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277428c830675af0cf46daec4dba78d9ffe3d2d2.webp?v=1769409744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4ddaa66a929bbb3a3c98ba0126f14d4176b55a.webp?v=1769409744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68764e44781cfbeba60b7f2152e6d189adf92f4e.webp?v=1769409745","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1ae92d97785fc9eafe796668ff91bb35ee4774.webp?v=1769409746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ac64db4498ac92f8c6333178f84b1a8484208f.webp?v=1769409746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3ec003f60c847d52ddfa226b49289a36ac3d75.webp?v=1769409747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6838d527872a2d441355b24fd1fff0836d500027.webp?v=1769409748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6e61987a60194d36c2deb0e66dc82c436436bf.webp?v=1769409749"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a58f41ed69de0724a4e9d6c27e49f20a236a45c.webp?v=1769409743","options":["color"],"media":[{"alt":null,"id":26703479898211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a58f41ed69de0724a4e9d6c27e49f20a236a45c.webp?v=1769409743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a58f41ed69de0724a4e9d6c27e49f20a236a45c.webp?v=1769409743","width":2000},{"alt":null,"id":26703480488035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ba24ad69e789af1130a31773486dfbefd1b2ef.webp?v=1769409743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ba24ad69e789af1130a31773486dfbefd1b2ef.webp?v=1769409743","width":2000},{"alt":null,"id":26703481110627,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277428c830675af0cf46daec4dba78d9ffe3d2d2.webp?v=1769409744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277428c830675af0cf46daec4dba78d9ffe3d2d2.webp?v=1769409744","width":2000},{"alt":null,"id":26703481700451,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4ddaa66a929bbb3a3c98ba0126f14d4176b55a.webp?v=1769409744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4ddaa66a929bbb3a3c98ba0126f14d4176b55a.webp?v=1769409744","width":2000},{"alt":null,"id":26703481929827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68764e44781cfbeba60b7f2152e6d189adf92f4e.webp?v=1769409745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68764e44781cfbeba60b7f2152e6d189adf92f4e.webp?v=1769409745","width":2000},{"alt":null,"id":26703482486883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1ae92d97785fc9eafe796668ff91bb35ee4774.webp?v=1769409746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1ae92d97785fc9eafe796668ff91bb35ee4774.webp?v=1769409746","width":2000},{"alt":null,"id":26703483011171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ac64db4498ac92f8c6333178f84b1a8484208f.webp?v=1769409746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ac64db4498ac92f8c6333178f84b1a8484208f.webp?v=1769409746","width":2000},{"alt":null,"id":26703483437155,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3ec003f60c847d52ddfa226b49289a36ac3d75.webp?v=1769409747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3ec003f60c847d52ddfa226b49289a36ac3d75.webp?v=1769409747","width":2000},{"alt":null,"id":26703483830371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6838d527872a2d441355b24fd1fff0836d500027.webp?v=1769409748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6838d527872a2d441355b24fd1fff0836d500027.webp?v=1769409748","width":2000},{"alt":null,"id":26703484321891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6e61987a60194d36c2deb0e66dc82c436436bf.webp?v=1769409749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6e61987a60194d36c2deb0e66dc82c436436bf.webp?v=1769409749","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43967017123939,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147241980003,"product_id":7956217331811,"position":2,"created_at":"2026-01-26T14:42:21+08:00","updated_at":"2026-01-26T14:42:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ba24ad69e789af1130a31773486dfbefd1b2ef.webp?v=1769409743","variant_ids":[43967017123939]},"available":true,"name":"iPhone 13 Pro Max 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":"MPB01232J5-EME11","featured_media":{"alt":null,"id":26703480488035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ba24ad69e789af1130a31773486dfbefd1b2ef.webp?v=1769409743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967029444707,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147243978851,"product_id":7956217331811,"position":6,"created_at":"2026-01-26T14:42:24+08:00","updated_at":"2026-01-26T14:42:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1ae92d97785fc9eafe796668ff91bb35ee4774.webp?v=1769409746","variant_ids":[43967029444707]},"available":true,"name":"iPhone 13 Pro Max 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":"MPB0123224-EME11","featured_media":{"alt":null,"id":26703482486883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1ae92d97785fc9eafe796668ff91bb35ee4774.webp?v=1769409746"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43967017123939,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147241980003,"product_id":7956217331811,"position":2,"created_at":"2026-01-26T14:42:21+08:00","updated_at":"2026-01-26T14:42:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ba24ad69e789af1130a31773486dfbefd1b2ef.webp?v=1769409743","variant_ids":[43967017123939]},"available":true,"name":"iPhone 13 Pro Max 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":"MPB01232J5-EME11","featured_media":{"alt":null,"id":26703480488035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ba24ad69e789af1130a31773486dfbefd1b2ef.webp?v=1769409743"}},"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: "停產" }