$product = {"id":7411453853795,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 抱一個","handle":"iphone-14-pro-mod-nx-magsafe-printable-iv03","description":null,"published_at":"2024-06-11T17:45:27+08:00","created_at":"2024-05-05T00:32:50+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":41899091755107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480463982691,"product_id":7411453853795,"position":4,"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\/1f1d74d439b344fbe8d12395e5933eb26727a36b_71120e03-4af0-4500-b525-2cfb4e9e9b7f.webp?v=1714840379","variant_ids":[41899091755107]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 抱一個 - 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-IV03","featured_media":{"alt":null,"id":23885715767395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1d74d439b344fbe8d12395e5933eb26727a36b_71120e03-4af0-4500-b525-2cfb4e9e9b7f.webp?v=1714840379"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899091820643,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480466866275,"product_id":7411453853795,"position":10,"created_at":"2024-05-05T00:33:13+08:00","updated_at":"2024-05-05T00:33:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2606107102915d58adec2a3030dc50e76a9d4ddd_e8c4ee64-1fb5-4316-b368-92b7e9a48290.webp?v=1714840393","variant_ids":[41899091820643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 抱一個 - 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-IV03","featured_media":{"alt":null,"id":23885718683747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2606107102915d58adec2a3030dc50e76a9d4ddd_e8c4ee64-1fb5-4316-b368-92b7e9a48290.webp?v=1714840393"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899092050019,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480465883235,"product_id":7411453853795,"position":8,"created_at":"2024-05-05T00:33:08+08:00","updated_at":"2024-05-05T00:33:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd14e2ddcda3698226e6e5fb257bdb40542e2f05_79921282-33ad-4309-a652-4a178df1ea8d.webp?v=1714840388","variant_ids":[41899092050019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 抱一個 - 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-IV03","featured_media":{"alt":null,"id":23885717733475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd14e2ddcda3698226e6e5fb257bdb40542e2f05_79921282-33ad-4309-a652-4a178df1ea8d.webp?v=1714840388"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7e270f1c31ca164160afd7d390a0cc2045dd1c_0de01a17-c67d-42d6-8c7d-26e7574d4db7.webp?v=1714840372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/295fa12f03952b492de2a896ab6a50fb7b132933_2697d240-d452-40e2-85d8-fa1767e67ee8.webp?v=1714840374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99a3f71a2d9c26e9104034d56aca37b2acbf0e04_dc02406f-abb0-465f-9456-d1e29c71eaef.webp?v=1714840377","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1d74d439b344fbe8d12395e5933eb26727a36b_71120e03-4af0-4500-b525-2cfb4e9e9b7f.webp?v=1714840379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db60b15dcc280001070c84e264871be47dfb1d65_8a9d4dd4-4f19-43a1-8ec0-be5610cb49ff.webp?v=1714840381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f29673b4a36a0ae49b9dfebdaca9403126faca_99a2b86e-6c29-4f89-9623-0256417cce88.webp?v=1714840384","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9e7bf312c1b32a4b2f3c7b028d34505718a6e6a_d77e564f-1f4f-4266-9a1a-da0bd46f30cf.webp?v=1714840386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd14e2ddcda3698226e6e5fb257bdb40542e2f05_79921282-33ad-4309-a652-4a178df1ea8d.webp?v=1714840388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b0ee22238377c99694a50ab10fd4619fbdd9053_9aef5e3a-5e51-4040-bb22-d1149a63f3ff.webp?v=1714840390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2606107102915d58adec2a3030dc50e76a9d4ddd_e8c4ee64-1fb5-4316-b368-92b7e9a48290.webp?v=1714840393"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7e270f1c31ca164160afd7d390a0cc2045dd1c_0de01a17-c67d-42d6-8c7d-26e7574d4db7.webp?v=1714840372","options":["color"],"media":[{"alt":null,"id":23885714227299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7e270f1c31ca164160afd7d390a0cc2045dd1c_0de01a17-c67d-42d6-8c7d-26e7574d4db7.webp?v=1714840372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae7e270f1c31ca164160afd7d390a0cc2045dd1c_0de01a17-c67d-42d6-8c7d-26e7574d4db7.webp?v=1714840372","width":2000},{"alt":null,"id":23885714751587,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/295fa12f03952b492de2a896ab6a50fb7b132933_2697d240-d452-40e2-85d8-fa1767e67ee8.webp?v=1714840374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/295fa12f03952b492de2a896ab6a50fb7b132933_2697d240-d452-40e2-85d8-fa1767e67ee8.webp?v=1714840374","width":2000},{"alt":null,"id":23885715275875,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99a3f71a2d9c26e9104034d56aca37b2acbf0e04_dc02406f-abb0-465f-9456-d1e29c71eaef.webp?v=1714840377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99a3f71a2d9c26e9104034d56aca37b2acbf0e04_dc02406f-abb0-465f-9456-d1e29c71eaef.webp?v=1714840377","width":2000},{"alt":null,"id":23885715767395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1d74d439b344fbe8d12395e5933eb26727a36b_71120e03-4af0-4500-b525-2cfb4e9e9b7f.webp?v=1714840379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1d74d439b344fbe8d12395e5933eb26727a36b_71120e03-4af0-4500-b525-2cfb4e9e9b7f.webp?v=1714840379","width":2000},{"alt":null,"id":23885716324451,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db60b15dcc280001070c84e264871be47dfb1d65_8a9d4dd4-4f19-43a1-8ec0-be5610cb49ff.webp?v=1714840381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db60b15dcc280001070c84e264871be47dfb1d65_8a9d4dd4-4f19-43a1-8ec0-be5610cb49ff.webp?v=1714840381","width":2000},{"alt":null,"id":23885716815971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f29673b4a36a0ae49b9dfebdaca9403126faca_99a2b86e-6c29-4f89-9623-0256417cce88.webp?v=1714840384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f29673b4a36a0ae49b9dfebdaca9403126faca_99a2b86e-6c29-4f89-9623-0256417cce88.webp?v=1714840384","width":2000},{"alt":null,"id":23885717241955,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9e7bf312c1b32a4b2f3c7b028d34505718a6e6a_d77e564f-1f4f-4266-9a1a-da0bd46f30cf.webp?v=1714840386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9e7bf312c1b32a4b2f3c7b028d34505718a6e6a_d77e564f-1f4f-4266-9a1a-da0bd46f30cf.webp?v=1714840386","width":2000},{"alt":null,"id":23885717733475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd14e2ddcda3698226e6e5fb257bdb40542e2f05_79921282-33ad-4309-a652-4a178df1ea8d.webp?v=1714840388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd14e2ddcda3698226e6e5fb257bdb40542e2f05_79921282-33ad-4309-a652-4a178df1ea8d.webp?v=1714840388","width":2000},{"alt":null,"id":23885718356067,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b0ee22238377c99694a50ab10fd4619fbdd9053_9aef5e3a-5e51-4040-bb22-d1149a63f3ff.webp?v=1714840390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b0ee22238377c99694a50ab10fd4619fbdd9053_9aef5e3a-5e51-4040-bb22-d1149a63f3ff.webp?v=1714840390","width":2000},{"alt":null,"id":23885718683747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2606107102915d58adec2a3030dc50e76a9d4ddd_e8c4ee64-1fb5-4316-b368-92b7e9a48290.webp?v=1714840393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2606107102915d58adec2a3030dc50e76a9d4ddd_e8c4ee64-1fb5-4316-b368-92b7e9a48290.webp?v=1714840393","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41899091755107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480463982691,"product_id":7411453853795,"position":4,"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\/1f1d74d439b344fbe8d12395e5933eb26727a36b_71120e03-4af0-4500-b525-2cfb4e9e9b7f.webp?v=1714840379","variant_ids":[41899091755107]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 抱一個 - 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-IV03","featured_media":{"alt":null,"id":23885715767395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1d74d439b344fbe8d12395e5933eb26727a36b_71120e03-4af0-4500-b525-2cfb4e9e9b7f.webp?v=1714840379"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899091820643,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480466866275,"product_id":7411453853795,"position":10,"created_at":"2024-05-05T00:33:13+08:00","updated_at":"2024-05-05T00:33:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2606107102915d58adec2a3030dc50e76a9d4ddd_e8c4ee64-1fb5-4316-b368-92b7e9a48290.webp?v=1714840393","variant_ids":[41899091820643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 抱一個 - 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-IV03","featured_media":{"alt":null,"id":23885718683747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2606107102915d58adec2a3030dc50e76a9d4ddd_e8c4ee64-1fb5-4316-b368-92b7e9a48290.webp?v=1714840393"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899092050019,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480465883235,"product_id":7411453853795,"position":8,"created_at":"2024-05-05T00:33:08+08:00","updated_at":"2024-05-05T00:33:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd14e2ddcda3698226e6e5fb257bdb40542e2f05_79921282-33ad-4309-a652-4a178df1ea8d.webp?v=1714840388","variant_ids":[41899092050019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 抱一個 - 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-IV03","featured_media":{"alt":null,"id":23885717733475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd14e2ddcda3698226e6e5fb257bdb40542e2f05_79921282-33ad-4309-a652-4a178df1ea8d.webp?v=1714840388"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41899091755107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480463982691,"product_id":7411453853795,"position":4,"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\/1f1d74d439b344fbe8d12395e5933eb26727a36b_71120e03-4af0-4500-b525-2cfb4e9e9b7f.webp?v=1714840379","variant_ids":[41899091755107]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 抱一個 - 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-IV03","featured_media":{"alt":null,"id":23885715767395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f1d74d439b344fbe8d12395e5933eb26727a36b_71120e03-4af0-4500-b525-2cfb4e9e9b7f.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: "停產" }