$product = {"id":7408144613475,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 復古漫畫插圖","handle":"iphone-13-mini-mod-nx-printable-sb08","description":null,"published_at":"2024-06-11T16:32:35+08:00","created_at":"2024-05-03T12:08:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-batman","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41883173486691,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471308013667,"product_id":7408144613475,"position":4,"created_at":"2024-05-03T12:08:50+08:00","updated_at":"2024-05-03T12:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88809e6e5f964f8a73e9e1bd74b464cb92f96557_9ff341c3-4218-49d9-ab25-e86e276474b4.webp?v=1714709330","variant_ids":[41883173486691]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 復古漫畫插圖 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-SB08","featured_media":{"alt":null,"id":23876213637219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88809e6e5f964f8a73e9e1bd74b464cb92f96557_9ff341c3-4218-49d9-ab25-e86e276474b4.webp?v=1714709330"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883173552227,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471307620451,"product_id":7408144613475,"position":3,"created_at":"2024-05-03T12:08:47+08:00","updated_at":"2024-05-03T12:08:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc7256649d83cbe447dd3c4690543c7238d19393_cfdfbe50-7029-4a99-82ef-6e40f4515026.webp?v=1714709327","variant_ids":[41883173552227]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 復古漫畫插圖 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-SB08","featured_media":{"alt":null,"id":23876213244003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc7256649d83cbe447dd3c4690543c7238d19393_cfdfbe50-7029-4a99-82ef-6e40f4515026.webp?v=1714709327"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883173781603,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471308406883,"product_id":7408144613475,"position":5,"created_at":"2024-05-03T12:08:52+08:00","updated_at":"2024-05-03T12:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b8f316687c13efaa8cc728af7dfa6b3690b01e_96384977-0bb4-41c7-948d-bcdac9bf52c1.webp?v=1714709332","variant_ids":[41883173781603]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 復古漫畫插圖 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-SB08","featured_media":{"alt":null,"id":23876214030435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b8f316687c13efaa8cc728af7dfa6b3690b01e_96384977-0bb4-41c7-948d-bcdac9bf52c1.webp?v=1714709332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce2cf332068f5853384f678b187917d62d22c8fb_e971785c-b288-4858-891e-9fd6e956f35b.webp?v=1714709323","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986293ed8dee8a9bc114419164229ec644399186_341252c8-55dc-43d9-8a06-dded908aa9cc.webp?v=1714709325","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc7256649d83cbe447dd3c4690543c7238d19393_cfdfbe50-7029-4a99-82ef-6e40f4515026.webp?v=1714709327","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88809e6e5f964f8a73e9e1bd74b464cb92f96557_9ff341c3-4218-49d9-ab25-e86e276474b4.webp?v=1714709330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b8f316687c13efaa8cc728af7dfa6b3690b01e_96384977-0bb4-41c7-948d-bcdac9bf52c1.webp?v=1714709332","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7090c8fef582943f25b758b597c528f5ad2231a2_903fb065-deeb-4d4d-a6df-5db76fd2d3d7.webp?v=1714709334","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0726dd28bbe80198e105635a924fff788335f1a9_63bc979a-9cd4-487a-ab94-fcb5b69766e4.webp?v=1714709337","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02f0a234f0a7f931f001d9813b64f6a1be36a9e3_f4bc1a52-5f37-4eeb-9b4c-2be96fa444ac.webp?v=1714709339","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ad6247b2ad07c2e8ecf7e192262e4832487598_3bf64d11-c185-4509-b121-55ae97dfbbcd.webp?v=1714709341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e37f012dd206be6620dd60f7a0109b239231890_32da5e20-b55e-4312-b282-bfa060eac3b8.webp?v=1714709344"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce2cf332068f5853384f678b187917d62d22c8fb_e971785c-b288-4858-891e-9fd6e956f35b.webp?v=1714709323","options":["color"],"media":[{"alt":null,"id":23876212326499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce2cf332068f5853384f678b187917d62d22c8fb_e971785c-b288-4858-891e-9fd6e956f35b.webp?v=1714709323"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce2cf332068f5853384f678b187917d62d22c8fb_e971785c-b288-4858-891e-9fd6e956f35b.webp?v=1714709323","width":2000},{"alt":null,"id":23876212752483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986293ed8dee8a9bc114419164229ec644399186_341252c8-55dc-43d9-8a06-dded908aa9cc.webp?v=1714709325"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/986293ed8dee8a9bc114419164229ec644399186_341252c8-55dc-43d9-8a06-dded908aa9cc.webp?v=1714709325","width":2000},{"alt":null,"id":23876213244003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc7256649d83cbe447dd3c4690543c7238d19393_cfdfbe50-7029-4a99-82ef-6e40f4515026.webp?v=1714709327"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc7256649d83cbe447dd3c4690543c7238d19393_cfdfbe50-7029-4a99-82ef-6e40f4515026.webp?v=1714709327","width":2000},{"alt":null,"id":23876213637219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88809e6e5f964f8a73e9e1bd74b464cb92f96557_9ff341c3-4218-49d9-ab25-e86e276474b4.webp?v=1714709330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88809e6e5f964f8a73e9e1bd74b464cb92f96557_9ff341c3-4218-49d9-ab25-e86e276474b4.webp?v=1714709330","width":2000},{"alt":null,"id":23876214030435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b8f316687c13efaa8cc728af7dfa6b3690b01e_96384977-0bb4-41c7-948d-bcdac9bf52c1.webp?v=1714709332"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b8f316687c13efaa8cc728af7dfa6b3690b01e_96384977-0bb4-41c7-948d-bcdac9bf52c1.webp?v=1714709332","width":2000},{"alt":null,"id":23876214784099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7090c8fef582943f25b758b597c528f5ad2231a2_903fb065-deeb-4d4d-a6df-5db76fd2d3d7.webp?v=1714709334"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7090c8fef582943f25b758b597c528f5ad2231a2_903fb065-deeb-4d4d-a6df-5db76fd2d3d7.webp?v=1714709334","width":2000},{"alt":null,"id":23876215373923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0726dd28bbe80198e105635a924fff788335f1a9_63bc979a-9cd4-487a-ab94-fcb5b69766e4.webp?v=1714709337"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0726dd28bbe80198e105635a924fff788335f1a9_63bc979a-9cd4-487a-ab94-fcb5b69766e4.webp?v=1714709337","width":2000},{"alt":null,"id":23876215865443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02f0a234f0a7f931f001d9813b64f6a1be36a9e3_f4bc1a52-5f37-4eeb-9b4c-2be96fa444ac.webp?v=1714709339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02f0a234f0a7f931f001d9813b64f6a1be36a9e3_f4bc1a52-5f37-4eeb-9b4c-2be96fa444ac.webp?v=1714709339","width":2000},{"alt":null,"id":23876216488035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ad6247b2ad07c2e8ecf7e192262e4832487598_3bf64d11-c185-4509-b121-55ae97dfbbcd.webp?v=1714709341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70ad6247b2ad07c2e8ecf7e192262e4832487598_3bf64d11-c185-4509-b121-55ae97dfbbcd.webp?v=1714709341","width":2000},{"alt":null,"id":23876216979555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e37f012dd206be6620dd60f7a0109b239231890_32da5e20-b55e-4312-b282-bfa060eac3b8.webp?v=1714709344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e37f012dd206be6620dd60f7a0109b239231890_32da5e20-b55e-4312-b282-bfa060eac3b8.webp?v=1714709344","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41883173486691,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471308013667,"product_id":7408144613475,"position":4,"created_at":"2024-05-03T12:08:50+08:00","updated_at":"2024-05-03T12:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88809e6e5f964f8a73e9e1bd74b464cb92f96557_9ff341c3-4218-49d9-ab25-e86e276474b4.webp?v=1714709330","variant_ids":[41883173486691]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 復古漫畫插圖 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-SB08","featured_media":{"alt":null,"id":23876213637219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88809e6e5f964f8a73e9e1bd74b464cb92f96557_9ff341c3-4218-49d9-ab25-e86e276474b4.webp?v=1714709330"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883173552227,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471307620451,"product_id":7408144613475,"position":3,"created_at":"2024-05-03T12:08:47+08:00","updated_at":"2024-05-03T12:08:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc7256649d83cbe447dd3c4690543c7238d19393_cfdfbe50-7029-4a99-82ef-6e40f4515026.webp?v=1714709327","variant_ids":[41883173552227]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 復古漫畫插圖 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-SB08","featured_media":{"alt":null,"id":23876213244003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc7256649d83cbe447dd3c4690543c7238d19393_cfdfbe50-7029-4a99-82ef-6e40f4515026.webp?v=1714709327"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883173781603,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471308406883,"product_id":7408144613475,"position":5,"created_at":"2024-05-03T12:08:52+08:00","updated_at":"2024-05-03T12:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b8f316687c13efaa8cc728af7dfa6b3690b01e_96384977-0bb4-41c7-948d-bcdac9bf52c1.webp?v=1714709332","variant_ids":[41883173781603]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 復古漫畫插圖 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-SB08","featured_media":{"alt":null,"id":23876214030435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62b8f316687c13efaa8cc728af7dfa6b3690b01e_96384977-0bb4-41c7-948d-bcdac9bf52c1.webp?v=1714709332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883173486691,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-SB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31471308013667,"product_id":7408144613475,"position":4,"created_at":"2024-05-03T12:08:50+08:00","updated_at":"2024-05-03T12:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88809e6e5f964f8a73e9e1bd74b464cb92f96557_9ff341c3-4218-49d9-ab25-e86e276474b4.webp?v=1714709330","variant_ids":[41883173486691]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 復古漫畫插圖 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-SB08","featured_media":{"alt":null,"id":23876213637219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88809e6e5f964f8a73e9e1bd74b464cb92f96557_9ff341c3-4218-49d9-ab25-e86e276474b4.webp?v=1714709330"}},"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: "停產" }