$product = {"id":7937551499363,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 擁抱長貓","handle":"iphone-12-pro-max-mod-nx-magsafe-cjy04","description":null,"published_at":"2025-12-12T09:51:18+08:00","created_at":"2025-12-11T09:43:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 12 Pro Max","merge","reseller-jychoioioi"],"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":43882945708131,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-CJY04","requires_shipping":true,"taxable":true,"featured_image":{"id":34931008372835,"product_id":7937551499363,"position":13,"created_at":"2025-12-11T09:55:58+08:00","updated_at":"2025-12-11T09:56:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d_58653493-0f7d-4d8c-9068-77b6e436ce93.webp?v=1765418160","variant_ids":[43882945708131]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 擁抱長貓 - 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-CJY04","featured_media":{"alt":null,"id":26493382721635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d_58653493-0f7d-4d8c-9068-77b6e436ce93.webp?v=1765418160"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bb42cf08ccd7a13ec300cb032138eb214225ce.webp?v=1765417423","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2616af4ae05a524d7e3371eddfd4209edeb4a87d.webp?v=1765417424","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d.webp?v=1765417424","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c148ab0fc2ca23819371c4238c62230ecab2b08.webp?v=1765417425","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e46658ded25c88bf489effafd472cdf2b75459.webp?v=1765417425","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2041cd908567a680922518a8fc50a0e3fcf78e62.webp?v=1765417426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/346d19a2ed74c2ecece3dae73cd60393db8c6c75.webp?v=1765417426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dd4c1acbcef43c2647e2e76e379d9ecb6b50df.webp?v=1765417428","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08686a2ec4fa1faa0292ece421be8fbed4b9604.webp?v=1765417428","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2616af4ae05a524d7e3371eddfd4209edeb4a87d_33e0f707-c4e3-4987-85e6-f3d0c85e0fd2.webp?v=1765418158","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bb42cf08ccd7a13ec300cb032138eb214225ce_ea13f53c-8e1d-4a18-b178-4b7dc50c975c.webp?v=1765418158","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2041cd908567a680922518a8fc50a0e3fcf78e62_788773dd-ed6d-4cd4-86dc-fcc3638b315d.webp?v=1765418159","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d_58653493-0f7d-4d8c-9068-77b6e436ce93.webp?v=1765418160","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c148ab0fc2ca23819371c4238c62230ecab2b08_827f9b19-2bff-441a-9e1e-5101c438610e.webp?v=1765418160","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08686a2ec4fa1faa0292ece421be8fbed4b9604_7463ba3c-b8c0-4795-834a-538dc3f9b41d.webp?v=1765418161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dd4c1acbcef43c2647e2e76e379d9ecb6b50df_b8c4a2b1-c18d-49fb-b768-edc9eded4a5f.webp?v=1765418161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e46658ded25c88bf489effafd472cdf2b75459_a96d3e45-9182-434e-9b65-fd09f6b06e94.webp?v=1765418162","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/346d19a2ed74c2ecece3dae73cd60393db8c6c75_810a6a69-d9ef-4d4f-b3d3-d2a98de9f79b.webp?v=1765418163"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bb42cf08ccd7a13ec300cb032138eb214225ce.webp?v=1765417423","options":["color"],"media":[{"alt":null,"id":26493187489891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bb42cf08ccd7a13ec300cb032138eb214225ce.webp?v=1765417423"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bb42cf08ccd7a13ec300cb032138eb214225ce.webp?v=1765417423","width":2000},{"alt":null,"id":26493187555427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2616af4ae05a524d7e3371eddfd4209edeb4a87d.webp?v=1765417424"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2616af4ae05a524d7e3371eddfd4209edeb4a87d.webp?v=1765417424","width":2000},{"alt":null,"id":26493187752035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d.webp?v=1765417424"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d.webp?v=1765417424","width":2000},{"alt":null,"id":26493188014179,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c148ab0fc2ca23819371c4238c62230ecab2b08.webp?v=1765417425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c148ab0fc2ca23819371c4238c62230ecab2b08.webp?v=1765417425","width":2000},{"alt":null,"id":26493188276323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e46658ded25c88bf489effafd472cdf2b75459.webp?v=1765417425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e46658ded25c88bf489effafd472cdf2b75459.webp?v=1765417425","width":2000},{"alt":null,"id":26493188440163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2041cd908567a680922518a8fc50a0e3fcf78e62.webp?v=1765417426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2041cd908567a680922518a8fc50a0e3fcf78e62.webp?v=1765417426","width":2000},{"alt":null,"id":26493188571235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/346d19a2ed74c2ecece3dae73cd60393db8c6c75.webp?v=1765417426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/346d19a2ed74c2ecece3dae73cd60393db8c6c75.webp?v=1765417426","width":2000},{"alt":null,"id":26493188702307,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dd4c1acbcef43c2647e2e76e379d9ecb6b50df.webp?v=1765417428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dd4c1acbcef43c2647e2e76e379d9ecb6b50df.webp?v=1765417428","width":2000},{"alt":null,"id":26493188931683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08686a2ec4fa1faa0292ece421be8fbed4b9604.webp?v=1765417428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08686a2ec4fa1faa0292ece421be8fbed4b9604.webp?v=1765417428","width":2000},{"alt":null,"id":26493381967971,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2616af4ae05a524d7e3371eddfd4209edeb4a87d_33e0f707-c4e3-4987-85e6-f3d0c85e0fd2.webp?v=1765418158"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2616af4ae05a524d7e3371eddfd4209edeb4a87d_33e0f707-c4e3-4987-85e6-f3d0c85e0fd2.webp?v=1765418158","width":2000},{"alt":null,"id":26493382197347,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bb42cf08ccd7a13ec300cb032138eb214225ce_ea13f53c-8e1d-4a18-b178-4b7dc50c975c.webp?v=1765418158"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70bb42cf08ccd7a13ec300cb032138eb214225ce_ea13f53c-8e1d-4a18-b178-4b7dc50c975c.webp?v=1765418158","width":2000},{"alt":null,"id":26493382525027,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2041cd908567a680922518a8fc50a0e3fcf78e62_788773dd-ed6d-4cd4-86dc-fcc3638b315d.webp?v=1765418159"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2041cd908567a680922518a8fc50a0e3fcf78e62_788773dd-ed6d-4cd4-86dc-fcc3638b315d.webp?v=1765418159","width":2000},{"alt":null,"id":26493382721635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d_58653493-0f7d-4d8c-9068-77b6e436ce93.webp?v=1765418160"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d_58653493-0f7d-4d8c-9068-77b6e436ce93.webp?v=1765418160","width":2000},{"alt":null,"id":26493382852707,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c148ab0fc2ca23819371c4238c62230ecab2b08_827f9b19-2bff-441a-9e1e-5101c438610e.webp?v=1765418160"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c148ab0fc2ca23819371c4238c62230ecab2b08_827f9b19-2bff-441a-9e1e-5101c438610e.webp?v=1765418160","width":2000},{"alt":null,"id":26493383180387,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08686a2ec4fa1faa0292ece421be8fbed4b9604_7463ba3c-b8c0-4795-834a-538dc3f9b41d.webp?v=1765418161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08686a2ec4fa1faa0292ece421be8fbed4b9604_7463ba3c-b8c0-4795-834a-538dc3f9b41d.webp?v=1765418161","width":2000},{"alt":null,"id":26493383311459,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dd4c1acbcef43c2647e2e76e379d9ecb6b50df_b8c4a2b1-c18d-49fb-b768-edc9eded4a5f.webp?v=1765418161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dd4c1acbcef43c2647e2e76e379d9ecb6b50df_b8c4a2b1-c18d-49fb-b768-edc9eded4a5f.webp?v=1765418161","width":2000},{"alt":null,"id":26493383409763,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e46658ded25c88bf489effafd472cdf2b75459_a96d3e45-9182-434e-9b65-fd09f6b06e94.webp?v=1765418162"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e46658ded25c88bf489effafd472cdf2b75459_a96d3e45-9182-434e-9b65-fd09f6b06e94.webp?v=1765418162","width":2000},{"alt":null,"id":26493383540835,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/346d19a2ed74c2ecece3dae73cd60393db8c6c75_810a6a69-d9ef-4d4f-b3d3-d2a98de9f79b.webp?v=1765418163"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/346d19a2ed74c2ecece3dae73cd60393db8c6c75_810a6a69-d9ef-4d4f-b3d3-d2a98de9f79b.webp?v=1765418163","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43882945708131,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-CJY04","requires_shipping":true,"taxable":true,"featured_image":{"id":34931008372835,"product_id":7937551499363,"position":13,"created_at":"2025-12-11T09:55:58+08:00","updated_at":"2025-12-11T09:56:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d_58653493-0f7d-4d8c-9068-77b6e436ce93.webp?v=1765418160","variant_ids":[43882945708131]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 擁抱長貓 - 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-CJY04","featured_media":{"alt":null,"id":26493382721635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d_58653493-0f7d-4d8c-9068-77b6e436ce93.webp?v=1765418160"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43882945708131,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-CJY04","requires_shipping":true,"taxable":true,"featured_image":{"id":34931008372835,"product_id":7937551499363,"position":13,"created_at":"2025-12-11T09:55:58+08:00","updated_at":"2025-12-11T09:56:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d_58653493-0f7d-4d8c-9068-77b6e436ce93.webp?v=1765418160","variant_ids":[43882945708131]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 擁抱長貓 - 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-CJY04","featured_media":{"alt":null,"id":26493382721635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2ff312a4cb20d37623558fbe3506a39291ddd4d_58653493-0f7d-4d8c-9068-77b6e436ce93.webp?v=1765418160"}},"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: "停產" }