$product = {"id":7407938175075,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 抱一個","handle":"iphone-14-pro-mod-nx-printable-iv03","description":null,"published_at":"2024-06-11T16:27:03+08:00","created_at":"2024-05-03T11:19:38+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":41880773132387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470749024355,"product_id":7407938175075,"position":2,"created_at":"2024-05-03T11:19:42+08:00","updated_at":"2024-05-03T11:19:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b785660fb173942bab869f3bbacef3421e60057_e49a5c68-fca8-469a-9790-d06f3744f100.webp?v=1714706382","variant_ids":[41880773132387]},"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-IV03","featured_media":{"alt":null,"id":23875653402723,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b785660fb173942bab869f3bbacef3421e60057_e49a5c68-fca8-469a-9790-d06f3744f100.webp?v=1714706382"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880773197923,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470749745251,"product_id":7407938175075,"position":3,"created_at":"2024-05-03T11:19:45+08:00","updated_at":"2024-05-03T11:19:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e2f99af294b2a5ec9c376b126c93d63c955edb9_c0a20dcb-1ed1-464f-a2fb-0482180a8a47.webp?v=1714706385","variant_ids":[41880773197923]},"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-IV03","featured_media":{"alt":null,"id":23875654090851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e2f99af294b2a5ec9c376b126c93d63c955edb9_c0a20dcb-1ed1-464f-a2fb-0482180a8a47.webp?v=1714706385"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880773460067,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470751383651,"product_id":7407938175075,"position":6,"created_at":"2024-05-03T11:19:52+08:00","updated_at":"2024-05-03T11:19:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281c9363cd81f2f05cc3f022daac811b77b697c_d2117884-625b-4454-8a4f-d2025eb5507b.webp?v=1714706392","variant_ids":[41880773460067]},"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-IV03","featured_media":{"alt":null,"id":23875655532643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281c9363cd81f2f05cc3f022daac811b77b697c_d2117884-625b-4454-8a4f-d2025eb5507b.webp?v=1714706392"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68b5b707a341176c3d8b25a8bac55c3c51537bea_2be634f4-f32a-487a-8b02-a3f8875c1a63.webp?v=1714706380","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b785660fb173942bab869f3bbacef3421e60057_e49a5c68-fca8-469a-9790-d06f3744f100.webp?v=1714706382","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e2f99af294b2a5ec9c376b126c93d63c955edb9_c0a20dcb-1ed1-464f-a2fb-0482180a8a47.webp?v=1714706385","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eeec1ac5b24a4714fb4890410e47f6c0bb92941_512bf3a5-d486-4f89-9ee4-a3e88bbc7ccb.webp?v=1714706387","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f465ecc5f033460c25e67e6ecfc265c116ab3cd_9d2d319c-6c4c-4b38-bb25-14931a66719e.webp?v=1714706390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281c9363cd81f2f05cc3f022daac811b77b697c_d2117884-625b-4454-8a4f-d2025eb5507b.webp?v=1714706392","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a66224748a1f2caca8a28abeb48eb8f4673512a8_6276c62a-bd72-4ad9-9d10-e8fa7e842cce.webp?v=1714706394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d0c3b54c0960e4d93150cb5d2fe656eb44633d0_1880884e-3a3d-4c2d-aeed-89ad6ad93d6f.webp?v=1714706396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4adaff79cc09de4d9e4bfd8f906d5ec7debec9aa_7a448ad8-9ef1-4bd0-b5e5-e51501fad6fd.webp?v=1714706399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f25bd7ed4558b8eedb1fe100a7572a8ae3568c1_bcb6d398-e2f0-45b1-9a04-4d904cc3f7b6.webp?v=1714706401"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68b5b707a341176c3d8b25a8bac55c3c51537bea_2be634f4-f32a-487a-8b02-a3f8875c1a63.webp?v=1714706380","options":["color"],"media":[{"alt":null,"id":23875652911203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68b5b707a341176c3d8b25a8bac55c3c51537bea_2be634f4-f32a-487a-8b02-a3f8875c1a63.webp?v=1714706380"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68b5b707a341176c3d8b25a8bac55c3c51537bea_2be634f4-f32a-487a-8b02-a3f8875c1a63.webp?v=1714706380","width":2000},{"alt":null,"id":23875653402723,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b785660fb173942bab869f3bbacef3421e60057_e49a5c68-fca8-469a-9790-d06f3744f100.webp?v=1714706382"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b785660fb173942bab869f3bbacef3421e60057_e49a5c68-fca8-469a-9790-d06f3744f100.webp?v=1714706382","width":2000},{"alt":null,"id":23875654090851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e2f99af294b2a5ec9c376b126c93d63c955edb9_c0a20dcb-1ed1-464f-a2fb-0482180a8a47.webp?v=1714706385"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e2f99af294b2a5ec9c376b126c93d63c955edb9_c0a20dcb-1ed1-464f-a2fb-0482180a8a47.webp?v=1714706385","width":2000},{"alt":null,"id":23875654516835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eeec1ac5b24a4714fb4890410e47f6c0bb92941_512bf3a5-d486-4f89-9ee4-a3e88bbc7ccb.webp?v=1714706387"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eeec1ac5b24a4714fb4890410e47f6c0bb92941_512bf3a5-d486-4f89-9ee4-a3e88bbc7ccb.webp?v=1714706387","width":2000},{"alt":null,"id":23875655172195,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f465ecc5f033460c25e67e6ecfc265c116ab3cd_9d2d319c-6c4c-4b38-bb25-14931a66719e.webp?v=1714706390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f465ecc5f033460c25e67e6ecfc265c116ab3cd_9d2d319c-6c4c-4b38-bb25-14931a66719e.webp?v=1714706390","width":2000},{"alt":null,"id":23875655532643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281c9363cd81f2f05cc3f022daac811b77b697c_d2117884-625b-4454-8a4f-d2025eb5507b.webp?v=1714706392"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281c9363cd81f2f05cc3f022daac811b77b697c_d2117884-625b-4454-8a4f-d2025eb5507b.webp?v=1714706392","width":2000},{"alt":null,"id":23875656155235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a66224748a1f2caca8a28abeb48eb8f4673512a8_6276c62a-bd72-4ad9-9d10-e8fa7e842cce.webp?v=1714706394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a66224748a1f2caca8a28abeb48eb8f4673512a8_6276c62a-bd72-4ad9-9d10-e8fa7e842cce.webp?v=1714706394","width":2000},{"alt":null,"id":23875656515683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d0c3b54c0960e4d93150cb5d2fe656eb44633d0_1880884e-3a3d-4c2d-aeed-89ad6ad93d6f.webp?v=1714706396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d0c3b54c0960e4d93150cb5d2fe656eb44633d0_1880884e-3a3d-4c2d-aeed-89ad6ad93d6f.webp?v=1714706396","width":2000},{"alt":null,"id":23875656941667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4adaff79cc09de4d9e4bfd8f906d5ec7debec9aa_7a448ad8-9ef1-4bd0-b5e5-e51501fad6fd.webp?v=1714706399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4adaff79cc09de4d9e4bfd8f906d5ec7debec9aa_7a448ad8-9ef1-4bd0-b5e5-e51501fad6fd.webp?v=1714706399","width":2000},{"alt":null,"id":23875657498723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f25bd7ed4558b8eedb1fe100a7572a8ae3568c1_bcb6d398-e2f0-45b1-9a04-4d904cc3f7b6.webp?v=1714706401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f25bd7ed4558b8eedb1fe100a7572a8ae3568c1_bcb6d398-e2f0-45b1-9a04-4d904cc3f7b6.webp?v=1714706401","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880773132387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470749024355,"product_id":7407938175075,"position":2,"created_at":"2024-05-03T11:19:42+08:00","updated_at":"2024-05-03T11:19:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b785660fb173942bab869f3bbacef3421e60057_e49a5c68-fca8-469a-9790-d06f3744f100.webp?v=1714706382","variant_ids":[41880773132387]},"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-IV03","featured_media":{"alt":null,"id":23875653402723,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b785660fb173942bab869f3bbacef3421e60057_e49a5c68-fca8-469a-9790-d06f3744f100.webp?v=1714706382"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880773197923,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470749745251,"product_id":7407938175075,"position":3,"created_at":"2024-05-03T11:19:45+08:00","updated_at":"2024-05-03T11:19:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e2f99af294b2a5ec9c376b126c93d63c955edb9_c0a20dcb-1ed1-464f-a2fb-0482180a8a47.webp?v=1714706385","variant_ids":[41880773197923]},"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-IV03","featured_media":{"alt":null,"id":23875654090851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e2f99af294b2a5ec9c376b126c93d63c955edb9_c0a20dcb-1ed1-464f-a2fb-0482180a8a47.webp?v=1714706385"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880773460067,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470751383651,"product_id":7407938175075,"position":6,"created_at":"2024-05-03T11:19:52+08:00","updated_at":"2024-05-03T11:19:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281c9363cd81f2f05cc3f022daac811b77b697c_d2117884-625b-4454-8a4f-d2025eb5507b.webp?v=1714706392","variant_ids":[41880773460067]},"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-IV03","featured_media":{"alt":null,"id":23875655532643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2281c9363cd81f2f05cc3f022daac811b77b697c_d2117884-625b-4454-8a4f-d2025eb5507b.webp?v=1714706392"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880773132387,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV03","requires_shipping":true,"taxable":true,"featured_image":{"id":31470749024355,"product_id":7407938175075,"position":2,"created_at":"2024-05-03T11:19:42+08:00","updated_at":"2024-05-03T11:19:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b785660fb173942bab869f3bbacef3421e60057_e49a5c68-fca8-469a-9790-d06f3744f100.webp?v=1714706382","variant_ids":[41880773132387]},"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-IV03","featured_media":{"alt":null,"id":23875653402723,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b785660fb173942bab869f3bbacef3421e60057_e49a5c68-fca8-469a-9790-d06f3744f100.webp?v=1714706382"}},"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: "停產" }