$product = {"id":7411292668003,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha!","handle":"iphone-14-pro-mod-nx-magsafe-printable-yf08","description":null,"published_at":"2024-06-11T17:41:01+08:00","created_at":"2024-05-05T00:01:28+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-stitch","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":41897054797923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480063492195,"product_id":7411292668003,"position":5,"created_at":"2024-05-05T00:01:41+08:00","updated_at":"2024-05-05T00:01:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f6839e1af306a2244aa27a41e3dea17464553f_e40d9a5c-cf39-465c-824c-8d6adb81de58.webp?v=1714838501","variant_ids":[41897054797923]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YF08","featured_media":{"alt":null,"id":23885314457699,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f6839e1af306a2244aa27a41e3dea17464553f_e40d9a5c-cf39-465c-824c-8d6adb81de58.webp?v=1714838501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897054863459,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480062607459,"product_id":7411292668003,"position":3,"created_at":"2024-05-05T00:01:36+08:00","updated_at":"2024-05-05T00:01:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25204dc52bc470e14e52bafcbab6362b31496466_64fb479d-c1f7-4d24-87bc-801b7c450094.webp?v=1714838496","variant_ids":[41897054863459]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-YF08","featured_media":{"alt":null,"id":23885313278051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25204dc52bc470e14e52bafcbab6362b31496466_64fb479d-c1f7-4d24-87bc-801b7c450094.webp?v=1714838496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897055092835,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480066408547,"product_id":7411292668003,"position":10,"created_at":"2024-05-05T00:01:53+08:00","updated_at":"2024-05-05T00:01:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d090a93b5381c00be66514fb57df8544c0a32885_5a5774a8-13f6-41eb-bccc-3a6cdb955f6a.webp?v=1714838513","variant_ids":[41897055092835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-YF08","featured_media":{"alt":null,"id":23885317144675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d090a93b5381c00be66514fb57df8544c0a32885_5a5774a8-13f6-41eb-bccc-3a6cdb955f6a.webp?v=1714838513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6587bb833d6146d9d569b440241873ac0305d8b_3a1bdf0e-0b1e-4ae6-b789-85fb5436540c.webp?v=1714838491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fd9d6f866379ec40deb9848783be3025392b8d1_9b4335f5-4f6f-40ed-990e-4661735473c3.webp?v=1714838494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25204dc52bc470e14e52bafcbab6362b31496466_64fb479d-c1f7-4d24-87bc-801b7c450094.webp?v=1714838496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c19c22397b60443cbf79b234d2e55ac1022c5c5_c1ee590d-9b00-4209-95fd-5d7be6ef4904.webp?v=1714838498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f6839e1af306a2244aa27a41e3dea17464553f_e40d9a5c-cf39-465c-824c-8d6adb81de58.webp?v=1714838501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff037d58e27fa5c1d312713ac4a0c87d337c438b_6eeb1197-f910-468f-acb1-7e1eea85208f.webp?v=1714838503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa89a999f7d5a576125b2a627271f67673568d79_50e86483-443d-4d6e-aa5e-69572668047c.webp?v=1714838505","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/228a3a15c92ec28a17da2162dce64b97b097a09e_13bf1c00-f531-4e80-9983-8871cecf366f.webp?v=1714838508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd1e3525533fdd229027cca088bf2e66bcc0e04_52c4481e-9009-4a20-a24a-9bd3a7a6a3e6.webp?v=1714838510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d090a93b5381c00be66514fb57df8544c0a32885_5a5774a8-13f6-41eb-bccc-3a6cdb955f6a.webp?v=1714838513"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6587bb833d6146d9d569b440241873ac0305d8b_3a1bdf0e-0b1e-4ae6-b789-85fb5436540c.webp?v=1714838491","options":["color"],"media":[{"alt":null,"id":23885312360547,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6587bb833d6146d9d569b440241873ac0305d8b_3a1bdf0e-0b1e-4ae6-b789-85fb5436540c.webp?v=1714838491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6587bb833d6146d9d569b440241873ac0305d8b_3a1bdf0e-0b1e-4ae6-b789-85fb5436540c.webp?v=1714838491","width":2000},{"alt":null,"id":23885312753763,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fd9d6f866379ec40deb9848783be3025392b8d1_9b4335f5-4f6f-40ed-990e-4661735473c3.webp?v=1714838494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fd9d6f866379ec40deb9848783be3025392b8d1_9b4335f5-4f6f-40ed-990e-4661735473c3.webp?v=1714838494","width":2000},{"alt":null,"id":23885313278051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25204dc52bc470e14e52bafcbab6362b31496466_64fb479d-c1f7-4d24-87bc-801b7c450094.webp?v=1714838496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25204dc52bc470e14e52bafcbab6362b31496466_64fb479d-c1f7-4d24-87bc-801b7c450094.webp?v=1714838496","width":2000},{"alt":null,"id":23885313671267,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c19c22397b60443cbf79b234d2e55ac1022c5c5_c1ee590d-9b00-4209-95fd-5d7be6ef4904.webp?v=1714838498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c19c22397b60443cbf79b234d2e55ac1022c5c5_c1ee590d-9b00-4209-95fd-5d7be6ef4904.webp?v=1714838498","width":2000},{"alt":null,"id":23885314457699,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f6839e1af306a2244aa27a41e3dea17464553f_e40d9a5c-cf39-465c-824c-8d6adb81de58.webp?v=1714838501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f6839e1af306a2244aa27a41e3dea17464553f_e40d9a5c-cf39-465c-824c-8d6adb81de58.webp?v=1714838501","width":2000},{"alt":null,"id":23885314916451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff037d58e27fa5c1d312713ac4a0c87d337c438b_6eeb1197-f910-468f-acb1-7e1eea85208f.webp?v=1714838503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff037d58e27fa5c1d312713ac4a0c87d337c438b_6eeb1197-f910-468f-acb1-7e1eea85208f.webp?v=1714838503","width":2000},{"alt":null,"id":23885315407971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa89a999f7d5a576125b2a627271f67673568d79_50e86483-443d-4d6e-aa5e-69572668047c.webp?v=1714838505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa89a999f7d5a576125b2a627271f67673568d79_50e86483-443d-4d6e-aa5e-69572668047c.webp?v=1714838505","width":2000},{"alt":null,"id":23885315932259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/228a3a15c92ec28a17da2162dce64b97b097a09e_13bf1c00-f531-4e80-9983-8871cecf366f.webp?v=1714838508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/228a3a15c92ec28a17da2162dce64b97b097a09e_13bf1c00-f531-4e80-9983-8871cecf366f.webp?v=1714838508","width":2000},{"alt":null,"id":23885316423779,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd1e3525533fdd229027cca088bf2e66bcc0e04_52c4481e-9009-4a20-a24a-9bd3a7a6a3e6.webp?v=1714838510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd1e3525533fdd229027cca088bf2e66bcc0e04_52c4481e-9009-4a20-a24a-9bd3a7a6a3e6.webp?v=1714838510","width":2000},{"alt":null,"id":23885317144675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d090a93b5381c00be66514fb57df8544c0a32885_5a5774a8-13f6-41eb-bccc-3a6cdb955f6a.webp?v=1714838513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d090a93b5381c00be66514fb57df8544c0a32885_5a5774a8-13f6-41eb-bccc-3a6cdb955f6a.webp?v=1714838513","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41897054797923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480063492195,"product_id":7411292668003,"position":5,"created_at":"2024-05-05T00:01:41+08:00","updated_at":"2024-05-05T00:01:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f6839e1af306a2244aa27a41e3dea17464553f_e40d9a5c-cf39-465c-824c-8d6adb81de58.webp?v=1714838501","variant_ids":[41897054797923]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YF08","featured_media":{"alt":null,"id":23885314457699,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f6839e1af306a2244aa27a41e3dea17464553f_e40d9a5c-cf39-465c-824c-8d6adb81de58.webp?v=1714838501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897054863459,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480062607459,"product_id":7411292668003,"position":3,"created_at":"2024-05-05T00:01:36+08:00","updated_at":"2024-05-05T00:01:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25204dc52bc470e14e52bafcbab6362b31496466_64fb479d-c1f7-4d24-87bc-801b7c450094.webp?v=1714838496","variant_ids":[41897054863459]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-YF08","featured_media":{"alt":null,"id":23885313278051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25204dc52bc470e14e52bafcbab6362b31496466_64fb479d-c1f7-4d24-87bc-801b7c450094.webp?v=1714838496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897055092835,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480066408547,"product_id":7411292668003,"position":10,"created_at":"2024-05-05T00:01:53+08:00","updated_at":"2024-05-05T00:01:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d090a93b5381c00be66514fb57df8544c0a32885_5a5774a8-13f6-41eb-bccc-3a6cdb955f6a.webp?v=1714838513","variant_ids":[41897055092835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-YF08","featured_media":{"alt":null,"id":23885317144675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d090a93b5381c00be66514fb57df8544c0a32885_5a5774a8-13f6-41eb-bccc-3a6cdb955f6a.webp?v=1714838513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897054797923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31480063492195,"product_id":7411292668003,"position":5,"created_at":"2024-05-05T00:01:41+08:00","updated_at":"2024-05-05T00:01:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f6839e1af306a2244aa27a41e3dea17464553f_e40d9a5c-cf39-465c-824c-8d6adb81de58.webp?v=1714838501","variant_ids":[41897054797923]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YF08","featured_media":{"alt":null,"id":23885314457699,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f6839e1af306a2244aa27a41e3dea17464553f_e40d9a5c-cf39-465c-824c-8d6adb81de58.webp?v=1714838501"}},"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: "停產" }