$product = {"id":7411453132899,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人","handle":"iphone-14-pro-mod-nx-magsafe-printable-yf10","description":null,"published_at":"2024-06-11T17:45:26+08:00","created_at":"2024-05-05T00:32:41+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":41899080777827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31480464080995,"product_id":7411453132899,"position":8,"created_at":"2024-05-05T00:32:59+08:00","updated_at":"2024-05-05T00:32:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d03a852f4cb97182660c239de5542b5b6c9e4b85_4ac6810c-8e7a-401b-b3a4-e46423412938.webp?v=1714840379","variant_ids":[41899080777827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23885715832931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d03a852f4cb97182660c239de5542b5b6c9e4b85_4ac6810c-8e7a-401b-b3a4-e46423412938.webp?v=1714840379"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899080843363,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31480465129571,"product_id":7411453132899,"position":10,"created_at":"2024-05-05T00:33:04+08:00","updated_at":"2024-05-05T00:33:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239a4c2bd0dea683d964da80bf5e6f243a3d493a_56764910-23c1-4ee0-8a46-83b9790a40d8.webp?v=1714840384","variant_ids":[41899080843363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23885716914275,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239a4c2bd0dea683d964da80bf5e6f243a3d493a_56764910-23c1-4ee0-8a46-83b9790a40d8.webp?v=1714840384"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899081072739,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31480463556707,"product_id":7411453132899,"position":7,"created_at":"2024-05-05T00:32:57+08:00","updated_at":"2024-05-05T00:32:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecab52248111fa2daa5351c2626c0549958df2e_71b5883b-21be-4f95-875e-82a4ce75efef.webp?v=1714840377","variant_ids":[41899081072739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23885715374179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecab52248111fa2daa5351c2626c0549958df2e_71b5883b-21be-4f95-875e-82a4ce75efef.webp?v=1714840377"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cda220505ea5fdc26b226cef53d1fcb213120056_c8996e4c-6e9e-4c1e-88df-4643e259040a.webp?v=1714840363","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8540462e39f69147cccc274098cd5276f1f4087_0a579844-8bf5-48b9-856a-97ac41459de9.webp?v=1714840366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafc7c715eee6e768d309e69fda1131915d1d592_b1bab8e3-7197-4baa-9ab4-43892440fd56.webp?v=1714840368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72f44d8922663df23f1bbadc5e083c697efb6d69_193417f8-4217-4415-bb28-99121251753b.webp?v=1714840370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76275dd6052e890e2bffa591494af0de2844d94c_18e65fe8-2838-4e2a-8214-addfaa02021c.webp?v=1714840372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdf3e41837ab1eb4c507fd3221ad66e738717d91_08b6a17b-8dde-43b3-a504-c7d8a30549b0.webp?v=1714840375","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecab52248111fa2daa5351c2626c0549958df2e_71b5883b-21be-4f95-875e-82a4ce75efef.webp?v=1714840377","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d03a852f4cb97182660c239de5542b5b6c9e4b85_4ac6810c-8e7a-401b-b3a4-e46423412938.webp?v=1714840379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03e83974aafc7ab4fd1f087975af8999aa9d4265_511e0609-2912-4ab2-b6c3-6f43678a32de.webp?v=1714840382","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239a4c2bd0dea683d964da80bf5e6f243a3d493a_56764910-23c1-4ee0-8a46-83b9790a40d8.webp?v=1714840384"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cda220505ea5fdc26b226cef53d1fcb213120056_c8996e4c-6e9e-4c1e-88df-4643e259040a.webp?v=1714840363","options":["color"],"media":[{"alt":null,"id":23885712490595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cda220505ea5fdc26b226cef53d1fcb213120056_c8996e4c-6e9e-4c1e-88df-4643e259040a.webp?v=1714840363"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cda220505ea5fdc26b226cef53d1fcb213120056_c8996e4c-6e9e-4c1e-88df-4643e259040a.webp?v=1714840363","width":2000},{"alt":null,"id":23885712883811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8540462e39f69147cccc274098cd5276f1f4087_0a579844-8bf5-48b9-856a-97ac41459de9.webp?v=1714840366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8540462e39f69147cccc274098cd5276f1f4087_0a579844-8bf5-48b9-856a-97ac41459de9.webp?v=1714840366","width":2000},{"alt":null,"id":23885713473635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafc7c715eee6e768d309e69fda1131915d1d592_b1bab8e3-7197-4baa-9ab4-43892440fd56.webp?v=1714840368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafc7c715eee6e768d309e69fda1131915d1d592_b1bab8e3-7197-4baa-9ab4-43892440fd56.webp?v=1714840368","width":2000},{"alt":null,"id":23885713866851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72f44d8922663df23f1bbadc5e083c697efb6d69_193417f8-4217-4415-bb28-99121251753b.webp?v=1714840370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72f44d8922663df23f1bbadc5e083c697efb6d69_193417f8-4217-4415-bb28-99121251753b.webp?v=1714840370","width":2000},{"alt":null,"id":23885714325603,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76275dd6052e890e2bffa591494af0de2844d94c_18e65fe8-2838-4e2a-8214-addfaa02021c.webp?v=1714840372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76275dd6052e890e2bffa591494af0de2844d94c_18e65fe8-2838-4e2a-8214-addfaa02021c.webp?v=1714840372","width":2000},{"alt":null,"id":23885714784355,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdf3e41837ab1eb4c507fd3221ad66e738717d91_08b6a17b-8dde-43b3-a504-c7d8a30549b0.webp?v=1714840375"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdf3e41837ab1eb4c507fd3221ad66e738717d91_08b6a17b-8dde-43b3-a504-c7d8a30549b0.webp?v=1714840375","width":2000},{"alt":null,"id":23885715374179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecab52248111fa2daa5351c2626c0549958df2e_71b5883b-21be-4f95-875e-82a4ce75efef.webp?v=1714840377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecab52248111fa2daa5351c2626c0549958df2e_71b5883b-21be-4f95-875e-82a4ce75efef.webp?v=1714840377","width":2000},{"alt":null,"id":23885715832931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d03a852f4cb97182660c239de5542b5b6c9e4b85_4ac6810c-8e7a-401b-b3a4-e46423412938.webp?v=1714840379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d03a852f4cb97182660c239de5542b5b6c9e4b85_4ac6810c-8e7a-401b-b3a4-e46423412938.webp?v=1714840379","width":2000},{"alt":null,"id":23885716455523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03e83974aafc7ab4fd1f087975af8999aa9d4265_511e0609-2912-4ab2-b6c3-6f43678a32de.webp?v=1714840382"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03e83974aafc7ab4fd1f087975af8999aa9d4265_511e0609-2912-4ab2-b6c3-6f43678a32de.webp?v=1714840382","width":2000},{"alt":null,"id":23885716914275,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239a4c2bd0dea683d964da80bf5e6f243a3d493a_56764910-23c1-4ee0-8a46-83b9790a40d8.webp?v=1714840384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239a4c2bd0dea683d964da80bf5e6f243a3d493a_56764910-23c1-4ee0-8a46-83b9790a40d8.webp?v=1714840384","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41899080777827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31480464080995,"product_id":7411453132899,"position":8,"created_at":"2024-05-05T00:32:59+08:00","updated_at":"2024-05-05T00:32:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d03a852f4cb97182660c239de5542b5b6c9e4b85_4ac6810c-8e7a-401b-b3a4-e46423412938.webp?v=1714840379","variant_ids":[41899080777827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23885715832931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d03a852f4cb97182660c239de5542b5b6c9e4b85_4ac6810c-8e7a-401b-b3a4-e46423412938.webp?v=1714840379"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899080843363,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31480465129571,"product_id":7411453132899,"position":10,"created_at":"2024-05-05T00:33:04+08:00","updated_at":"2024-05-05T00:33:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239a4c2bd0dea683d964da80bf5e6f243a3d493a_56764910-23c1-4ee0-8a46-83b9790a40d8.webp?v=1714840384","variant_ids":[41899080843363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23885716914275,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/239a4c2bd0dea683d964da80bf5e6f243a3d493a_56764910-23c1-4ee0-8a46-83b9790a40d8.webp?v=1714840384"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899081072739,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31480463556707,"product_id":7411453132899,"position":7,"created_at":"2024-05-05T00:32:57+08:00","updated_at":"2024-05-05T00:32:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecab52248111fa2daa5351c2626c0549958df2e_71b5883b-21be-4f95-875e-82a4ce75efef.webp?v=1714840377","variant_ids":[41899081072739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23885715374179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecab52248111fa2daa5351c2626c0549958df2e_71b5883b-21be-4f95-875e-82a4ce75efef.webp?v=1714840377"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41899080777827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31480464080995,"product_id":7411453132899,"position":8,"created_at":"2024-05-05T00:32:59+08:00","updated_at":"2024-05-05T00:32:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d03a852f4cb97182660c239de5542b5b6c9e4b85_4ac6810c-8e7a-401b-b3a4-e46423412938.webp?v=1714840379","variant_ids":[41899080777827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23885715832931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d03a852f4cb97182660c239de5542b5b6c9e4b85_4ac6810c-8e7a-401b-b3a4-e46423412938.webp?v=1714840379"}},"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: "停產" }