$product = {"id":7411431473251,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Bedtime Bear","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb04","description":null,"published_at":"2024-06-11T17:44:49+08:00","created_at":"2024-05-05T00:28:35+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 14 Pro","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":41898806444131,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31480411160675,"product_id":7411431473251,"position":8,"created_at":"2024-05-05T00:28:54+08:00","updated_at":"2024-05-05T00:28:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20339c7debb33ea961869a2eb0c1ce4a0933c1d4_daf34091-fbe4-40f3-aa12-b60475ce0cb6.webp?v=1714840134","variant_ids":[41898806444131]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Bedtime Bear - 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":"MPB0126224-YB04","featured_media":{"alt":null,"id":23885662978147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20339c7debb33ea961869a2eb0c1ce4a0933c1d4_daf34091-fbe4-40f3-aa12-b60475ce0cb6.webp?v=1714840134"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898806509667,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31480410144867,"product_id":7411431473251,"position":6,"created_at":"2024-05-05T00:28:49+08:00","updated_at":"2024-05-05T00:28:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394b0978007907c818cb816b09497a4e2f376262_18e7efb6-0eb8-4293-9cc4-73de924222ad.webp?v=1714840129","variant_ids":[41898806509667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Bedtime Bear - 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":"MPB0126204-YB04","featured_media":{"alt":null,"id":23885661798499,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394b0978007907c818cb816b09497a4e2f376262_18e7efb6-0eb8-4293-9cc4-73de924222ad.webp?v=1714840129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898806771811,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31480411783267,"product_id":7411431473251,"position":9,"created_at":"2024-05-05T00:28:56+08:00","updated_at":"2024-05-05T00:28:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1dd5d069ae31fb334a0664920d2f497341d0a3_54e72605-098f-40ac-aea6-bf6f7d33418c.webp?v=1714840136","variant_ids":[41898806771811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Bedtime Bear - 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":"MPB01262J5-YB04","featured_media":{"alt":null,"id":23885663436899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1dd5d069ae31fb334a0664920d2f497341d0a3_54e72605-098f-40ac-aea6-bf6f7d33418c.webp?v=1714840136"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/551af2bf17c71164a8b9ffac28ae8c65e9a3b371_cb8ab916-8e83-43f1-a942-acc2ccb795a9.webp?v=1714840117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc3be796c39681a432a1ef6d8570bfe7be3e4d9_1b391d92-526c-401d-976a-ff3762e5bf2a.webp?v=1714840120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7177094c241a727c2eb2bfffda48d551d423d866_1a0d89b7-1b8d-4368-b6a4-dea65ae3d664.webp?v=1714840122","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af1f93b887f063cda775e59543833b042d5014b_8eb1fe6b-2525-4c8f-b403-aff44f088ddc.webp?v=1714840124","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0266b3ed2b2c653a4a93c90864babc30ff369f95_66c7b487-058d-4a1b-9119-44074d97edc2.webp?v=1714840127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394b0978007907c818cb816b09497a4e2f376262_18e7efb6-0eb8-4293-9cc4-73de924222ad.webp?v=1714840129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b08fa192de0e93d95a2abdf4176cc9cf427630a_18072905-17aa-4a6c-897b-1297114034f0.webp?v=1714840132","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20339c7debb33ea961869a2eb0c1ce4a0933c1d4_daf34091-fbe4-40f3-aa12-b60475ce0cb6.webp?v=1714840134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1dd5d069ae31fb334a0664920d2f497341d0a3_54e72605-098f-40ac-aea6-bf6f7d33418c.webp?v=1714840136","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e6f8590a370aabb9d60b535c52e33c42fa25134_f4d84e1e-bdde-4d58-b3d0-148821212551.webp?v=1714840138"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/551af2bf17c71164a8b9ffac28ae8c65e9a3b371_cb8ab916-8e83-43f1-a942-acc2ccb795a9.webp?v=1714840117","options":["color"],"media":[{"alt":null,"id":23885659144291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/551af2bf17c71164a8b9ffac28ae8c65e9a3b371_cb8ab916-8e83-43f1-a942-acc2ccb795a9.webp?v=1714840117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/551af2bf17c71164a8b9ffac28ae8c65e9a3b371_cb8ab916-8e83-43f1-a942-acc2ccb795a9.webp?v=1714840117","width":2000},{"alt":null,"id":23885659635811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc3be796c39681a432a1ef6d8570bfe7be3e4d9_1b391d92-526c-401d-976a-ff3762e5bf2a.webp?v=1714840120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc3be796c39681a432a1ef6d8570bfe7be3e4d9_1b391d92-526c-401d-976a-ff3762e5bf2a.webp?v=1714840120","width":2000},{"alt":null,"id":23885660225635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7177094c241a727c2eb2bfffda48d551d423d866_1a0d89b7-1b8d-4368-b6a4-dea65ae3d664.webp?v=1714840122"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7177094c241a727c2eb2bfffda48d551d423d866_1a0d89b7-1b8d-4368-b6a4-dea65ae3d664.webp?v=1714840122","width":2000},{"alt":null,"id":23885660913763,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af1f93b887f063cda775e59543833b042d5014b_8eb1fe6b-2525-4c8f-b403-aff44f088ddc.webp?v=1714840124"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af1f93b887f063cda775e59543833b042d5014b_8eb1fe6b-2525-4c8f-b403-aff44f088ddc.webp?v=1714840124","width":2000},{"alt":null,"id":23885661372515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0266b3ed2b2c653a4a93c90864babc30ff369f95_66c7b487-058d-4a1b-9119-44074d97edc2.webp?v=1714840127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0266b3ed2b2c653a4a93c90864babc30ff369f95_66c7b487-058d-4a1b-9119-44074d97edc2.webp?v=1714840127","width":2000},{"alt":null,"id":23885661798499,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394b0978007907c818cb816b09497a4e2f376262_18e7efb6-0eb8-4293-9cc4-73de924222ad.webp?v=1714840129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394b0978007907c818cb816b09497a4e2f376262_18e7efb6-0eb8-4293-9cc4-73de924222ad.webp?v=1714840129","width":2000},{"alt":null,"id":23885662224483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b08fa192de0e93d95a2abdf4176cc9cf427630a_18072905-17aa-4a6c-897b-1297114034f0.webp?v=1714840132"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b08fa192de0e93d95a2abdf4176cc9cf427630a_18072905-17aa-4a6c-897b-1297114034f0.webp?v=1714840132","width":2000},{"alt":null,"id":23885662978147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20339c7debb33ea961869a2eb0c1ce4a0933c1d4_daf34091-fbe4-40f3-aa12-b60475ce0cb6.webp?v=1714840134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20339c7debb33ea961869a2eb0c1ce4a0933c1d4_daf34091-fbe4-40f3-aa12-b60475ce0cb6.webp?v=1714840134","width":2000},{"alt":null,"id":23885663436899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1dd5d069ae31fb334a0664920d2f497341d0a3_54e72605-098f-40ac-aea6-bf6f7d33418c.webp?v=1714840136"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1dd5d069ae31fb334a0664920d2f497341d0a3_54e72605-098f-40ac-aea6-bf6f7d33418c.webp?v=1714840136","width":2000},{"alt":null,"id":23885663764579,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e6f8590a370aabb9d60b535c52e33c42fa25134_f4d84e1e-bdde-4d58-b3d0-148821212551.webp?v=1714840138"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e6f8590a370aabb9d60b535c52e33c42fa25134_f4d84e1e-bdde-4d58-b3d0-148821212551.webp?v=1714840138","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898806444131,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31480411160675,"product_id":7411431473251,"position":8,"created_at":"2024-05-05T00:28:54+08:00","updated_at":"2024-05-05T00:28:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20339c7debb33ea961869a2eb0c1ce4a0933c1d4_daf34091-fbe4-40f3-aa12-b60475ce0cb6.webp?v=1714840134","variant_ids":[41898806444131]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Bedtime Bear - 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":"MPB0126224-YB04","featured_media":{"alt":null,"id":23885662978147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20339c7debb33ea961869a2eb0c1ce4a0933c1d4_daf34091-fbe4-40f3-aa12-b60475ce0cb6.webp?v=1714840134"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898806509667,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31480410144867,"product_id":7411431473251,"position":6,"created_at":"2024-05-05T00:28:49+08:00","updated_at":"2024-05-05T00:28:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394b0978007907c818cb816b09497a4e2f376262_18e7efb6-0eb8-4293-9cc4-73de924222ad.webp?v=1714840129","variant_ids":[41898806509667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Bedtime Bear - 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":"MPB0126204-YB04","featured_media":{"alt":null,"id":23885661798499,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394b0978007907c818cb816b09497a4e2f376262_18e7efb6-0eb8-4293-9cc4-73de924222ad.webp?v=1714840129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898806771811,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31480411783267,"product_id":7411431473251,"position":9,"created_at":"2024-05-05T00:28:56+08:00","updated_at":"2024-05-05T00:28:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1dd5d069ae31fb334a0664920d2f497341d0a3_54e72605-098f-40ac-aea6-bf6f7d33418c.webp?v=1714840136","variant_ids":[41898806771811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Bedtime Bear - 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":"MPB01262J5-YB04","featured_media":{"alt":null,"id":23885663436899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1dd5d069ae31fb334a0664920d2f497341d0a3_54e72605-098f-40ac-aea6-bf6f7d33418c.webp?v=1714840136"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898806444131,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31480411160675,"product_id":7411431473251,"position":8,"created_at":"2024-05-05T00:28:54+08:00","updated_at":"2024-05-05T00:28:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20339c7debb33ea961869a2eb0c1ce4a0933c1d4_daf34091-fbe4-40f3-aa12-b60475ce0cb6.webp?v=1714840134","variant_ids":[41898806444131]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Bedtime Bear - 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":"MPB0126224-YB04","featured_media":{"alt":null,"id":23885662978147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20339c7debb33ea961869a2eb0c1ce4a0933c1d4_daf34091-fbe4-40f3-aa12-b60475ce0cb6.webp?v=1714840134"}},"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: "停產" }