$product = {"id":7414317940835,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 抱一個","handle":"iphone-13-mini-mod-nx-magsafe-printable-yb01","description":null,"published_at":"2024-06-11T17:50:45+08:00","created_at":"2024-05-05T14:21:41+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-carebears","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":41905659183203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485158490211,"product_id":7414317940835,"position":8,"created_at":"2024-05-05T14:22:00+08:00","updated_at":"2024-05-05T14:22:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a75c250d5486b290228bb30942cd5d398339c76_0df42648-3a3c-47ec-85f5-8158e3c2d1f2.webp?v=1714890120","variant_ids":[41905659183203]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 抱一個 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-YB01","featured_media":{"alt":null,"id":23890473877603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a75c250d5486b290228bb30942cd5d398339c76_0df42648-3a3c-47ec-85f5-8158e3c2d1f2.webp?v=1714890120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905659248739,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485161046115,"product_id":7414317940835,"position":9,"created_at":"2024-05-05T14:22:02+08:00","updated_at":"2024-05-05T14:22:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bee86bae8fd8618fb89b36d4f466551dfd6ff18_0e188664-5cbe-489d-8ed4-69fc3c7849ff.webp?v=1714890122","variant_ids":[41905659248739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 抱一個 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-YB01","featured_media":{"alt":null,"id":23890476367971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bee86bae8fd8618fb89b36d4f466551dfd6ff18_0e188664-5cbe-489d-8ed4-69fc3c7849ff.webp?v=1714890122"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905659641955,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485146988643,"product_id":7414317940835,"position":3,"created_at":"2024-05-05T14:21:48+08:00","updated_at":"2024-05-05T14:21:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f0b9c78c4c07de9ed544903063d9f0a4118831_ebb4b568-25e5-406f-8996-4354dfc6c3c3.webp?v=1714890108","variant_ids":[41905659641955]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 抱一個 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-YB01","featured_media":{"alt":null,"id":23890462605411,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f0b9c78c4c07de9ed544903063d9f0a4118831_ebb4b568-25e5-406f-8996-4354dfc6c3c3.webp?v=1714890108"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c7a073d7f70713a98f56f3cc12dc932f12cd188_4cfa30ed-993f-41b9-a652-b0c659d3940b.webp?v=1714890103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8bcfae9eb175c1d5c1bc23b6b86faa5ee049afd_6406e778-f475-4295-8148-d8640c3ed57f.webp?v=1714890105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f0b9c78c4c07de9ed544903063d9f0a4118831_ebb4b568-25e5-406f-8996-4354dfc6c3c3.webp?v=1714890108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efcea073a8c23b3d6d72c09f8e65c6bafbba937a_d35dd9df-6061-4a22-a57f-b9fa0edf4759.webp?v=1714890110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a84ed534845d171eb59c6b51ea6b083b559c35ce_c5b8befe-3009-406b-9a36-1b812e91bd93.webp?v=1714890112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f85cb9aed703f21a98c87dc40ed2b2339ab382f0_9211bfa3-3b7c-4fc9-9f0b-7e2b9d90e01f.webp?v=1714890115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcb8142e8291518204c524fbb8109eef0307f6ae_81a36127-6c16-4a10-a53c-b4160e8d620a.webp?v=1714890117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a75c250d5486b290228bb30942cd5d398339c76_0df42648-3a3c-47ec-85f5-8158e3c2d1f2.webp?v=1714890120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bee86bae8fd8618fb89b36d4f466551dfd6ff18_0e188664-5cbe-489d-8ed4-69fc3c7849ff.webp?v=1714890122","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b80d5fe923d77adbe9ba8817584acb18454b6445_9c1994a1-0c56-4f44-9da4-d621ded94179.webp?v=1714890124"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c7a073d7f70713a98f56f3cc12dc932f12cd188_4cfa30ed-993f-41b9-a652-b0c659d3940b.webp?v=1714890103","options":["color"],"media":[{"alt":null,"id":23890458443875,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c7a073d7f70713a98f56f3cc12dc932f12cd188_4cfa30ed-993f-41b9-a652-b0c659d3940b.webp?v=1714890103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c7a073d7f70713a98f56f3cc12dc932f12cd188_4cfa30ed-993f-41b9-a652-b0c659d3940b.webp?v=1714890103","width":2000},{"alt":null,"id":23890460311651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8bcfae9eb175c1d5c1bc23b6b86faa5ee049afd_6406e778-f475-4295-8148-d8640c3ed57f.webp?v=1714890105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8bcfae9eb175c1d5c1bc23b6b86faa5ee049afd_6406e778-f475-4295-8148-d8640c3ed57f.webp?v=1714890105","width":2000},{"alt":null,"id":23890462605411,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f0b9c78c4c07de9ed544903063d9f0a4118831_ebb4b568-25e5-406f-8996-4354dfc6c3c3.webp?v=1714890108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f0b9c78c4c07de9ed544903063d9f0a4118831_ebb4b568-25e5-406f-8996-4354dfc6c3c3.webp?v=1714890108","width":2000},{"alt":null,"id":23890465161315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efcea073a8c23b3d6d72c09f8e65c6bafbba937a_d35dd9df-6061-4a22-a57f-b9fa0edf4759.webp?v=1714890110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efcea073a8c23b3d6d72c09f8e65c6bafbba937a_d35dd9df-6061-4a22-a57f-b9fa0edf4759.webp?v=1714890110","width":2000},{"alt":null,"id":23890467586147,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a84ed534845d171eb59c6b51ea6b083b559c35ce_c5b8befe-3009-406b-9a36-1b812e91bd93.webp?v=1714890112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a84ed534845d171eb59c6b51ea6b083b559c35ce_c5b8befe-3009-406b-9a36-1b812e91bd93.webp?v=1714890112","width":2000},{"alt":null,"id":23890469650531,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f85cb9aed703f21a98c87dc40ed2b2339ab382f0_9211bfa3-3b7c-4fc9-9f0b-7e2b9d90e01f.webp?v=1714890115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f85cb9aed703f21a98c87dc40ed2b2339ab382f0_9211bfa3-3b7c-4fc9-9f0b-7e2b9d90e01f.webp?v=1714890115","width":2000},{"alt":null,"id":23890471682147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcb8142e8291518204c524fbb8109eef0307f6ae_81a36127-6c16-4a10-a53c-b4160e8d620a.webp?v=1714890117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcb8142e8291518204c524fbb8109eef0307f6ae_81a36127-6c16-4a10-a53c-b4160e8d620a.webp?v=1714890117","width":2000},{"alt":null,"id":23890473877603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a75c250d5486b290228bb30942cd5d398339c76_0df42648-3a3c-47ec-85f5-8158e3c2d1f2.webp?v=1714890120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a75c250d5486b290228bb30942cd5d398339c76_0df42648-3a3c-47ec-85f5-8158e3c2d1f2.webp?v=1714890120","width":2000},{"alt":null,"id":23890476367971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bee86bae8fd8618fb89b36d4f466551dfd6ff18_0e188664-5cbe-489d-8ed4-69fc3c7849ff.webp?v=1714890122"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bee86bae8fd8618fb89b36d4f466551dfd6ff18_0e188664-5cbe-489d-8ed4-69fc3c7849ff.webp?v=1714890122","width":2000},{"alt":null,"id":23890479153251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b80d5fe923d77adbe9ba8817584acb18454b6445_9c1994a1-0c56-4f44-9da4-d621ded94179.webp?v=1714890124"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b80d5fe923d77adbe9ba8817584acb18454b6445_9c1994a1-0c56-4f44-9da4-d621ded94179.webp?v=1714890124","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41905659183203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485158490211,"product_id":7414317940835,"position":8,"created_at":"2024-05-05T14:22:00+08:00","updated_at":"2024-05-05T14:22:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a75c250d5486b290228bb30942cd5d398339c76_0df42648-3a3c-47ec-85f5-8158e3c2d1f2.webp?v=1714890120","variant_ids":[41905659183203]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 抱一個 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-YB01","featured_media":{"alt":null,"id":23890473877603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a75c250d5486b290228bb30942cd5d398339c76_0df42648-3a3c-47ec-85f5-8158e3c2d1f2.webp?v=1714890120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905659248739,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485161046115,"product_id":7414317940835,"position":9,"created_at":"2024-05-05T14:22:02+08:00","updated_at":"2024-05-05T14:22:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bee86bae8fd8618fb89b36d4f466551dfd6ff18_0e188664-5cbe-489d-8ed4-69fc3c7849ff.webp?v=1714890122","variant_ids":[41905659248739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 抱一個 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-YB01","featured_media":{"alt":null,"id":23890476367971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bee86bae8fd8618fb89b36d4f466551dfd6ff18_0e188664-5cbe-489d-8ed4-69fc3c7849ff.webp?v=1714890122"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905659641955,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485146988643,"product_id":7414317940835,"position":3,"created_at":"2024-05-05T14:21:48+08:00","updated_at":"2024-05-05T14:21:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f0b9c78c4c07de9ed544903063d9f0a4118831_ebb4b568-25e5-406f-8996-4354dfc6c3c3.webp?v=1714890108","variant_ids":[41905659641955]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 抱一個 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-YB01","featured_media":{"alt":null,"id":23890462605411,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f0b9c78c4c07de9ed544903063d9f0a4118831_ebb4b568-25e5-406f-8996-4354dfc6c3c3.webp?v=1714890108"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41905659183203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB01","requires_shipping":true,"taxable":true,"featured_image":{"id":31485158490211,"product_id":7414317940835,"position":8,"created_at":"2024-05-05T14:22:00+08:00","updated_at":"2024-05-05T14:22:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a75c250d5486b290228bb30942cd5d398339c76_0df42648-3a3c-47ec-85f5-8158e3c2d1f2.webp?v=1714890120","variant_ids":[41905659183203]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 抱一個 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-YB01","featured_media":{"alt":null,"id":23890473877603,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a75c250d5486b290228bb30942cd5d398339c76_0df42648-3a3c-47ec-85f5-8158e3c2d1f2.webp?v=1714890120"}},"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: "停產" }