$product = {"id":7408652419171,"title":"犀牛盾Mod NX手機殼 - iPhone 11 Pro Max - 【聯名設計款】 - 1G - J個好","handle":"iphone-11-pro-max-mod-nx-printable-iv08","description":"","published_at":"2024-06-11T16:43:14+08:00","created_at":"2024-05-03T17:24:39+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 11 Pro Max","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":41887840436323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114924-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":33289854189667,"product_id":7408652419171,"position":8,"created_at":"2025-01-22T14:42:32+08:00","updated_at":"2025-01-22T14:42:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d0b7a331fee94affae10de3a91a99bb481f8353_e88821c7-7470-4ee1-8de1-8d25f3aae1e0.webp?v=1737528152","variant_ids":[41887840436323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 Pro Max - 【聯名設計款】 - 1G - J個好 - 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":"NPB0114924-IV08","featured_media":{"alt":null,"id":25221935464547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d0b7a331fee94affae10de3a91a99bb481f8353_e88821c7-7470-4ee1-8de1-8d25f3aae1e0.webp?v=1737528152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53edd31924ad6a1f3cca27ee2abbadd667019ef_f7a95524-03d4-4b94-8d1e-30779d224f21.webp?v=1737528152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81bc2d8cb8b09a58f4547bfecb2fb2acbb7b7aec_099d258a-fbca-4b8a-9fc0-fe529e87fdd6.webp?v=1737528152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0825d3cfe2eba3557fe70ac21b74179f8271973_a80131b7-a087-4ab3-bd22-a252003854e4.webp?v=1737528152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2703573c8dded2cd2bad81b41fbf55bffc2ed5ca_a4924fd0-d455-4436-b244-43a5610d8ec4.webp?v=1737528152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d9efc498e7cba9dbe5b2fb367d93c50fd5ed40_53de8607-3798-4897-9a9d-bb5ca798860c.webp?v=1737528152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e788856a7a6eb1267aa33db435d1d1c3201e289_fb2c1334-c142-485b-91ce-d65eccc9dbfa.webp?v=1737528152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e07b583823e910507938e133ac82f67a5030cf8a_2627442b-38ea-42e4-a19c-32ce8b52b85b.webp?v=1737528152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d0b7a331fee94affae10de3a91a99bb481f8353_e88821c7-7470-4ee1-8de1-8d25f3aae1e0.webp?v=1737528152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607571a2d6639203e183cd0382b98c34bb6ada7a_e0390dbd-7c8b-4a1a-b48a-7dc19ef6c9f6.webp?v=1737528152"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53edd31924ad6a1f3cca27ee2abbadd667019ef_f7a95524-03d4-4b94-8d1e-30779d224f21.webp?v=1737528152","options":["color"],"media":[{"alt":null,"id":23878090588259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53edd31924ad6a1f3cca27ee2abbadd667019ef_f7a95524-03d4-4b94-8d1e-30779d224f21.webp?v=1737528152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e53edd31924ad6a1f3cca27ee2abbadd667019ef_f7a95524-03d4-4b94-8d1e-30779d224f21.webp?v=1737528152","width":2000},{"alt":null,"id":23878091145315,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81bc2d8cb8b09a58f4547bfecb2fb2acbb7b7aec_099d258a-fbca-4b8a-9fc0-fe529e87fdd6.webp?v=1737528152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81bc2d8cb8b09a58f4547bfecb2fb2acbb7b7aec_099d258a-fbca-4b8a-9fc0-fe529e87fdd6.webp?v=1737528152","width":2000},{"alt":null,"id":23878091669603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0825d3cfe2eba3557fe70ac21b74179f8271973_a80131b7-a087-4ab3-bd22-a252003854e4.webp?v=1737528152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0825d3cfe2eba3557fe70ac21b74179f8271973_a80131b7-a087-4ab3-bd22-a252003854e4.webp?v=1737528152","width":2000},{"alt":null,"id":23878092193891,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2703573c8dded2cd2bad81b41fbf55bffc2ed5ca_a4924fd0-d455-4436-b244-43a5610d8ec4.webp?v=1737528152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2703573c8dded2cd2bad81b41fbf55bffc2ed5ca_a4924fd0-d455-4436-b244-43a5610d8ec4.webp?v=1737528152","width":2000},{"alt":null,"id":23878092652643,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d9efc498e7cba9dbe5b2fb367d93c50fd5ed40_53de8607-3798-4897-9a9d-bb5ca798860c.webp?v=1737528152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26d9efc498e7cba9dbe5b2fb367d93c50fd5ed40_53de8607-3798-4897-9a9d-bb5ca798860c.webp?v=1737528152","width":2000},{"alt":null,"id":23878093865059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e788856a7a6eb1267aa33db435d1d1c3201e289_fb2c1334-c142-485b-91ce-d65eccc9dbfa.webp?v=1737528152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e788856a7a6eb1267aa33db435d1d1c3201e289_fb2c1334-c142-485b-91ce-d65eccc9dbfa.webp?v=1737528152","width":2000},{"alt":null,"id":23878094487651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e07b583823e910507938e133ac82f67a5030cf8a_2627442b-38ea-42e4-a19c-32ce8b52b85b.webp?v=1737528152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e07b583823e910507938e133ac82f67a5030cf8a_2627442b-38ea-42e4-a19c-32ce8b52b85b.webp?v=1737528152","width":2000},{"alt":null,"id":25221935464547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d0b7a331fee94affae10de3a91a99bb481f8353_e88821c7-7470-4ee1-8de1-8d25f3aae1e0.webp?v=1737528152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d0b7a331fee94affae10de3a91a99bb481f8353_e88821c7-7470-4ee1-8de1-8d25f3aae1e0.webp?v=1737528152","width":2000},{"alt":null,"id":23878095568995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607571a2d6639203e183cd0382b98c34bb6ada7a_e0390dbd-7c8b-4a1a-b48a-7dc19ef6c9f6.webp?v=1737528152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607571a2d6639203e183cd0382b98c34bb6ada7a_e0390dbd-7c8b-4a1a-b48a-7dc19ef6c9f6.webp?v=1737528152","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""}; $bumper = null; $variants = [{"id":41887840436323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114924-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":33289854189667,"product_id":7408652419171,"position":8,"created_at":"2025-01-22T14:42:32+08:00","updated_at":"2025-01-22T14:42:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d0b7a331fee94affae10de3a91a99bb481f8353_e88821c7-7470-4ee1-8de1-8d25f3aae1e0.webp?v=1737528152","variant_ids":[41887840436323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 Pro Max - 【聯名設計款】 - 1G - J個好 - 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":"NPB0114924-IV08","featured_media":{"alt":null,"id":25221935464547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d0b7a331fee94affae10de3a91a99bb481f8353_e88821c7-7470-4ee1-8de1-8d25f3aae1e0.webp?v=1737528152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41887840436323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114924-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":33289854189667,"product_id":7408652419171,"position":8,"created_at":"2025-01-22T14:42:32+08:00","updated_at":"2025-01-22T14:42:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d0b7a331fee94affae10de3a91a99bb481f8353_e88821c7-7470-4ee1-8de1-8d25f3aae1e0.webp?v=1737528152","variant_ids":[41887840436323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 Pro Max - 【聯名設計款】 - 1G - J個好 - 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":"NPB0114924-IV08","featured_media":{"alt":null,"id":25221935464547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d0b7a331fee94affae10de3a91a99bb481f8353_e88821c7-7470-4ee1-8de1-8d25f3aae1e0.webp?v=1737528152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }