$product = {"id":7411274154083,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - G本款","handle":"iphone-14-pro-mod-nx-magsafe-printable-iv07","description":null,"published_at":"2024-06-11T17:40:32+08:00","created_at":"2024-05-04T23:58:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-1chun","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":41896824963171,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV07","requires_shipping":true,"taxable":true,"featured_image":{"id":31480019058787,"product_id":7411274154083,"position":3,"created_at":"2024-05-04T23:58:18+08:00","updated_at":"2024-05-04T23:58:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2a6dbeab424761a3d6a1d87754ef533bc59b68_ece7be32-af91-4f13-861c-c6e977997b0a.webp?v=1714838298","variant_ids":[41896824963171]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - G本款 - 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-IV07","featured_media":{"alt":null,"id":23885269958755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2a6dbeab424761a3d6a1d87754ef533bc59b68_ece7be32-af91-4f13-861c-c6e977997b0a.webp?v=1714838298"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896825028707,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV07","requires_shipping":true,"taxable":true,"featured_image":{"id":31480017846371,"product_id":7411274154083,"position":1,"created_at":"2024-05-04T23:58:13+08:00","updated_at":"2024-05-04T23:58:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24994e07c17c55cb20a75d733564fd29c686606_88d58d86-49df-48fc-92f4-721b7cb93edb.webp?v=1714838293","variant_ids":[41896825028707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - G本款 - 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-IV07","featured_media":{"alt":null,"id":23885268549731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24994e07c17c55cb20a75d733564fd29c686606_88d58d86-49df-48fc-92f4-721b7cb93edb.webp?v=1714838293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896825290851,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV07","requires_shipping":true,"taxable":true,"featured_image":{"id":31480022761571,"product_id":7411274154083,"position":9,"created_at":"2024-05-04T23:58:32+08:00","updated_at":"2024-05-04T23:58:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/635f42d03e6aed203883eb7066d9d1dc6e0f87cd_4e7a4d3c-06b4-41e7-ac1f-dc6a4eab60cc.webp?v=1714838312","variant_ids":[41896825290851]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - G本款 - 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-IV07","featured_media":{"alt":null,"id":23885273399395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/635f42d03e6aed203883eb7066d9d1dc6e0f87cd_4e7a4d3c-06b4-41e7-ac1f-dc6a4eab60cc.webp?v=1714838312"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24994e07c17c55cb20a75d733564fd29c686606_88d58d86-49df-48fc-92f4-721b7cb93edb.webp?v=1714838293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ab5677869047d8f265492df718aeb9217f1cac6_8015b5e0-c75a-4687-aabf-154cfac14014.webp?v=1714838295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2a6dbeab424761a3d6a1d87754ef533bc59b68_ece7be32-af91-4f13-861c-c6e977997b0a.webp?v=1714838298","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0bed0f4110d4f34084d37040acb22e63dc52e6_c13a650b-a924-4255-aac0-fb190d7d8aa4.webp?v=1714838300","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acc3db7dee025b37a629e513e36cbf96d89e5240_5803833f-56a9-47a7-a702-c9b41e6d0f70.webp?v=1714838302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61757db19a09d68ba3f5d42ffabfd723e6cfa237_1831738e-039d-4baf-b0a8-6ebe14033e64.webp?v=1714838305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/992129faafa344399c2875470b18f96bc85acc28_1c0c5bb7-668e-4705-a826-fd8443585ef3.webp?v=1714838307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b9847cfdc18644280776df85d8e704b6bddc4e_2403936a-3565-45ad-b126-5bdf425a8156.webp?v=1714838310","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/635f42d03e6aed203883eb7066d9d1dc6e0f87cd_4e7a4d3c-06b4-41e7-ac1f-dc6a4eab60cc.webp?v=1714838312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37349a7097630b37268ba2c95b89be15c7647a58_e148a519-73ff-4ec4-bb65-f8b14681a505.webp?v=1714838314"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24994e07c17c55cb20a75d733564fd29c686606_88d58d86-49df-48fc-92f4-721b7cb93edb.webp?v=1714838293","options":["color"],"media":[{"alt":null,"id":23885268549731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24994e07c17c55cb20a75d733564fd29c686606_88d58d86-49df-48fc-92f4-721b7cb93edb.webp?v=1714838293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24994e07c17c55cb20a75d733564fd29c686606_88d58d86-49df-48fc-92f4-721b7cb93edb.webp?v=1714838293","width":2000},{"alt":null,"id":23885269237859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ab5677869047d8f265492df718aeb9217f1cac6_8015b5e0-c75a-4687-aabf-154cfac14014.webp?v=1714838295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ab5677869047d8f265492df718aeb9217f1cac6_8015b5e0-c75a-4687-aabf-154cfac14014.webp?v=1714838295","width":2000},{"alt":null,"id":23885269958755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2a6dbeab424761a3d6a1d87754ef533bc59b68_ece7be32-af91-4f13-861c-c6e977997b0a.webp?v=1714838298"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2a6dbeab424761a3d6a1d87754ef533bc59b68_ece7be32-af91-4f13-861c-c6e977997b0a.webp?v=1714838298","width":2000},{"alt":null,"id":23885270679651,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0bed0f4110d4f34084d37040acb22e63dc52e6_c13a650b-a924-4255-aac0-fb190d7d8aa4.webp?v=1714838300"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb0bed0f4110d4f34084d37040acb22e63dc52e6_c13a650b-a924-4255-aac0-fb190d7d8aa4.webp?v=1714838300","width":2000},{"alt":null,"id":23885271236707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acc3db7dee025b37a629e513e36cbf96d89e5240_5803833f-56a9-47a7-a702-c9b41e6d0f70.webp?v=1714838302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acc3db7dee025b37a629e513e36cbf96d89e5240_5803833f-56a9-47a7-a702-c9b41e6d0f70.webp?v=1714838302","width":2000},{"alt":null,"id":23885271924835,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61757db19a09d68ba3f5d42ffabfd723e6cfa237_1831738e-039d-4baf-b0a8-6ebe14033e64.webp?v=1714838305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61757db19a09d68ba3f5d42ffabfd723e6cfa237_1831738e-039d-4baf-b0a8-6ebe14033e64.webp?v=1714838305","width":2000},{"alt":null,"id":23885272481891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/992129faafa344399c2875470b18f96bc85acc28_1c0c5bb7-668e-4705-a826-fd8443585ef3.webp?v=1714838307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/992129faafa344399c2875470b18f96bc85acc28_1c0c5bb7-668e-4705-a826-fd8443585ef3.webp?v=1714838307","width":2000},{"alt":null,"id":23885273006179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b9847cfdc18644280776df85d8e704b6bddc4e_2403936a-3565-45ad-b126-5bdf425a8156.webp?v=1714838310"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b9847cfdc18644280776df85d8e704b6bddc4e_2403936a-3565-45ad-b126-5bdf425a8156.webp?v=1714838310","width":2000},{"alt":null,"id":23885273399395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/635f42d03e6aed203883eb7066d9d1dc6e0f87cd_4e7a4d3c-06b4-41e7-ac1f-dc6a4eab60cc.webp?v=1714838312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/635f42d03e6aed203883eb7066d9d1dc6e0f87cd_4e7a4d3c-06b4-41e7-ac1f-dc6a4eab60cc.webp?v=1714838312","width":2000},{"alt":null,"id":23885273923683,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37349a7097630b37268ba2c95b89be15c7647a58_e148a519-73ff-4ec4-bb65-f8b14681a505.webp?v=1714838314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37349a7097630b37268ba2c95b89be15c7647a58_e148a519-73ff-4ec4-bb65-f8b14681a505.webp?v=1714838314","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896824963171,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV07","requires_shipping":true,"taxable":true,"featured_image":{"id":31480019058787,"product_id":7411274154083,"position":3,"created_at":"2024-05-04T23:58:18+08:00","updated_at":"2024-05-04T23:58:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2a6dbeab424761a3d6a1d87754ef533bc59b68_ece7be32-af91-4f13-861c-c6e977997b0a.webp?v=1714838298","variant_ids":[41896824963171]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - G本款 - 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-IV07","featured_media":{"alt":null,"id":23885269958755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2a6dbeab424761a3d6a1d87754ef533bc59b68_ece7be32-af91-4f13-861c-c6e977997b0a.webp?v=1714838298"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896825028707,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV07","requires_shipping":true,"taxable":true,"featured_image":{"id":31480017846371,"product_id":7411274154083,"position":1,"created_at":"2024-05-04T23:58:13+08:00","updated_at":"2024-05-04T23:58:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24994e07c17c55cb20a75d733564fd29c686606_88d58d86-49df-48fc-92f4-721b7cb93edb.webp?v=1714838293","variant_ids":[41896825028707]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - G本款 - 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-IV07","featured_media":{"alt":null,"id":23885268549731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24994e07c17c55cb20a75d733564fd29c686606_88d58d86-49df-48fc-92f4-721b7cb93edb.webp?v=1714838293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896825290851,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV07","requires_shipping":true,"taxable":true,"featured_image":{"id":31480022761571,"product_id":7411274154083,"position":9,"created_at":"2024-05-04T23:58:32+08:00","updated_at":"2024-05-04T23:58:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/635f42d03e6aed203883eb7066d9d1dc6e0f87cd_4e7a4d3c-06b4-41e7-ac1f-dc6a4eab60cc.webp?v=1714838312","variant_ids":[41896825290851]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - G本款 - 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-IV07","featured_media":{"alt":null,"id":23885273399395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/635f42d03e6aed203883eb7066d9d1dc6e0f87cd_4e7a4d3c-06b4-41e7-ac1f-dc6a4eab60cc.webp?v=1714838312"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896824963171,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV07","requires_shipping":true,"taxable":true,"featured_image":{"id":31480019058787,"product_id":7411274154083,"position":3,"created_at":"2024-05-04T23:58:18+08:00","updated_at":"2024-05-04T23:58:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2a6dbeab424761a3d6a1d87754ef533bc59b68_ece7be32-af91-4f13-861c-c6e977997b0a.webp?v=1714838298","variant_ids":[41896824963171]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - G本款 - 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-IV07","featured_media":{"alt":null,"id":23885269958755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2a6dbeab424761a3d6a1d87754ef533bc59b68_ece7be32-af91-4f13-861c-c6e977997b0a.webp?v=1714838298"}},"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: "停產" }