$product = {"id":7411261112419,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Logo","handle":"iphone-14-pro-mod-nx-magsafe-printable-sb16","description":null,"published_at":"2024-06-11T17:40:11+08:00","created_at":"2024-05-04T23:55:39+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":41896670068835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31479989010531,"product_id":7411261112419,"position":10,"created_at":"2024-05-04T23:56:12+08:00","updated_at":"2024-05-04T23:56:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983f4b90071953f38b2f1c31d58095f4eb217e0_9eee7e92-a903-42ef-88f1-47601941746e.webp?v=1714838172","variant_ids":[41896670068835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Logo - 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-SB16","featured_media":{"alt":null,"id":23885239517283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983f4b90071953f38b2f1c31d58095f4eb217e0_9eee7e92-a903-42ef-88f1-47601941746e.webp?v=1714838172"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896670134371,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31479983407203,"product_id":7411261112419,"position":1,"created_at":"2024-05-04T23:55:41+08:00","updated_at":"2024-05-04T23:55:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9012fa516c651f458dd9e9aa38c6e28425748179_810c4189-9879-4064-ac95-31b614412ece.webp?v=1714838141","variant_ids":[41896670134371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Logo - 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-SB16","featured_media":{"alt":null,"id":23885233848419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9012fa516c651f458dd9e9aa38c6e28425748179_810c4189-9879-4064-ac95-31b614412ece.webp?v=1714838141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896670363747,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31479988519011,"product_id":7411261112419,"position":9,"created_at":"2024-05-04T23:56:10+08:00","updated_at":"2024-05-04T23:56:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8276c15b0fe0ac9e7c1a6b47635a1f5f2420e089_8f173c2c-b265-4bae-a703-ce8bf79ba296.webp?v=1714838170","variant_ids":[41896670363747]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Logo - 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-SB16","featured_media":{"alt":null,"id":23885239058531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8276c15b0fe0ac9e7c1a6b47635a1f5f2420e089_8f173c2c-b265-4bae-a703-ce8bf79ba296.webp?v=1714838170"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9012fa516c651f458dd9e9aa38c6e28425748179_810c4189-9879-4064-ac95-31b614412ece.webp?v=1714838141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1d1792e14ec39e701ae0b32535012e9aeb2f017_f19c2c02-9cb7-41c8-a498-c9ad3d3e7ebb.webp?v=1714838144","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85e91dcbfd139f56a43ace6bd5d7f8276dc52dd9_2937f59f-4fcf-46fd-9db7-804180161ae3.webp?v=1714838146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e4c3dadedca5e7aee4f68fdea028023212290d_2d4a1963-b24a-4461-b877-f896543d6b02.webp?v=1714838148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a943df43cfbfe9bcc5d5d6f5a1a3ecd231facd72_16313f81-3d5f-4e4d-844e-c28e30c5358c.webp?v=1714838161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/930b6e8e9f0fe7bed6abd1755f28996276c8f56c_5b1a6272-233a-4ae4-b395-abd147cab028.webp?v=1714838163","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d088df524c3b29d17d6a52221b68f4b0a33c5511_ac52ab21-0281-49a6-b669-0377d57ecdc6.webp?v=1714838166","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/332ecefeac284ba03837337d6b1587e57c26bdbb_be34a4a9-99d0-4343-8019-2ba7404fdcee.webp?v=1714838168","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8276c15b0fe0ac9e7c1a6b47635a1f5f2420e089_8f173c2c-b265-4bae-a703-ce8bf79ba296.webp?v=1714838170","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983f4b90071953f38b2f1c31d58095f4eb217e0_9eee7e92-a903-42ef-88f1-47601941746e.webp?v=1714838172"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9012fa516c651f458dd9e9aa38c6e28425748179_810c4189-9879-4064-ac95-31b614412ece.webp?v=1714838141","options":["color"],"media":[{"alt":null,"id":23885233848419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9012fa516c651f458dd9e9aa38c6e28425748179_810c4189-9879-4064-ac95-31b614412ece.webp?v=1714838141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9012fa516c651f458dd9e9aa38c6e28425748179_810c4189-9879-4064-ac95-31b614412ece.webp?v=1714838141","width":2000},{"alt":null,"id":23885234274403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1d1792e14ec39e701ae0b32535012e9aeb2f017_f19c2c02-9cb7-41c8-a498-c9ad3d3e7ebb.webp?v=1714838144"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1d1792e14ec39e701ae0b32535012e9aeb2f017_f19c2c02-9cb7-41c8-a498-c9ad3d3e7ebb.webp?v=1714838144","width":2000},{"alt":null,"id":23885234765923,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85e91dcbfd139f56a43ace6bd5d7f8276dc52dd9_2937f59f-4fcf-46fd-9db7-804180161ae3.webp?v=1714838146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85e91dcbfd139f56a43ace6bd5d7f8276dc52dd9_2937f59f-4fcf-46fd-9db7-804180161ae3.webp?v=1714838146","width":2000},{"alt":null,"id":23885235257443,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e4c3dadedca5e7aee4f68fdea028023212290d_2d4a1963-b24a-4461-b877-f896543d6b02.webp?v=1714838148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43e4c3dadedca5e7aee4f68fdea028023212290d_2d4a1963-b24a-4461-b877-f896543d6b02.webp?v=1714838148","width":2000},{"alt":null,"id":23885237223523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a943df43cfbfe9bcc5d5d6f5a1a3ecd231facd72_16313f81-3d5f-4e4d-844e-c28e30c5358c.webp?v=1714838161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a943df43cfbfe9bcc5d5d6f5a1a3ecd231facd72_16313f81-3d5f-4e4d-844e-c28e30c5358c.webp?v=1714838161","width":2000},{"alt":null,"id":23885237715043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/930b6e8e9f0fe7bed6abd1755f28996276c8f56c_5b1a6272-233a-4ae4-b395-abd147cab028.webp?v=1714838163"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/930b6e8e9f0fe7bed6abd1755f28996276c8f56c_5b1a6272-233a-4ae4-b395-abd147cab028.webp?v=1714838163","width":2000},{"alt":null,"id":23885238042723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d088df524c3b29d17d6a52221b68f4b0a33c5511_ac52ab21-0281-49a6-b669-0377d57ecdc6.webp?v=1714838166"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d088df524c3b29d17d6a52221b68f4b0a33c5511_ac52ab21-0281-49a6-b669-0377d57ecdc6.webp?v=1714838166","width":2000},{"alt":null,"id":23885238632547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/332ecefeac284ba03837337d6b1587e57c26bdbb_be34a4a9-99d0-4343-8019-2ba7404fdcee.webp?v=1714838168"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/332ecefeac284ba03837337d6b1587e57c26bdbb_be34a4a9-99d0-4343-8019-2ba7404fdcee.webp?v=1714838168","width":2000},{"alt":null,"id":23885239058531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8276c15b0fe0ac9e7c1a6b47635a1f5f2420e089_8f173c2c-b265-4bae-a703-ce8bf79ba296.webp?v=1714838170"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8276c15b0fe0ac9e7c1a6b47635a1f5f2420e089_8f173c2c-b265-4bae-a703-ce8bf79ba296.webp?v=1714838170","width":2000},{"alt":null,"id":23885239517283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983f4b90071953f38b2f1c31d58095f4eb217e0_9eee7e92-a903-42ef-88f1-47601941746e.webp?v=1714838172"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983f4b90071953f38b2f1c31d58095f4eb217e0_9eee7e92-a903-42ef-88f1-47601941746e.webp?v=1714838172","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41896670068835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31479989010531,"product_id":7411261112419,"position":10,"created_at":"2024-05-04T23:56:12+08:00","updated_at":"2024-05-04T23:56:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983f4b90071953f38b2f1c31d58095f4eb217e0_9eee7e92-a903-42ef-88f1-47601941746e.webp?v=1714838172","variant_ids":[41896670068835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Logo - 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-SB16","featured_media":{"alt":null,"id":23885239517283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983f4b90071953f38b2f1c31d58095f4eb217e0_9eee7e92-a903-42ef-88f1-47601941746e.webp?v=1714838172"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896670134371,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31479983407203,"product_id":7411261112419,"position":1,"created_at":"2024-05-04T23:55:41+08:00","updated_at":"2024-05-04T23:55:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9012fa516c651f458dd9e9aa38c6e28425748179_810c4189-9879-4064-ac95-31b614412ece.webp?v=1714838141","variant_ids":[41896670134371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Logo - 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-SB16","featured_media":{"alt":null,"id":23885233848419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9012fa516c651f458dd9e9aa38c6e28425748179_810c4189-9879-4064-ac95-31b614412ece.webp?v=1714838141"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896670363747,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31479988519011,"product_id":7411261112419,"position":9,"created_at":"2024-05-04T23:56:10+08:00","updated_at":"2024-05-04T23:56:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8276c15b0fe0ac9e7c1a6b47635a1f5f2420e089_8f173c2c-b265-4bae-a703-ce8bf79ba296.webp?v=1714838170","variant_ids":[41896670363747]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Logo - 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-SB16","featured_media":{"alt":null,"id":23885239058531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8276c15b0fe0ac9e7c1a6b47635a1f5f2420e089_8f173c2c-b265-4bae-a703-ce8bf79ba296.webp?v=1714838170"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896670068835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31479989010531,"product_id":7411261112419,"position":10,"created_at":"2024-05-04T23:56:12+08:00","updated_at":"2024-05-04T23:56:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983f4b90071953f38b2f1c31d58095f4eb217e0_9eee7e92-a903-42ef-88f1-47601941746e.webp?v=1714838172","variant_ids":[41896670068835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - Logo - 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-SB16","featured_media":{"alt":null,"id":23885239517283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b983f4b90071953f38b2f1c31d58095f4eb217e0_9eee7e92-a903-42ef-88f1-47601941746e.webp?v=1714838172"}},"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: "停產" }