$product = {"id":7407678226531,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 在幹嘛","handle":"iphone-14-pro-mod-nx-printable-iv06","description":null,"published_at":"2024-06-11T16:21:52+08:00","created_at":"2024-05-03T10:40:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-1chun","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41877534670947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470199406691,"product_id":7407678226531,"position":1,"created_at":"2024-05-03T10:40:36+08:00","updated_at":"2024-05-03T10:40:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036","variant_ids":[41877534670947]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 在幹嘛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-IV06","featured_media":{"alt":null,"id":23875102441571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877534736483,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470204682339,"product_id":7407678226531,"position":8,"created_at":"2024-05-03T10:40:54+08:00","updated_at":"2024-05-03T10:40:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb0a905b3f15cdc4d95f3411b29aecdcefe069c_94c0319f-c700-4ba1-96a3-3989e8cc0a25.webp?v=1714704054","variant_ids":[41877534736483]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 在幹嘛 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-IV06","featured_media":{"alt":null,"id":23875107684451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb0a905b3f15cdc4d95f3411b29aecdcefe069c_94c0319f-c700-4ba1-96a3-3989e8cc0a25.webp?v=1714704054"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877534965859,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470200160355,"product_id":7407678226531,"position":2,"created_at":"2024-05-03T10:40:39+08:00","updated_at":"2024-05-03T10:40:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f79f16b172b7a859fc90ce2117af948ca20da9_5d3226d3-8338-4ed6-adb1-6948616d2fe1.webp?v=1714704039","variant_ids":[41877534965859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 在幹嘛 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-IV06","featured_media":{"alt":null,"id":23875103129699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f79f16b172b7a859fc90ce2117af948ca20da9_5d3226d3-8338-4ed6-adb1-6948616d2fe1.webp?v=1714704039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f79f16b172b7a859fc90ce2117af948ca20da9_5d3226d3-8338-4ed6-adb1-6948616d2fe1.webp?v=1714704039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fba7f99667f74734c78f75deba3a524525889740_e60dfe92-8a11-4f5b-a2ab-9724b8a602fb.webp?v=1714704041","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d111d882150047ef96f59e7c31fca75165619c11_c32ff0e5-76e8-4b5c-85df-5e385232e334.webp?v=1714704044","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96901c5c225347f5889a52bb711bce18d298617c_9ce60d86-be7b-45b6-b19f-308875c34f01.webp?v=1714704047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2aa87310ac9dc0e632faef961187c4351f1645f_49c83ed1-9de8-46e4-bb50-4a4df021b235.webp?v=1714704049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0420e95e3e091ea8aa1b1f9458e2da8da4a2a886_dd4911d3-9450-4b02-a188-a7900426ce47.webp?v=1714704052","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb0a905b3f15cdc4d95f3411b29aecdcefe069c_94c0319f-c700-4ba1-96a3-3989e8cc0a25.webp?v=1714704054","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f47c03a947a6f17b6152fd46ad05b0eaa04d89f_b1311cb8-1b25-44ce-88a4-80784c2b7e79.webp?v=1714704056","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ea2dd4adb8bc0b2e145b7248ec3ed32e8630e58_17e1b08d-9519-4017-98df-96c3f6842f1e.webp?v=1714704059"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036","options":["color"],"media":[{"alt":null,"id":23875102441571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036","width":2000},{"alt":null,"id":23875103129699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f79f16b172b7a859fc90ce2117af948ca20da9_5d3226d3-8338-4ed6-adb1-6948616d2fe1.webp?v=1714704039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f79f16b172b7a859fc90ce2117af948ca20da9_5d3226d3-8338-4ed6-adb1-6948616d2fe1.webp?v=1714704039","width":2000},{"alt":null,"id":23875104604259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fba7f99667f74734c78f75deba3a524525889740_e60dfe92-8a11-4f5b-a2ab-9724b8a602fb.webp?v=1714704041"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fba7f99667f74734c78f75deba3a524525889740_e60dfe92-8a11-4f5b-a2ab-9724b8a602fb.webp?v=1714704041","width":2000},{"alt":null,"id":23875105226851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d111d882150047ef96f59e7c31fca75165619c11_c32ff0e5-76e8-4b5c-85df-5e385232e334.webp?v=1714704044"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d111d882150047ef96f59e7c31fca75165619c11_c32ff0e5-76e8-4b5c-85df-5e385232e334.webp?v=1714704044","width":2000},{"alt":null,"id":23875105914979,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96901c5c225347f5889a52bb711bce18d298617c_9ce60d86-be7b-45b6-b19f-308875c34f01.webp?v=1714704047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96901c5c225347f5889a52bb711bce18d298617c_9ce60d86-be7b-45b6-b19f-308875c34f01.webp?v=1714704047","width":2000},{"alt":null,"id":23875106603107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2aa87310ac9dc0e632faef961187c4351f1645f_49c83ed1-9de8-46e4-bb50-4a4df021b235.webp?v=1714704049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2aa87310ac9dc0e632faef961187c4351f1645f_49c83ed1-9de8-46e4-bb50-4a4df021b235.webp?v=1714704049","width":2000},{"alt":null,"id":23875107127395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0420e95e3e091ea8aa1b1f9458e2da8da4a2a886_dd4911d3-9450-4b02-a188-a7900426ce47.webp?v=1714704052"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0420e95e3e091ea8aa1b1f9458e2da8da4a2a886_dd4911d3-9450-4b02-a188-a7900426ce47.webp?v=1714704052","width":2000},{"alt":null,"id":23875107684451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb0a905b3f15cdc4d95f3411b29aecdcefe069c_94c0319f-c700-4ba1-96a3-3989e8cc0a25.webp?v=1714704054"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb0a905b3f15cdc4d95f3411b29aecdcefe069c_94c0319f-c700-4ba1-96a3-3989e8cc0a25.webp?v=1714704054","width":2000},{"alt":null,"id":23875108569187,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f47c03a947a6f17b6152fd46ad05b0eaa04d89f_b1311cb8-1b25-44ce-88a4-80784c2b7e79.webp?v=1714704056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f47c03a947a6f17b6152fd46ad05b0eaa04d89f_b1311cb8-1b25-44ce-88a4-80784c2b7e79.webp?v=1714704056","width":2000},{"alt":null,"id":23875109126243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ea2dd4adb8bc0b2e145b7248ec3ed32e8630e58_17e1b08d-9519-4017-98df-96c3f6842f1e.webp?v=1714704059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ea2dd4adb8bc0b2e145b7248ec3ed32e8630e58_17e1b08d-9519-4017-98df-96c3f6842f1e.webp?v=1714704059","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41877534670947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470199406691,"product_id":7407678226531,"position":1,"created_at":"2024-05-03T10:40:36+08:00","updated_at":"2024-05-03T10:40:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036","variant_ids":[41877534670947]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 在幹嘛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-IV06","featured_media":{"alt":null,"id":23875102441571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877534736483,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470204682339,"product_id":7407678226531,"position":8,"created_at":"2024-05-03T10:40:54+08:00","updated_at":"2024-05-03T10:40:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb0a905b3f15cdc4d95f3411b29aecdcefe069c_94c0319f-c700-4ba1-96a3-3989e8cc0a25.webp?v=1714704054","variant_ids":[41877534736483]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 在幹嘛 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-IV06","featured_media":{"alt":null,"id":23875107684451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb0a905b3f15cdc4d95f3411b29aecdcefe069c_94c0319f-c700-4ba1-96a3-3989e8cc0a25.webp?v=1714704054"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877534965859,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470200160355,"product_id":7407678226531,"position":2,"created_at":"2024-05-03T10:40:39+08:00","updated_at":"2024-05-03T10:40:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f79f16b172b7a859fc90ce2117af948ca20da9_5d3226d3-8338-4ed6-adb1-6948616d2fe1.webp?v=1714704039","variant_ids":[41877534965859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 在幹嘛 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-IV06","featured_media":{"alt":null,"id":23875103129699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03f79f16b172b7a859fc90ce2117af948ca20da9_5d3226d3-8338-4ed6-adb1-6948616d2fe1.webp?v=1714704039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41877534670947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470199406691,"product_id":7407678226531,"position":1,"created_at":"2024-05-03T10:40:36+08:00","updated_at":"2024-05-03T10:40:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036","variant_ids":[41877534670947]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 在幹嘛 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-IV06","featured_media":{"alt":null,"id":23875102441571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d34037330edd8b90b1d24486fd3ed693f32c73_3f0a90c6-aca0-4d27-8ff5-34aca31d2978.webp?v=1714704036"}},"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: "停產" }