$product = {"id":7407884337251,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 人在做 大堡礁在看","handle":"iphone-14-pro-mod-nx-printable-af07","description":null,"published_at":"2024-06-11T16:25:33+08:00","created_at":"2024-05-03T11:09:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-look","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":41880054431843,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470618148963,"product_id":7407884337251,"position":9,"created_at":"2024-05-03T11:09:25+08:00","updated_at":"2024-05-03T11:09:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def7814d701679374cbfbb61435bbc06ff160ec7_c8327222-78b2-4ca0-b079-29b683546353.webp?v=1714705765","variant_ids":[41880054431843]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 人在做 大堡礁在看 - 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-AF07","featured_media":{"alt":null,"id":23875522101347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def7814d701679374cbfbb61435bbc06ff160ec7_c8327222-78b2-4ca0-b079-29b683546353.webp?v=1714705765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880054497379,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470618607715,"product_id":7407884337251,"position":10,"created_at":"2024-05-03T11:09:28+08:00","updated_at":"2024-05-03T11:09:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fae01e691b0e845d141e32bcb290096795debe_1b5950e6-5856-41f6-8ffd-674bb515d357.webp?v=1714705768","variant_ids":[41880054497379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 人在做 大堡礁在看 - 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-AF07","featured_media":{"alt":null,"id":23875522658403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fae01e691b0e845d141e32bcb290096795debe_1b5950e6-5856-41f6-8ffd-674bb515d357.webp?v=1714705768"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880054726755,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470615068771,"product_id":7407884337251,"position":3,"created_at":"2024-05-03T11:09:11+08:00","updated_at":"2024-05-03T11:09:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ee024c225a3bfc1b29497714280209d6aa0608_548f02a5-b2a8-4151-96f1-aab95f3bd57f.webp?v=1714705751","variant_ids":[41880054726755]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 人在做 大堡礁在看 - 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-AF07","featured_media":{"alt":null,"id":23875518988387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ee024c225a3bfc1b29497714280209d6aa0608_548f02a5-b2a8-4151-96f1-aab95f3bd57f.webp?v=1714705751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22d028d52989bb1ddb29dd44327459f4f274359b_dfd615af-5123-4ea5-88de-799be7caa779.webp?v=1714705746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eaa8881ee42ef30f93461238f6559aadce4cdbb_1734d7a5-5393-4e2c-a80f-eb3747338b05.webp?v=1714705748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ee024c225a3bfc1b29497714280209d6aa0608_548f02a5-b2a8-4151-96f1-aab95f3bd57f.webp?v=1714705751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1374fd63f8a3f4ce88b3327b80fff32c917e00ab_48cece88-e177-4672-9259-16288f4e14d5.webp?v=1714705753","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3d29e578a5c467b018266529fdc3e136fa80fa_b83e2e88-db8d-4d9a-a7ea-a001e8d7a2e4.webp?v=1714705756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb61520220c01e09f4fd0e0d856f154f355b9a5_7693a6da-594b-4c39-b731-91524c9c5d4a.webp?v=1714705758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cff67911db3e34362c8ce7eba734fca4dc3d2af9_36e0d935-53f5-4a18-a5dd-5c5c3087ad00.webp?v=1714705760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15a157c7900dfd4fcf9b8558e031dfa76c24b70_8e7d177c-dd74-41bc-b6bf-855627942089.webp?v=1714705763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def7814d701679374cbfbb61435bbc06ff160ec7_c8327222-78b2-4ca0-b079-29b683546353.webp?v=1714705765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fae01e691b0e845d141e32bcb290096795debe_1b5950e6-5856-41f6-8ffd-674bb515d357.webp?v=1714705768"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22d028d52989bb1ddb29dd44327459f4f274359b_dfd615af-5123-4ea5-88de-799be7caa779.webp?v=1714705746","options":["color"],"media":[{"alt":null,"id":23875517874275,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22d028d52989bb1ddb29dd44327459f4f274359b_dfd615af-5123-4ea5-88de-799be7caa779.webp?v=1714705746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22d028d52989bb1ddb29dd44327459f4f274359b_dfd615af-5123-4ea5-88de-799be7caa779.webp?v=1714705746","width":2000},{"alt":null,"id":23875518398563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eaa8881ee42ef30f93461238f6559aadce4cdbb_1734d7a5-5393-4e2c-a80f-eb3747338b05.webp?v=1714705748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5eaa8881ee42ef30f93461238f6559aadce4cdbb_1734d7a5-5393-4e2c-a80f-eb3747338b05.webp?v=1714705748","width":2000},{"alt":null,"id":23875518988387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ee024c225a3bfc1b29497714280209d6aa0608_548f02a5-b2a8-4151-96f1-aab95f3bd57f.webp?v=1714705751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ee024c225a3bfc1b29497714280209d6aa0608_548f02a5-b2a8-4151-96f1-aab95f3bd57f.webp?v=1714705751","width":2000},{"alt":null,"id":23875519512675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1374fd63f8a3f4ce88b3327b80fff32c917e00ab_48cece88-e177-4672-9259-16288f4e14d5.webp?v=1714705753"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1374fd63f8a3f4ce88b3327b80fff32c917e00ab_48cece88-e177-4672-9259-16288f4e14d5.webp?v=1714705753","width":2000},{"alt":null,"id":23875520004195,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3d29e578a5c467b018266529fdc3e136fa80fa_b83e2e88-db8d-4d9a-a7ea-a001e8d7a2e4.webp?v=1714705756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3d29e578a5c467b018266529fdc3e136fa80fa_b83e2e88-db8d-4d9a-a7ea-a001e8d7a2e4.webp?v=1714705756","width":2000},{"alt":null,"id":23875520561251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb61520220c01e09f4fd0e0d856f154f355b9a5_7693a6da-594b-4c39-b731-91524c9c5d4a.webp?v=1714705758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb61520220c01e09f4fd0e0d856f154f355b9a5_7693a6da-594b-4c39-b731-91524c9c5d4a.webp?v=1714705758","width":2000},{"alt":null,"id":23875521020003,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cff67911db3e34362c8ce7eba734fca4dc3d2af9_36e0d935-53f5-4a18-a5dd-5c5c3087ad00.webp?v=1714705760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cff67911db3e34362c8ce7eba734fca4dc3d2af9_36e0d935-53f5-4a18-a5dd-5c5c3087ad00.webp?v=1714705760","width":2000},{"alt":null,"id":23875521478755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15a157c7900dfd4fcf9b8558e031dfa76c24b70_8e7d177c-dd74-41bc-b6bf-855627942089.webp?v=1714705763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15a157c7900dfd4fcf9b8558e031dfa76c24b70_8e7d177c-dd74-41bc-b6bf-855627942089.webp?v=1714705763","width":2000},{"alt":null,"id":23875522101347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def7814d701679374cbfbb61435bbc06ff160ec7_c8327222-78b2-4ca0-b079-29b683546353.webp?v=1714705765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def7814d701679374cbfbb61435bbc06ff160ec7_c8327222-78b2-4ca0-b079-29b683546353.webp?v=1714705765","width":2000},{"alt":null,"id":23875522658403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fae01e691b0e845d141e32bcb290096795debe_1b5950e6-5856-41f6-8ffd-674bb515d357.webp?v=1714705768"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fae01e691b0e845d141e32bcb290096795debe_1b5950e6-5856-41f6-8ffd-674bb515d357.webp?v=1714705768","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880054431843,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470618148963,"product_id":7407884337251,"position":9,"created_at":"2024-05-03T11:09:25+08:00","updated_at":"2024-05-03T11:09:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def7814d701679374cbfbb61435bbc06ff160ec7_c8327222-78b2-4ca0-b079-29b683546353.webp?v=1714705765","variant_ids":[41880054431843]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 人在做 大堡礁在看 - 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-AF07","featured_media":{"alt":null,"id":23875522101347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def7814d701679374cbfbb61435bbc06ff160ec7_c8327222-78b2-4ca0-b079-29b683546353.webp?v=1714705765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880054497379,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470618607715,"product_id":7407884337251,"position":10,"created_at":"2024-05-03T11:09:28+08:00","updated_at":"2024-05-03T11:09:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fae01e691b0e845d141e32bcb290096795debe_1b5950e6-5856-41f6-8ffd-674bb515d357.webp?v=1714705768","variant_ids":[41880054497379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 人在做 大堡礁在看 - 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-AF07","featured_media":{"alt":null,"id":23875522658403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81fae01e691b0e845d141e32bcb290096795debe_1b5950e6-5856-41f6-8ffd-674bb515d357.webp?v=1714705768"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880054726755,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470615068771,"product_id":7407884337251,"position":3,"created_at":"2024-05-03T11:09:11+08:00","updated_at":"2024-05-03T11:09:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ee024c225a3bfc1b29497714280209d6aa0608_548f02a5-b2a8-4151-96f1-aab95f3bd57f.webp?v=1714705751","variant_ids":[41880054726755]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 人在做 大堡礁在看 - 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-AF07","featured_media":{"alt":null,"id":23875518988387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ee024c225a3bfc1b29497714280209d6aa0608_548f02a5-b2a8-4151-96f1-aab95f3bd57f.webp?v=1714705751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880054431843,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470618148963,"product_id":7407884337251,"position":9,"created_at":"2024-05-03T11:09:25+08:00","updated_at":"2024-05-03T11:09:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def7814d701679374cbfbb61435bbc06ff160ec7_c8327222-78b2-4ca0-b079-29b683546353.webp?v=1714705765","variant_ids":[41880054431843]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 人在做 大堡礁在看 - 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-AF07","featured_media":{"alt":null,"id":23875522101347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def7814d701679374cbfbb61435bbc06ff160ec7_c8327222-78b2-4ca0-b079-29b683546353.webp?v=1714705765"}},"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: "停產" }