$product = {"id":7411381993571,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 漫畫風格","handle":"iphone-14-pro-mod-nx-magsafe-printable-sb02","description":null,"published_at":"2024-06-11T17:43:26+08:00","created_at":"2024-05-05T00:18:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-batman","Top50","type-Mod NX Printable MagSafe Printable"],"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":41898178117731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480283529315,"product_id":7411381993571,"position":1,"created_at":"2024-05-05T00:19:00+08:00","updated_at":"2024-05-05T00:19:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540","variant_ids":[41898178117731]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 漫畫風格 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB02","featured_media":{"alt":null,"id":23885534888035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898178183267,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480287166563,"product_id":7411381993571,"position":8,"created_at":"2024-05-05T00:19:17+08:00","updated_at":"2024-05-05T00:19:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9178439595a787b095fda33779a19963649715_123b0353-e692-48d0-bb5d-3b67267788dd.webp?v=1714839557","variant_ids":[41898178183267]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 漫畫風格 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SB02","featured_media":{"alt":null,"id":23885538492515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9178439595a787b095fda33779a19963649715_123b0353-e692-48d0-bb5d-3b67267788dd.webp?v=1714839557"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898178412643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480284479587,"product_id":7411381993571,"position":3,"created_at":"2024-05-05T00:19:05+08:00","updated_at":"2024-05-05T00:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28bebc3aaa019b067b2d517a145f078670fcba8_6ba853e8-0a2d-4215-9c5b-310b6ce5cd5d.webp?v=1714839545","variant_ids":[41898178412643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 漫畫風格 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SB02","featured_media":{"alt":null,"id":23885535838307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28bebc3aaa019b067b2d517a145f078670fcba8_6ba853e8-0a2d-4215-9c5b-310b6ce5cd5d.webp?v=1714839545"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fc2ad0eb891d4a043894121f22a4827ddb39166_256d8382-1d1a-427c-9e4b-0685a29033d5.webp?v=1714839543","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28bebc3aaa019b067b2d517a145f078670fcba8_6ba853e8-0a2d-4215-9c5b-310b6ce5cd5d.webp?v=1714839545","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e620c05a6675496739d694d0ba4094b3b0aa721_eda81c39-86a8-4dd2-b3e2-4a01f4259356.webp?v=1714839547","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2648d63b84103f11ac519e4c1f697f03488a4cb5_2a67218a-5a79-4023-995c-6698f715e943.webp?v=1714839549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575c4bf91094420bfe38a33242e32151f890242b_0478953f-7b3a-4e0c-bd26-427693dad139.webp?v=1714839552","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856338d85605e98713a2d8a3efe9cd0cdf1f81e2_c4d1f0f5-7fd5-4644-b3aa-8e823d1679c4.webp?v=1714839554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9178439595a787b095fda33779a19963649715_123b0353-e692-48d0-bb5d-3b67267788dd.webp?v=1714839557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22b2dd25c30b95121c074fb6fe279f571ee2ff00_0f55355e-305c-446a-b5e7-16200949bd40.webp?v=1714839559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3268707d91b8cd7e1886b973e531e8e3de3c147_9f60e72b-e808-4f89-aba9-073978fe1d90.webp?v=1714839561"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540","options":["color"],"media":[{"alt":null,"id":23885534888035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540","width":2000},{"alt":null,"id":23885535445091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fc2ad0eb891d4a043894121f22a4827ddb39166_256d8382-1d1a-427c-9e4b-0685a29033d5.webp?v=1714839543"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fc2ad0eb891d4a043894121f22a4827ddb39166_256d8382-1d1a-427c-9e4b-0685a29033d5.webp?v=1714839543","width":2000},{"alt":null,"id":23885535838307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28bebc3aaa019b067b2d517a145f078670fcba8_6ba853e8-0a2d-4215-9c5b-310b6ce5cd5d.webp?v=1714839545"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28bebc3aaa019b067b2d517a145f078670fcba8_6ba853e8-0a2d-4215-9c5b-310b6ce5cd5d.webp?v=1714839545","width":2000},{"alt":null,"id":23885536460899,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e620c05a6675496739d694d0ba4094b3b0aa721_eda81c39-86a8-4dd2-b3e2-4a01f4259356.webp?v=1714839547"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e620c05a6675496739d694d0ba4094b3b0aa721_eda81c39-86a8-4dd2-b3e2-4a01f4259356.webp?v=1714839547","width":2000},{"alt":null,"id":23885536919651,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2648d63b84103f11ac519e4c1f697f03488a4cb5_2a67218a-5a79-4023-995c-6698f715e943.webp?v=1714839549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2648d63b84103f11ac519e4c1f697f03488a4cb5_2a67218a-5a79-4023-995c-6698f715e943.webp?v=1714839549","width":2000},{"alt":null,"id":23885537411171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575c4bf91094420bfe38a33242e32151f890242b_0478953f-7b3a-4e0c-bd26-427693dad139.webp?v=1714839552"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/575c4bf91094420bfe38a33242e32151f890242b_0478953f-7b3a-4e0c-bd26-427693dad139.webp?v=1714839552","width":2000},{"alt":null,"id":23885537902691,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856338d85605e98713a2d8a3efe9cd0cdf1f81e2_c4d1f0f5-7fd5-4644-b3aa-8e823d1679c4.webp?v=1714839554"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856338d85605e98713a2d8a3efe9cd0cdf1f81e2_c4d1f0f5-7fd5-4644-b3aa-8e823d1679c4.webp?v=1714839554","width":2000},{"alt":null,"id":23885538492515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9178439595a787b095fda33779a19963649715_123b0353-e692-48d0-bb5d-3b67267788dd.webp?v=1714839557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9178439595a787b095fda33779a19963649715_123b0353-e692-48d0-bb5d-3b67267788dd.webp?v=1714839557","width":2000},{"alt":null,"id":23885539016803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22b2dd25c30b95121c074fb6fe279f571ee2ff00_0f55355e-305c-446a-b5e7-16200949bd40.webp?v=1714839559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22b2dd25c30b95121c074fb6fe279f571ee2ff00_0f55355e-305c-446a-b5e7-16200949bd40.webp?v=1714839559","width":2000},{"alt":null,"id":23885539573859,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3268707d91b8cd7e1886b973e531e8e3de3c147_9f60e72b-e808-4f89-aba9-073978fe1d90.webp?v=1714839561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3268707d91b8cd7e1886b973e531e8e3de3c147_9f60e72b-e808-4f89-aba9-073978fe1d90.webp?v=1714839561","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41898178117731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480283529315,"product_id":7411381993571,"position":1,"created_at":"2024-05-05T00:19:00+08:00","updated_at":"2024-05-05T00:19:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540","variant_ids":[41898178117731]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 漫畫風格 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB02","featured_media":{"alt":null,"id":23885534888035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898178183267,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480287166563,"product_id":7411381993571,"position":8,"created_at":"2024-05-05T00:19:17+08:00","updated_at":"2024-05-05T00:19:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9178439595a787b095fda33779a19963649715_123b0353-e692-48d0-bb5d-3b67267788dd.webp?v=1714839557","variant_ids":[41898178183267]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 漫畫風格 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SB02","featured_media":{"alt":null,"id":23885538492515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9178439595a787b095fda33779a19963649715_123b0353-e692-48d0-bb5d-3b67267788dd.webp?v=1714839557"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898178412643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480284479587,"product_id":7411381993571,"position":3,"created_at":"2024-05-05T00:19:05+08:00","updated_at":"2024-05-05T00:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28bebc3aaa019b067b2d517a145f078670fcba8_6ba853e8-0a2d-4215-9c5b-310b6ce5cd5d.webp?v=1714839545","variant_ids":[41898178412643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 漫畫風格 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SB02","featured_media":{"alt":null,"id":23885535838307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28bebc3aaa019b067b2d517a145f078670fcba8_6ba853e8-0a2d-4215-9c5b-310b6ce5cd5d.webp?v=1714839545"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898178117731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480283529315,"product_id":7411381993571,"position":1,"created_at":"2024-05-05T00:19:00+08:00","updated_at":"2024-05-05T00:19:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540","variant_ids":[41898178117731]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 漫畫風格 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB02","featured_media":{"alt":null,"id":23885534888035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1fd249c3970fd76c1f39d8e3afb16fee56db280_931e3e09-ec91-43c4-9d7c-5e477768cc39.webp?v=1714839540"}},"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: "停產" }