$product = {"id":7411373604963,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 1G - 左看看","handle":"iphone-14-pro-mod-nx-magsafe-printable-iv05","description":null,"published_at":"2024-06-11T17:43:12+08:00","created_at":"2024-05-05T00:17:11+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":41898068213859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480263049315,"product_id":7411373604963,"position":6,"created_at":"2024-05-05T00:17:25+08:00","updated_at":"2024-05-05T00:17:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caa20f0b21c1a2f5db77dde4f3f167501df1d9db_856da582-566f-404f-af5e-55e3ecc891fb.webp?v=1714839445","variant_ids":[41898068213859]},"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-IV05","featured_media":{"alt":null,"id":23885514309731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caa20f0b21c1a2f5db77dde4f3f167501df1d9db_856da582-566f-404f-af5e-55e3ecc891fb.webp?v=1714839445"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898068344931,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480263508067,"product_id":7411373604963,"position":7,"created_at":"2024-05-05T00:17:27+08:00","updated_at":"2024-05-05T00:17:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daa04da72275eaaaaf4887decf60ba37f8beeedf_4e2ec296-3354-4405-b8ba-548e9008b2ac.webp?v=1714839447","variant_ids":[41898068344931]},"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-IV05","featured_media":{"alt":null,"id":23885514768483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daa04da72275eaaaaf4887decf60ba37f8beeedf_4e2ec296-3354-4405-b8ba-548e9008b2ac.webp?v=1714839447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898068607075,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480263966819,"product_id":7411373604963,"position":8,"created_at":"2024-05-05T00:17:29+08:00","updated_at":"2024-05-05T00:17:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/163307755b5b9fbf012baff61e2dd4aada2c20b6_b59783a9-b1f1-4a51-9120-3723bf9c5eca.webp?v=1714839449","variant_ids":[41898068607075]},"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-IV05","featured_media":{"alt":null,"id":23885515292771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/163307755b5b9fbf012baff61e2dd4aada2c20b6_b59783a9-b1f1-4a51-9120-3723bf9c5eca.webp?v=1714839449"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3e734eae9fed5d958dfbe69521a1483cbe35102_f8a0411b-69bf-48f0-9526-d0ef76ea4e65.webp?v=1714839434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afd6664991be56366f686eaf3fe855aa7548a564_5c0b08da-0cf0-4c71-a9b5-c3a2d724256b.webp?v=1714839436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58569ea43c35122498ba362593c16ab07cb22b43_233fdff5-ac5f-4358-a995-fb09a7dac0fb.webp?v=1714839438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73f3358ab64e3b9dc13ae0104b45030e14dc7747_0c9f27df-f3f8-4223-9ded-2e859587b100.webp?v=1714839440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c5892b623aafd657033c80420bfed84d69f1d9_021c2d71-e7e1-40bb-854c-ed16228de581.webp?v=1714839443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caa20f0b21c1a2f5db77dde4f3f167501df1d9db_856da582-566f-404f-af5e-55e3ecc891fb.webp?v=1714839445","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daa04da72275eaaaaf4887decf60ba37f8beeedf_4e2ec296-3354-4405-b8ba-548e9008b2ac.webp?v=1714839447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/163307755b5b9fbf012baff61e2dd4aada2c20b6_b59783a9-b1f1-4a51-9120-3723bf9c5eca.webp?v=1714839449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600abca30d785ac3a52d1d36defebe6244cf2c59_fafb4ed2-8383-46c6-8b75-f7f2c981d168.webp?v=1714839451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2479004bd3e891c87638434d85d19798ce642c1_77e25c96-d7f0-4b30-b18b-6b557a6b0f07.webp?v=1714839454"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3e734eae9fed5d958dfbe69521a1483cbe35102_f8a0411b-69bf-48f0-9526-d0ef76ea4e65.webp?v=1714839434","options":["color"],"media":[{"alt":null,"id":23885511753827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3e734eae9fed5d958dfbe69521a1483cbe35102_f8a0411b-69bf-48f0-9526-d0ef76ea4e65.webp?v=1714839434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3e734eae9fed5d958dfbe69521a1483cbe35102_f8a0411b-69bf-48f0-9526-d0ef76ea4e65.webp?v=1714839434","width":2000},{"alt":null,"id":23885512310883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afd6664991be56366f686eaf3fe855aa7548a564_5c0b08da-0cf0-4c71-a9b5-c3a2d724256b.webp?v=1714839436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afd6664991be56366f686eaf3fe855aa7548a564_5c0b08da-0cf0-4c71-a9b5-c3a2d724256b.webp?v=1714839436","width":2000},{"alt":null,"id":23885512835171,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58569ea43c35122498ba362593c16ab07cb22b43_233fdff5-ac5f-4358-a995-fb09a7dac0fb.webp?v=1714839438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58569ea43c35122498ba362593c16ab07cb22b43_233fdff5-ac5f-4358-a995-fb09a7dac0fb.webp?v=1714839438","width":2000},{"alt":null,"id":23885513326691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73f3358ab64e3b9dc13ae0104b45030e14dc7747_0c9f27df-f3f8-4223-9ded-2e859587b100.webp?v=1714839440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73f3358ab64e3b9dc13ae0104b45030e14dc7747_0c9f27df-f3f8-4223-9ded-2e859587b100.webp?v=1714839440","width":2000},{"alt":null,"id":23885513850979,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c5892b623aafd657033c80420bfed84d69f1d9_021c2d71-e7e1-40bb-854c-ed16228de581.webp?v=1714839443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c5892b623aafd657033c80420bfed84d69f1d9_021c2d71-e7e1-40bb-854c-ed16228de581.webp?v=1714839443","width":2000},{"alt":null,"id":23885514309731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caa20f0b21c1a2f5db77dde4f3f167501df1d9db_856da582-566f-404f-af5e-55e3ecc891fb.webp?v=1714839445"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caa20f0b21c1a2f5db77dde4f3f167501df1d9db_856da582-566f-404f-af5e-55e3ecc891fb.webp?v=1714839445","width":2000},{"alt":null,"id":23885514768483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daa04da72275eaaaaf4887decf60ba37f8beeedf_4e2ec296-3354-4405-b8ba-548e9008b2ac.webp?v=1714839447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daa04da72275eaaaaf4887decf60ba37f8beeedf_4e2ec296-3354-4405-b8ba-548e9008b2ac.webp?v=1714839447","width":2000},{"alt":null,"id":23885515292771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/163307755b5b9fbf012baff61e2dd4aada2c20b6_b59783a9-b1f1-4a51-9120-3723bf9c5eca.webp?v=1714839449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/163307755b5b9fbf012baff61e2dd4aada2c20b6_b59783a9-b1f1-4a51-9120-3723bf9c5eca.webp?v=1714839449","width":2000},{"alt":null,"id":23885515751523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600abca30d785ac3a52d1d36defebe6244cf2c59_fafb4ed2-8383-46c6-8b75-f7f2c981d168.webp?v=1714839451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600abca30d785ac3a52d1d36defebe6244cf2c59_fafb4ed2-8383-46c6-8b75-f7f2c981d168.webp?v=1714839451","width":2000},{"alt":null,"id":23885516275811,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2479004bd3e891c87638434d85d19798ce642c1_77e25c96-d7f0-4b30-b18b-6b557a6b0f07.webp?v=1714839454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2479004bd3e891c87638434d85d19798ce642c1_77e25c96-d7f0-4b30-b18b-6b557a6b0f07.webp?v=1714839454","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898068213859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480263049315,"product_id":7411373604963,"position":6,"created_at":"2024-05-05T00:17:25+08:00","updated_at":"2024-05-05T00:17:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caa20f0b21c1a2f5db77dde4f3f167501df1d9db_856da582-566f-404f-af5e-55e3ecc891fb.webp?v=1714839445","variant_ids":[41898068213859]},"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-IV05","featured_media":{"alt":null,"id":23885514309731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caa20f0b21c1a2f5db77dde4f3f167501df1d9db_856da582-566f-404f-af5e-55e3ecc891fb.webp?v=1714839445"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898068344931,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480263508067,"product_id":7411373604963,"position":7,"created_at":"2024-05-05T00:17:27+08:00","updated_at":"2024-05-05T00:17:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daa04da72275eaaaaf4887decf60ba37f8beeedf_4e2ec296-3354-4405-b8ba-548e9008b2ac.webp?v=1714839447","variant_ids":[41898068344931]},"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-IV05","featured_media":{"alt":null,"id":23885514768483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daa04da72275eaaaaf4887decf60ba37f8beeedf_4e2ec296-3354-4405-b8ba-548e9008b2ac.webp?v=1714839447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898068607075,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480263966819,"product_id":7411373604963,"position":8,"created_at":"2024-05-05T00:17:29+08:00","updated_at":"2024-05-05T00:17:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/163307755b5b9fbf012baff61e2dd4aada2c20b6_b59783a9-b1f1-4a51-9120-3723bf9c5eca.webp?v=1714839449","variant_ids":[41898068607075]},"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-IV05","featured_media":{"alt":null,"id":23885515292771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/163307755b5b9fbf012baff61e2dd4aada2c20b6_b59783a9-b1f1-4a51-9120-3723bf9c5eca.webp?v=1714839449"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898068213859,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480263049315,"product_id":7411373604963,"position":6,"created_at":"2024-05-05T00:17:25+08:00","updated_at":"2024-05-05T00:17:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caa20f0b21c1a2f5db77dde4f3f167501df1d9db_856da582-566f-404f-af5e-55e3ecc891fb.webp?v=1714839445","variant_ids":[41898068213859]},"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-IV05","featured_media":{"alt":null,"id":23885514309731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caa20f0b21c1a2f5db77dde4f3f167501df1d9db_856da582-566f-404f-af5e-55e3ecc891fb.webp?v=1714839445"}},"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: "停產" }