$product = {"id":7408197664867,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Funshine Bear","handle":"iphone-13-mini-mod-nx-printable-yb06","description":null,"published_at":"2024-06-11T16:34:01+08:00","created_at":"2024-05-03T12:19:00+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-carebears","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":41883755839587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471447572579,"product_id":7408197664867,"position":4,"created_at":"2024-05-03T12:19:09+08:00","updated_at":"2024-05-03T12:19:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28485bab12ea308eeab514f9d10902069bb7564_a51d471a-5a71-4384-bba2-97352658621e.webp?v=1714709949","variant_ids":[41883755839587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Funshine Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YB06","featured_media":{"alt":null,"id":23876353949795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28485bab12ea308eeab514f9d10902069bb7564_a51d471a-5a71-4384-bba2-97352658621e.webp?v=1714709949"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883755970659,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471448162403,"product_id":7408197664867,"position":5,"created_at":"2024-05-03T12:19:12+08:00","updated_at":"2024-05-03T12:19:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df52433169b831f455e7d3280bfa7a2db8ab5129_23c75d58-db56-4c05-a269-a1d19798f5fd.webp?v=1714709952","variant_ids":[41883755970659]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Funshine Bear - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-YB06","featured_media":{"alt":null,"id":23876354506851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df52433169b831f455e7d3280bfa7a2db8ab5129_23c75d58-db56-4c05-a269-a1d19798f5fd.webp?v=1714709952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883756363875,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471448588387,"product_id":7408197664867,"position":6,"created_at":"2024-05-03T12:19:14+08:00","updated_at":"2024-05-03T12:19:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb2d805fb416fd6bbec4b07f39effde85d40cc0_b39280c1-9bbd-4217-93df-912c5f320b53.webp?v=1714709954","variant_ids":[41883756363875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Funshine Bear - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-YB06","featured_media":{"alt":null,"id":23876354932835,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb2d805fb416fd6bbec4b07f39effde85d40cc0_b39280c1-9bbd-4217-93df-912c5f320b53.webp?v=1714709954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0f00a7c8126aa1f2c2a54af598eb4a61d96faeb_25d849d1-65c9-4841-8b66-2705539b615a.webp?v=1714709942","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95c907c3934076879082d4637cafff84acbf446a_6b51fe52-b95e-4335-a586-b0b9103720d9.webp?v=1714709944","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108025f8c4f4c2c735b4bce9b5a0233d48f3c802_29747203-4658-4b43-abab-f399d25e56d3.webp?v=1714709947","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28485bab12ea308eeab514f9d10902069bb7564_a51d471a-5a71-4384-bba2-97352658621e.webp?v=1714709949","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df52433169b831f455e7d3280bfa7a2db8ab5129_23c75d58-db56-4c05-a269-a1d19798f5fd.webp?v=1714709952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb2d805fb416fd6bbec4b07f39effde85d40cc0_b39280c1-9bbd-4217-93df-912c5f320b53.webp?v=1714709954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718ddded00b6608f09c698322f14ca92f21a21e2_803f187f-0ca6-42fd-ad3f-d76829d9452d.webp?v=1714709956","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bacdabae5992ec7c1378426045cca7ad42240ca6_359f4696-e5d7-4c23-a34d-ca5abd0b369e.webp?v=1714709958","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eefb32be23655fa449d7697ea93ad2ed3c94e8cb_68d057c8-bfda-4f4f-8662-12aae8fb9da4.webp?v=1714709961","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a712694eb4668d8d59cd315b269c14047f1cff00_a072f131-9b7d-49b6-be8c-6bc53670a4e7.webp?v=1714709963"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0f00a7c8126aa1f2c2a54af598eb4a61d96faeb_25d849d1-65c9-4841-8b66-2705539b615a.webp?v=1714709942","options":["color"],"media":[{"alt":null,"id":23876352278627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0f00a7c8126aa1f2c2a54af598eb4a61d96faeb_25d849d1-65c9-4841-8b66-2705539b615a.webp?v=1714709942"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0f00a7c8126aa1f2c2a54af598eb4a61d96faeb_25d849d1-65c9-4841-8b66-2705539b615a.webp?v=1714709942","width":2000},{"alt":null,"id":23876352901219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95c907c3934076879082d4637cafff84acbf446a_6b51fe52-b95e-4335-a586-b0b9103720d9.webp?v=1714709944"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95c907c3934076879082d4637cafff84acbf446a_6b51fe52-b95e-4335-a586-b0b9103720d9.webp?v=1714709944","width":2000},{"alt":null,"id":23876353425507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108025f8c4f4c2c735b4bce9b5a0233d48f3c802_29747203-4658-4b43-abab-f399d25e56d3.webp?v=1714709947"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/108025f8c4f4c2c735b4bce9b5a0233d48f3c802_29747203-4658-4b43-abab-f399d25e56d3.webp?v=1714709947","width":2000},{"alt":null,"id":23876353949795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28485bab12ea308eeab514f9d10902069bb7564_a51d471a-5a71-4384-bba2-97352658621e.webp?v=1714709949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28485bab12ea308eeab514f9d10902069bb7564_a51d471a-5a71-4384-bba2-97352658621e.webp?v=1714709949","width":2000},{"alt":null,"id":23876354506851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df52433169b831f455e7d3280bfa7a2db8ab5129_23c75d58-db56-4c05-a269-a1d19798f5fd.webp?v=1714709952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df52433169b831f455e7d3280bfa7a2db8ab5129_23c75d58-db56-4c05-a269-a1d19798f5fd.webp?v=1714709952","width":2000},{"alt":null,"id":23876354932835,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb2d805fb416fd6bbec4b07f39effde85d40cc0_b39280c1-9bbd-4217-93df-912c5f320b53.webp?v=1714709954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb2d805fb416fd6bbec4b07f39effde85d40cc0_b39280c1-9bbd-4217-93df-912c5f320b53.webp?v=1714709954","width":2000},{"alt":null,"id":23876355424355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718ddded00b6608f09c698322f14ca92f21a21e2_803f187f-0ca6-42fd-ad3f-d76829d9452d.webp?v=1714709956"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/718ddded00b6608f09c698322f14ca92f21a21e2_803f187f-0ca6-42fd-ad3f-d76829d9452d.webp?v=1714709956","width":2000},{"alt":null,"id":23876356210787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bacdabae5992ec7c1378426045cca7ad42240ca6_359f4696-e5d7-4c23-a34d-ca5abd0b369e.webp?v=1714709958"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bacdabae5992ec7c1378426045cca7ad42240ca6_359f4696-e5d7-4c23-a34d-ca5abd0b369e.webp?v=1714709958","width":2000},{"alt":null,"id":23876356636771,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eefb32be23655fa449d7697ea93ad2ed3c94e8cb_68d057c8-bfda-4f4f-8662-12aae8fb9da4.webp?v=1714709961"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eefb32be23655fa449d7697ea93ad2ed3c94e8cb_68d057c8-bfda-4f4f-8662-12aae8fb9da4.webp?v=1714709961","width":2000},{"alt":null,"id":23876357062755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a712694eb4668d8d59cd315b269c14047f1cff00_a072f131-9b7d-49b6-be8c-6bc53670a4e7.webp?v=1714709963"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a712694eb4668d8d59cd315b269c14047f1cff00_a072f131-9b7d-49b6-be8c-6bc53670a4e7.webp?v=1714709963","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41883755839587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471447572579,"product_id":7408197664867,"position":4,"created_at":"2024-05-03T12:19:09+08:00","updated_at":"2024-05-03T12:19:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28485bab12ea308eeab514f9d10902069bb7564_a51d471a-5a71-4384-bba2-97352658621e.webp?v=1714709949","variant_ids":[41883755839587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Funshine Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YB06","featured_media":{"alt":null,"id":23876353949795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28485bab12ea308eeab514f9d10902069bb7564_a51d471a-5a71-4384-bba2-97352658621e.webp?v=1714709949"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883755970659,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471448162403,"product_id":7408197664867,"position":5,"created_at":"2024-05-03T12:19:12+08:00","updated_at":"2024-05-03T12:19:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df52433169b831f455e7d3280bfa7a2db8ab5129_23c75d58-db56-4c05-a269-a1d19798f5fd.webp?v=1714709952","variant_ids":[41883755970659]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Funshine Bear - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-YB06","featured_media":{"alt":null,"id":23876354506851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df52433169b831f455e7d3280bfa7a2db8ab5129_23c75d58-db56-4c05-a269-a1d19798f5fd.webp?v=1714709952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883756363875,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471448588387,"product_id":7408197664867,"position":6,"created_at":"2024-05-03T12:19:14+08:00","updated_at":"2024-05-03T12:19:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb2d805fb416fd6bbec4b07f39effde85d40cc0_b39280c1-9bbd-4217-93df-912c5f320b53.webp?v=1714709954","variant_ids":[41883756363875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Funshine Bear - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-YB06","featured_media":{"alt":null,"id":23876354932835,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb2d805fb416fd6bbec4b07f39effde85d40cc0_b39280c1-9bbd-4217-93df-912c5f320b53.webp?v=1714709954"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883755839587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471447572579,"product_id":7408197664867,"position":4,"created_at":"2024-05-03T12:19:09+08:00","updated_at":"2024-05-03T12:19:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28485bab12ea308eeab514f9d10902069bb7564_a51d471a-5a71-4384-bba2-97352658621e.webp?v=1714709949","variant_ids":[41883755839587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Funshine Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YB06","featured_media":{"alt":null,"id":23876353949795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28485bab12ea308eeab514f9d10902069bb7564_a51d471a-5a71-4384-bba2-97352658621e.webp?v=1714709949"}},"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: "停產" }