$product = {"id":7411227459683,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - J個好","handle":"iphone-14-pro-mod-nx-magsafe-printable-iv08","description":null,"published_at":"2024-06-11T17:39:18+08:00","created_at":"2024-05-04T23:49: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":41896240939107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31479898701923,"product_id":7411227459683,"position":3,"created_at":"2024-05-04T23:49:17+08:00","updated_at":"2024-05-04T23:49:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755e590ec80d954db043c915885bde91680ca432_4b8ddc0b-2b7b-46d2-9d9c-9ebb9d894e39.webp?v=1714837757","variant_ids":[41896240939107]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23885149208675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755e590ec80d954db043c915885bde91680ca432_4b8ddc0b-2b7b-46d2-9d9c-9ebb9d894e39.webp?v=1714837757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896241070179,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31479901683811,"product_id":7411227459683,"position":8,"created_at":"2024-05-04T23:49:29+08:00","updated_at":"2024-05-04T23:49:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee68167ea6975bd16f2225613088271242450141_241767ce-858b-4799-a434-74df839ddbde.webp?v=1714837769","variant_ids":[41896241070179]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23885152157795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee68167ea6975bd16f2225613088271242450141_241767ce-858b-4799-a434-74df839ddbde.webp?v=1714837769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896241561699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31479897063523,"product_id":7411227459683,"position":1,"created_at":"2024-05-04T23:49:12+08:00","updated_at":"2024-05-04T23:49:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a57c4f98268cff4e6481378cf8b854961bfc0_c8223e36-139d-46c6-9c27-b08a9ae0f6c6.webp?v=1714837752","variant_ids":[41896241561699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23885148061795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a57c4f98268cff4e6481378cf8b854961bfc0_c8223e36-139d-46c6-9c27-b08a9ae0f6c6.webp?v=1714837752"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a57c4f98268cff4e6481378cf8b854961bfc0_c8223e36-139d-46c6-9c27-b08a9ae0f6c6.webp?v=1714837752","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10b1db1672dc97e08b97795cd92d5dbf2468cf62_e24a15a0-fcaa-437a-a50a-07be23f75252.webp?v=1714837754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755e590ec80d954db043c915885bde91680ca432_4b8ddc0b-2b7b-46d2-9d9c-9ebb9d894e39.webp?v=1714837757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1126e561cea79ca73f7a97b8610d6a3a01e008_730c99c4-44e3-463e-a9eb-928b8f54560e.webp?v=1714837759","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72384f4d01f4eaf55f7b118d970f8c773a8ecaf7_b17659b9-b06e-4d3f-a1d2-0a5f0583fe1e.webp?v=1714837761","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce543a289d0ac2761fce6b32209fafe5b626a973_c630a085-ef90-4009-85ef-9a0729b721e4.webp?v=1714837764","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1853eff15b8cdf063be23f66e0be4cd50787fffb_42591d6e-53aa-4531-945f-0bddacee1970.webp?v=1714837766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee68167ea6975bd16f2225613088271242450141_241767ce-858b-4799-a434-74df839ddbde.webp?v=1714837769","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c251ffbf618097a23f2657ba352e9321b1200f0_8b7236ea-c749-43ef-aac7-b25df8786a3d.webp?v=1714837771","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0c5338cae5fb351397ae06061ebea9a0a69edd_e57c9081-952d-4f28-be52-925f6a32d3a5.webp?v=1714837773"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a57c4f98268cff4e6481378cf8b854961bfc0_c8223e36-139d-46c6-9c27-b08a9ae0f6c6.webp?v=1714837752","options":["color"],"media":[{"alt":null,"id":23885148061795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a57c4f98268cff4e6481378cf8b854961bfc0_c8223e36-139d-46c6-9c27-b08a9ae0f6c6.webp?v=1714837752"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a57c4f98268cff4e6481378cf8b854961bfc0_c8223e36-139d-46c6-9c27-b08a9ae0f6c6.webp?v=1714837752","width":2000},{"alt":null,"id":23885148684387,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10b1db1672dc97e08b97795cd92d5dbf2468cf62_e24a15a0-fcaa-437a-a50a-07be23f75252.webp?v=1714837754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10b1db1672dc97e08b97795cd92d5dbf2468cf62_e24a15a0-fcaa-437a-a50a-07be23f75252.webp?v=1714837754","width":2000},{"alt":null,"id":23885149208675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755e590ec80d954db043c915885bde91680ca432_4b8ddc0b-2b7b-46d2-9d9c-9ebb9d894e39.webp?v=1714837757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755e590ec80d954db043c915885bde91680ca432_4b8ddc0b-2b7b-46d2-9d9c-9ebb9d894e39.webp?v=1714837757","width":2000},{"alt":null,"id":23885149864035,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1126e561cea79ca73f7a97b8610d6a3a01e008_730c99c4-44e3-463e-a9eb-928b8f54560e.webp?v=1714837759"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca1126e561cea79ca73f7a97b8610d6a3a01e008_730c99c4-44e3-463e-a9eb-928b8f54560e.webp?v=1714837759","width":2000},{"alt":null,"id":23885150388323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72384f4d01f4eaf55f7b118d970f8c773a8ecaf7_b17659b9-b06e-4d3f-a1d2-0a5f0583fe1e.webp?v=1714837761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72384f4d01f4eaf55f7b118d970f8c773a8ecaf7_b17659b9-b06e-4d3f-a1d2-0a5f0583fe1e.webp?v=1714837761","width":2000},{"alt":null,"id":23885151010915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce543a289d0ac2761fce6b32209fafe5b626a973_c630a085-ef90-4009-85ef-9a0729b721e4.webp?v=1714837764"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce543a289d0ac2761fce6b32209fafe5b626a973_c630a085-ef90-4009-85ef-9a0729b721e4.webp?v=1714837764","width":2000},{"alt":null,"id":23885151535203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1853eff15b8cdf063be23f66e0be4cd50787fffb_42591d6e-53aa-4531-945f-0bddacee1970.webp?v=1714837766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1853eff15b8cdf063be23f66e0be4cd50787fffb_42591d6e-53aa-4531-945f-0bddacee1970.webp?v=1714837766","width":2000},{"alt":null,"id":23885152157795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee68167ea6975bd16f2225613088271242450141_241767ce-858b-4799-a434-74df839ddbde.webp?v=1714837769"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee68167ea6975bd16f2225613088271242450141_241767ce-858b-4799-a434-74df839ddbde.webp?v=1714837769","width":2000},{"alt":null,"id":23885152747619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c251ffbf618097a23f2657ba352e9321b1200f0_8b7236ea-c749-43ef-aac7-b25df8786a3d.webp?v=1714837771"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c251ffbf618097a23f2657ba352e9321b1200f0_8b7236ea-c749-43ef-aac7-b25df8786a3d.webp?v=1714837771","width":2000},{"alt":null,"id":23885153304675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0c5338cae5fb351397ae06061ebea9a0a69edd_e57c9081-952d-4f28-be52-925f6a32d3a5.webp?v=1714837773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0c5338cae5fb351397ae06061ebea9a0a69edd_e57c9081-952d-4f28-be52-925f6a32d3a5.webp?v=1714837773","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896240939107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31479898701923,"product_id":7411227459683,"position":3,"created_at":"2024-05-04T23:49:17+08:00","updated_at":"2024-05-04T23:49:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755e590ec80d954db043c915885bde91680ca432_4b8ddc0b-2b7b-46d2-9d9c-9ebb9d894e39.webp?v=1714837757","variant_ids":[41896240939107]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23885149208675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755e590ec80d954db043c915885bde91680ca432_4b8ddc0b-2b7b-46d2-9d9c-9ebb9d894e39.webp?v=1714837757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896241070179,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31479901683811,"product_id":7411227459683,"position":8,"created_at":"2024-05-04T23:49:29+08:00","updated_at":"2024-05-04T23:49:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee68167ea6975bd16f2225613088271242450141_241767ce-858b-4799-a434-74df839ddbde.webp?v=1714837769","variant_ids":[41896241070179]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23885152157795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee68167ea6975bd16f2225613088271242450141_241767ce-858b-4799-a434-74df839ddbde.webp?v=1714837769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896241561699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31479897063523,"product_id":7411227459683,"position":1,"created_at":"2024-05-04T23:49:12+08:00","updated_at":"2024-05-04T23:49:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a57c4f98268cff4e6481378cf8b854961bfc0_c8223e36-139d-46c6-9c27-b08a9ae0f6c6.webp?v=1714837752","variant_ids":[41896241561699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23885148061795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd1a57c4f98268cff4e6481378cf8b854961bfc0_c8223e36-139d-46c6-9c27-b08a9ae0f6c6.webp?v=1714837752"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896240939107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31479898701923,"product_id":7411227459683,"position":3,"created_at":"2024-05-04T23:49:17+08:00","updated_at":"2024-05-04T23:49:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755e590ec80d954db043c915885bde91680ca432_4b8ddc0b-2b7b-46d2-9d9c-9ebb9d894e39.webp?v=1714837757","variant_ids":[41896240939107]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - J個好 - 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-IV08","featured_media":{"alt":null,"id":23885149208675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755e590ec80d954db043c915885bde91680ca432_4b8ddc0b-2b7b-46d2-9d9c-9ebb9d894e39.webp?v=1714837757"}},"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: "停產" }