$product = {"id":7408078028899,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - We are together","handle":"iphone-13-mini-mod-nx-printable-yb14","description":null,"published_at":"2024-06-11T16:30:48+08:00","created_at":"2024-05-03T11:55:07+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":41882424574051,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471135752291,"product_id":7408078028899,"position":7,"created_at":"2024-05-03T11:55:24+08:00","updated_at":"2024-05-03T11:55:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdffc88f010603159b76bcf9fe86aac1691b9a23_3b701fb6-2fe7-47c0-a2cb-8fd3ac669ba7.webp?v=1714708524","variant_ids":[41882424574051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23876041015395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdffc88f010603159b76bcf9fe86aac1691b9a23_3b701fb6-2fe7-47c0-a2cb-8fd3ac669ba7.webp?v=1714708524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882424737891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471136145507,"product_id":7408078028899,"position":8,"created_at":"2024-05-03T11:55:27+08:00","updated_at":"2024-05-03T11:55:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8897a2a230a4523115e13cd65a893adfabb1caf6_16cef92a-626c-4e62-85a7-1ed75fa92c59.webp?v=1714708527","variant_ids":[41882424737891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23876041375843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8897a2a230a4523115e13cd65a893adfabb1caf6_16cef92a-626c-4e62-85a7-1ed75fa92c59.webp?v=1714708527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882425131107,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471135555683,"product_id":7408078028899,"position":6,"created_at":"2024-05-03T11:55:22+08:00","updated_at":"2024-05-03T11:55:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e37f98938314a4e54018e2f5d45ad4452118cc_d4ad163a-33ee-4ffc-bac8-13e3d162e2f3.webp?v=1714708522","variant_ids":[41882425131107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23876040753251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e37f98938314a4e54018e2f5d45ad4452118cc_d4ad163a-33ee-4ffc-bac8-13e3d162e2f3.webp?v=1714708522"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb4c25d434fb1515b74d2c1ae9dc891f1e06bb1_3a411937-d7fa-42a1-a7a2-fd7963de363a.webp?v=1714708509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e582313ef35304aaf3e1f3e277e242ed1d2ca66e_70a14b03-4225-4662-b895-b4d7120317e2.webp?v=1714708512","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c964617194e98377454e9ddbae586efb3e82e3ec_2664c0d9-91a6-4fd3-a673-4a9403686136.webp?v=1714708514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec40ece73e6a71db0ba8474b02cc757bde9ccb65_69a99d0a-b750-449f-8d64-8249bfbceaf6.webp?v=1714708517","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a7ee403a98b199df16d85c77913e92a0cf47322_ad39c70a-ed8a-489b-a4c0-8ff2809730ad.webp?v=1714708519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e37f98938314a4e54018e2f5d45ad4452118cc_d4ad163a-33ee-4ffc-bac8-13e3d162e2f3.webp?v=1714708522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdffc88f010603159b76bcf9fe86aac1691b9a23_3b701fb6-2fe7-47c0-a2cb-8fd3ac669ba7.webp?v=1714708524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8897a2a230a4523115e13cd65a893adfabb1caf6_16cef92a-626c-4e62-85a7-1ed75fa92c59.webp?v=1714708527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b2eb67680fa066802f944d2610b711b2c3aa5ae_5e960b55-fc34-4e77-8a25-b322d207e7c5.webp?v=1714708531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/199ee73faea3e727e7508dbba3e59349e159b169_f6481154-fd97-4284-a8c1-981e4254516a.webp?v=1714708533"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb4c25d434fb1515b74d2c1ae9dc891f1e06bb1_3a411937-d7fa-42a1-a7a2-fd7963de363a.webp?v=1714708509","options":["color"],"media":[{"alt":null,"id":23876038328419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb4c25d434fb1515b74d2c1ae9dc891f1e06bb1_3a411937-d7fa-42a1-a7a2-fd7963de363a.webp?v=1714708509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb4c25d434fb1515b74d2c1ae9dc891f1e06bb1_3a411937-d7fa-42a1-a7a2-fd7963de363a.webp?v=1714708509","width":2000},{"alt":null,"id":23876038983779,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e582313ef35304aaf3e1f3e277e242ed1d2ca66e_70a14b03-4225-4662-b895-b4d7120317e2.webp?v=1714708512"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e582313ef35304aaf3e1f3e277e242ed1d2ca66e_70a14b03-4225-4662-b895-b4d7120317e2.webp?v=1714708512","width":2000},{"alt":null,"id":23876039376995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c964617194e98377454e9ddbae586efb3e82e3ec_2664c0d9-91a6-4fd3-a673-4a9403686136.webp?v=1714708514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c964617194e98377454e9ddbae586efb3e82e3ec_2664c0d9-91a6-4fd3-a673-4a9403686136.webp?v=1714708514","width":2000},{"alt":null,"id":23876039901283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec40ece73e6a71db0ba8474b02cc757bde9ccb65_69a99d0a-b750-449f-8d64-8249bfbceaf6.webp?v=1714708517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec40ece73e6a71db0ba8474b02cc757bde9ccb65_69a99d0a-b750-449f-8d64-8249bfbceaf6.webp?v=1714708517","width":2000},{"alt":null,"id":23876040327267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a7ee403a98b199df16d85c77913e92a0cf47322_ad39c70a-ed8a-489b-a4c0-8ff2809730ad.webp?v=1714708519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a7ee403a98b199df16d85c77913e92a0cf47322_ad39c70a-ed8a-489b-a4c0-8ff2809730ad.webp?v=1714708519","width":2000},{"alt":null,"id":23876040753251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e37f98938314a4e54018e2f5d45ad4452118cc_d4ad163a-33ee-4ffc-bac8-13e3d162e2f3.webp?v=1714708522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e37f98938314a4e54018e2f5d45ad4452118cc_d4ad163a-33ee-4ffc-bac8-13e3d162e2f3.webp?v=1714708522","width":2000},{"alt":null,"id":23876041015395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdffc88f010603159b76bcf9fe86aac1691b9a23_3b701fb6-2fe7-47c0-a2cb-8fd3ac669ba7.webp?v=1714708524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdffc88f010603159b76bcf9fe86aac1691b9a23_3b701fb6-2fe7-47c0-a2cb-8fd3ac669ba7.webp?v=1714708524","width":2000},{"alt":null,"id":23876041375843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8897a2a230a4523115e13cd65a893adfabb1caf6_16cef92a-626c-4e62-85a7-1ed75fa92c59.webp?v=1714708527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8897a2a230a4523115e13cd65a893adfabb1caf6_16cef92a-626c-4e62-85a7-1ed75fa92c59.webp?v=1714708527","width":2000},{"alt":null,"id":23876042686563,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b2eb67680fa066802f944d2610b711b2c3aa5ae_5e960b55-fc34-4e77-8a25-b322d207e7c5.webp?v=1714708531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b2eb67680fa066802f944d2610b711b2c3aa5ae_5e960b55-fc34-4e77-8a25-b322d207e7c5.webp?v=1714708531","width":2000},{"alt":null,"id":23876043047011,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/199ee73faea3e727e7508dbba3e59349e159b169_f6481154-fd97-4284-a8c1-981e4254516a.webp?v=1714708533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/199ee73faea3e727e7508dbba3e59349e159b169_f6481154-fd97-4284-a8c1-981e4254516a.webp?v=1714708533","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882424574051,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471135752291,"product_id":7408078028899,"position":7,"created_at":"2024-05-03T11:55:24+08:00","updated_at":"2024-05-03T11:55:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdffc88f010603159b76bcf9fe86aac1691b9a23_3b701fb6-2fe7-47c0-a2cb-8fd3ac669ba7.webp?v=1714708524","variant_ids":[41882424574051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23876041015395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdffc88f010603159b76bcf9fe86aac1691b9a23_3b701fb6-2fe7-47c0-a2cb-8fd3ac669ba7.webp?v=1714708524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882424737891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471136145507,"product_id":7408078028899,"position":8,"created_at":"2024-05-03T11:55:27+08:00","updated_at":"2024-05-03T11:55:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8897a2a230a4523115e13cd65a893adfabb1caf6_16cef92a-626c-4e62-85a7-1ed75fa92c59.webp?v=1714708527","variant_ids":[41882424737891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23876041375843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8897a2a230a4523115e13cd65a893adfabb1caf6_16cef92a-626c-4e62-85a7-1ed75fa92c59.webp?v=1714708527"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882425131107,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471135555683,"product_id":7408078028899,"position":6,"created_at":"2024-05-03T11:55:22+08:00","updated_at":"2024-05-03T11:55:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e37f98938314a4e54018e2f5d45ad4452118cc_d4ad163a-33ee-4ffc-bac8-13e3d162e2f3.webp?v=1714708522","variant_ids":[41882425131107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23876040753251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e37f98938314a4e54018e2f5d45ad4452118cc_d4ad163a-33ee-4ffc-bac8-13e3d162e2f3.webp?v=1714708522"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882424574051,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471135752291,"product_id":7408078028899,"position":7,"created_at":"2024-05-03T11:55:24+08:00","updated_at":"2024-05-03T11:55:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdffc88f010603159b76bcf9fe86aac1691b9a23_3b701fb6-2fe7-47c0-a2cb-8fd3ac669ba7.webp?v=1714708524","variant_ids":[41882424574051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23876041015395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdffc88f010603159b76bcf9fe86aac1691b9a23_3b701fb6-2fe7-47c0-a2cb-8fd3ac669ba7.webp?v=1714708524"}},"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: "停產" }