$product = {"id":7408115843171,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Batman - 高譚守護者","handle":"iphone-13-mini-mod-nx-printable-sb20","description":null,"published_at":"2024-06-11T16:31:49+08:00","created_at":"2024-05-03T12:03:09+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":41882859602019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31471235104867,"product_id":7408115843171,"position":7,"created_at":"2024-05-03T12:03:26+08:00","updated_at":"2024-05-03T12:03:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc14b72a25ded11a2e2e3e976681a4125533ea4_e4abb03e-52c5-4f9c-9939-e7287905cc5a.webp?v=1714709006","variant_ids":[41882859602019]},"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-SB20","featured_media":{"alt":null,"id":23876140466275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc14b72a25ded11a2e2e3e976681a4125533ea4_e4abb03e-52c5-4f9c-9939-e7287905cc5a.webp?v=1714709006"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882859667555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31471233826915,"product_id":7408115843171,"position":4,"created_at":"2024-05-03T12:03:19+08:00","updated_at":"2024-05-03T12:03:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957a62f53c0d352d6de77a852540eb74423bb6e1_a045e412-dbdf-4f58-958c-3f3e4eff4cfc.webp?v=1714708999","variant_ids":[41882859667555]},"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-SB20","featured_media":{"alt":null,"id":23876139155555,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957a62f53c0d352d6de77a852540eb74423bb6e1_a045e412-dbdf-4f58-958c-3f3e4eff4cfc.webp?v=1714708999"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882860093539,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31471234744419,"product_id":7408115843171,"position":6,"created_at":"2024-05-03T12:03:24+08:00","updated_at":"2024-05-03T12:03:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28378e45bc603b2d27ec1743a3e6e82163358c08_a79d3ddb-34c8-4172-a267-3ba67ef3c634.webp?v=1714709004","variant_ids":[41882860093539]},"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-SB20","featured_media":{"alt":null,"id":23876140073059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28378e45bc603b2d27ec1743a3e6e82163358c08_a79d3ddb-34c8-4172-a267-3ba67ef3c634.webp?v=1714709004"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36ae1938cf1afd90f377a9e43716f8d04fce195e_699ca506-ee85-4ee0-89a9-1fc387c30c11.webp?v=1714708991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe09de83f221df1525bacdcd8eaa45f0a30b7f5d_e277da09-f272-4c7c-81f5-491213c05a98.webp?v=1714708994","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46e3be72631fc4cfe4be1aa344d636aef1e927fb_35624d51-8898-4af3-a6a2-8e5853b5fd21.webp?v=1714708996","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957a62f53c0d352d6de77a852540eb74423bb6e1_a045e412-dbdf-4f58-958c-3f3e4eff4cfc.webp?v=1714708999","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdde5eef682491396e3d982b8ec1de31bc8558e6_d065230a-a2dd-4513-841d-22e56e9c8a97.webp?v=1714709001","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28378e45bc603b2d27ec1743a3e6e82163358c08_a79d3ddb-34c8-4172-a267-3ba67ef3c634.webp?v=1714709004","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc14b72a25ded11a2e2e3e976681a4125533ea4_e4abb03e-52c5-4f9c-9939-e7287905cc5a.webp?v=1714709006","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a26ad5d57e8b73127ee5a3baee6653f04d59cae_0b68485b-76a3-41e6-954e-4b42988ff1af.webp?v=1714709008","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bd0f2ea29f9b58adb76560bea2c7dbdf00a89d4_d3d53e79-949e-4d4a-b4eb-390a40dbbba6.webp?v=1714709011","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59f1066c2b654414c00662cd422511188bbb80e3_2c917eb4-da31-4028-8f45-31feb59cc961.webp?v=1714709013"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36ae1938cf1afd90f377a9e43716f8d04fce195e_699ca506-ee85-4ee0-89a9-1fc387c30c11.webp?v=1714708991","options":["color"],"media":[{"alt":null,"id":23876137156707,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36ae1938cf1afd90f377a9e43716f8d04fce195e_699ca506-ee85-4ee0-89a9-1fc387c30c11.webp?v=1714708991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36ae1938cf1afd90f377a9e43716f8d04fce195e_699ca506-ee85-4ee0-89a9-1fc387c30c11.webp?v=1714708991","width":2000},{"alt":null,"id":23876137680995,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe09de83f221df1525bacdcd8eaa45f0a30b7f5d_e277da09-f272-4c7c-81f5-491213c05a98.webp?v=1714708994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe09de83f221df1525bacdcd8eaa45f0a30b7f5d_e277da09-f272-4c7c-81f5-491213c05a98.webp?v=1714708994","width":2000},{"alt":null,"id":23876138106979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46e3be72631fc4cfe4be1aa344d636aef1e927fb_35624d51-8898-4af3-a6a2-8e5853b5fd21.webp?v=1714708996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46e3be72631fc4cfe4be1aa344d636aef1e927fb_35624d51-8898-4af3-a6a2-8e5853b5fd21.webp?v=1714708996","width":2000},{"alt":null,"id":23876139155555,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957a62f53c0d352d6de77a852540eb74423bb6e1_a045e412-dbdf-4f58-958c-3f3e4eff4cfc.webp?v=1714708999"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957a62f53c0d352d6de77a852540eb74423bb6e1_a045e412-dbdf-4f58-958c-3f3e4eff4cfc.webp?v=1714708999","width":2000},{"alt":null,"id":23876139679843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdde5eef682491396e3d982b8ec1de31bc8558e6_d065230a-a2dd-4513-841d-22e56e9c8a97.webp?v=1714709001"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdde5eef682491396e3d982b8ec1de31bc8558e6_d065230a-a2dd-4513-841d-22e56e9c8a97.webp?v=1714709001","width":2000},{"alt":null,"id":23876140073059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28378e45bc603b2d27ec1743a3e6e82163358c08_a79d3ddb-34c8-4172-a267-3ba67ef3c634.webp?v=1714709004"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28378e45bc603b2d27ec1743a3e6e82163358c08_a79d3ddb-34c8-4172-a267-3ba67ef3c634.webp?v=1714709004","width":2000},{"alt":null,"id":23876140466275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc14b72a25ded11a2e2e3e976681a4125533ea4_e4abb03e-52c5-4f9c-9939-e7287905cc5a.webp?v=1714709006"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc14b72a25ded11a2e2e3e976681a4125533ea4_e4abb03e-52c5-4f9c-9939-e7287905cc5a.webp?v=1714709006","width":2000},{"alt":null,"id":23876140957795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a26ad5d57e8b73127ee5a3baee6653f04d59cae_0b68485b-76a3-41e6-954e-4b42988ff1af.webp?v=1714709008"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a26ad5d57e8b73127ee5a3baee6653f04d59cae_0b68485b-76a3-41e6-954e-4b42988ff1af.webp?v=1714709008","width":2000},{"alt":null,"id":23876141318243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bd0f2ea29f9b58adb76560bea2c7dbdf00a89d4_d3d53e79-949e-4d4a-b4eb-390a40dbbba6.webp?v=1714709011"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bd0f2ea29f9b58adb76560bea2c7dbdf00a89d4_d3d53e79-949e-4d4a-b4eb-390a40dbbba6.webp?v=1714709011","width":2000},{"alt":null,"id":23876142104675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59f1066c2b654414c00662cd422511188bbb80e3_2c917eb4-da31-4028-8f45-31feb59cc961.webp?v=1714709013"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59f1066c2b654414c00662cd422511188bbb80e3_2c917eb4-da31-4028-8f45-31feb59cc961.webp?v=1714709013","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882859602019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31471235104867,"product_id":7408115843171,"position":7,"created_at":"2024-05-03T12:03:26+08:00","updated_at":"2024-05-03T12:03:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc14b72a25ded11a2e2e3e976681a4125533ea4_e4abb03e-52c5-4f9c-9939-e7287905cc5a.webp?v=1714709006","variant_ids":[41882859602019]},"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-SB20","featured_media":{"alt":null,"id":23876140466275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc14b72a25ded11a2e2e3e976681a4125533ea4_e4abb03e-52c5-4f9c-9939-e7287905cc5a.webp?v=1714709006"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882859667555,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31471233826915,"product_id":7408115843171,"position":4,"created_at":"2024-05-03T12:03:19+08:00","updated_at":"2024-05-03T12:03:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957a62f53c0d352d6de77a852540eb74423bb6e1_a045e412-dbdf-4f58-958c-3f3e4eff4cfc.webp?v=1714708999","variant_ids":[41882859667555]},"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-SB20","featured_media":{"alt":null,"id":23876139155555,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957a62f53c0d352d6de77a852540eb74423bb6e1_a045e412-dbdf-4f58-958c-3f3e4eff4cfc.webp?v=1714708999"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882860093539,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31471234744419,"product_id":7408115843171,"position":6,"created_at":"2024-05-03T12:03:24+08:00","updated_at":"2024-05-03T12:03:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28378e45bc603b2d27ec1743a3e6e82163358c08_a79d3ddb-34c8-4172-a267-3ba67ef3c634.webp?v=1714709004","variant_ids":[41882860093539]},"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-SB20","featured_media":{"alt":null,"id":23876140073059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28378e45bc603b2d27ec1743a3e6e82163358c08_a79d3ddb-34c8-4172-a267-3ba67ef3c634.webp?v=1714709004"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882859602019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-SB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31471235104867,"product_id":7408115843171,"position":7,"created_at":"2024-05-03T12:03:26+08:00","updated_at":"2024-05-03T12:03:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc14b72a25ded11a2e2e3e976681a4125533ea4_e4abb03e-52c5-4f9c-9939-e7287905cc5a.webp?v=1714709006","variant_ids":[41882859602019]},"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-SB20","featured_media":{"alt":null,"id":23876140466275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdc14b72a25ded11a2e2e3e976681a4125533ea4_e4abb03e-52c5-4f9c-9939-e7287905cc5a.webp?v=1714709006"}},"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: "停產" }