$product = {"id":7407961964643,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 1G - 左看看","handle":"iphone-14-pro-mod-nx-printable-iv05","description":null,"published_at":"2024-06-11T16:27:43+08:00","created_at":"2024-05-03T11:24:16+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":41881089376355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470813216867,"product_id":7407961964643,"position":3,"created_at":"2024-05-03T11:24:23+08:00","updated_at":"2024-05-03T11:24:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10d4b40ce82d9c9a99948dfcb29fd820de979e9_602cab03-6362-4174-8da4-325d3abed702.webp?v=1714706663","variant_ids":[41881089376355]},"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-IV05","featured_media":{"alt":null,"id":23875717496931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10d4b40ce82d9c9a99948dfcb29fd820de979e9_602cab03-6362-4174-8da4-325d3abed702.webp?v=1714706663"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881089507427,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470814658659,"product_id":7407961964643,"position":6,"created_at":"2024-05-03T11:24:30+08:00","updated_at":"2024-05-03T11:24:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfab9df16bfccc57d77c2331ae2a82f705e658fe_9c82f249-f1ce-475c-bcdd-0ba8262084eb.webp?v=1714706670","variant_ids":[41881089507427]},"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-IV05","featured_media":{"alt":null,"id":23875718938723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfab9df16bfccc57d77c2331ae2a82f705e658fe_9c82f249-f1ce-475c-bcdd-0ba8262084eb.webp?v=1714706670"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881089736803,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470815510627,"product_id":7407961964643,"position":8,"created_at":"2024-05-03T11:24:35+08:00","updated_at":"2024-05-03T11:24:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/124b861e7e5d5e35507f75b750bc99421b2d45a2_fda04000-23a5-4311-a604-a9a00c153a42.webp?v=1714706675","variant_ids":[41881089736803]},"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-IV05","featured_media":{"alt":null,"id":23875719790691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/124b861e7e5d5e35507f75b750bc99421b2d45a2_fda04000-23a5-4311-a604-a9a00c153a42.webp?v=1714706675"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e9fc6a4178809d34f7045ca8c66cd847742943_f4670407-6897-4475-810b-cd822227e4d3.webp?v=1714706659","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6210886162c2c1cab1e5379bb19a8734cfcc98_76239ebb-3ba8-4e59-83df-6fb2244d4b16.webp?v=1714706661","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10d4b40ce82d9c9a99948dfcb29fd820de979e9_602cab03-6362-4174-8da4-325d3abed702.webp?v=1714706663","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae2f026fe4084f21336218673fdb5057294e0e57_a8093fc6-7ede-4f7a-b9fb-f810a5be8e9b.webp?v=1714706666","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55d0ddbf524fe850a3bfc3f1a91ec920abd48d69_5c18a11d-f2d3-455f-8ec3-86545c19604f.webp?v=1714706668","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfab9df16bfccc57d77c2331ae2a82f705e658fe_9c82f249-f1ce-475c-bcdd-0ba8262084eb.webp?v=1714706670","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a23f4768edeb9bd03226662b2a904e675e0f5663_61f482a8-2dab-45d1-87ac-49d2878234dc.webp?v=1714706672","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/124b861e7e5d5e35507f75b750bc99421b2d45a2_fda04000-23a5-4311-a604-a9a00c153a42.webp?v=1714706675","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaff1cb7a628b2ff562ffbf63c3d2b6aa14a074_69525d96-d28a-4f07-a9c4-201d169d8a4d.webp?v=1714706677","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e358141765e0ef15ded67b95ac9d4f121c437d_b7e0192e-8f3f-467e-ae9a-5412ae1a3537.webp?v=1714706679"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e9fc6a4178809d34f7045ca8c66cd847742943_f4670407-6897-4475-810b-cd822227e4d3.webp?v=1714706659","options":["color"],"media":[{"alt":null,"id":23875716448355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e9fc6a4178809d34f7045ca8c66cd847742943_f4670407-6897-4475-810b-cd822227e4d3.webp?v=1714706659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e9fc6a4178809d34f7045ca8c66cd847742943_f4670407-6897-4475-810b-cd822227e4d3.webp?v=1714706659","width":2000},{"alt":null,"id":23875717005411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6210886162c2c1cab1e5379bb19a8734cfcc98_76239ebb-3ba8-4e59-83df-6fb2244d4b16.webp?v=1714706661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b6210886162c2c1cab1e5379bb19a8734cfcc98_76239ebb-3ba8-4e59-83df-6fb2244d4b16.webp?v=1714706661","width":2000},{"alt":null,"id":23875717496931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10d4b40ce82d9c9a99948dfcb29fd820de979e9_602cab03-6362-4174-8da4-325d3abed702.webp?v=1714706663"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10d4b40ce82d9c9a99948dfcb29fd820de979e9_602cab03-6362-4174-8da4-325d3abed702.webp?v=1714706663","width":2000},{"alt":null,"id":23875718021219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae2f026fe4084f21336218673fdb5057294e0e57_a8093fc6-7ede-4f7a-b9fb-f810a5be8e9b.webp?v=1714706666"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae2f026fe4084f21336218673fdb5057294e0e57_a8093fc6-7ede-4f7a-b9fb-f810a5be8e9b.webp?v=1714706666","width":2000},{"alt":null,"id":23875718414435,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55d0ddbf524fe850a3bfc3f1a91ec920abd48d69_5c18a11d-f2d3-455f-8ec3-86545c19604f.webp?v=1714706668"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55d0ddbf524fe850a3bfc3f1a91ec920abd48d69_5c18a11d-f2d3-455f-8ec3-86545c19604f.webp?v=1714706668","width":2000},{"alt":null,"id":23875718938723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfab9df16bfccc57d77c2331ae2a82f705e658fe_9c82f249-f1ce-475c-bcdd-0ba8262084eb.webp?v=1714706670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfab9df16bfccc57d77c2331ae2a82f705e658fe_9c82f249-f1ce-475c-bcdd-0ba8262084eb.webp?v=1714706670","width":2000},{"alt":null,"id":23875719397475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a23f4768edeb9bd03226662b2a904e675e0f5663_61f482a8-2dab-45d1-87ac-49d2878234dc.webp?v=1714706672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a23f4768edeb9bd03226662b2a904e675e0f5663_61f482a8-2dab-45d1-87ac-49d2878234dc.webp?v=1714706672","width":2000},{"alt":null,"id":23875719790691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/124b861e7e5d5e35507f75b750bc99421b2d45a2_fda04000-23a5-4311-a604-a9a00c153a42.webp?v=1714706675"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/124b861e7e5d5e35507f75b750bc99421b2d45a2_fda04000-23a5-4311-a604-a9a00c153a42.webp?v=1714706675","width":2000},{"alt":null,"id":23875720216675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaff1cb7a628b2ff562ffbf63c3d2b6aa14a074_69525d96-d28a-4f07-a9c4-201d169d8a4d.webp?v=1714706677"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6eaff1cb7a628b2ff562ffbf63c3d2b6aa14a074_69525d96-d28a-4f07-a9c4-201d169d8a4d.webp?v=1714706677","width":2000},{"alt":null,"id":23875720872035,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e358141765e0ef15ded67b95ac9d4f121c437d_b7e0192e-8f3f-467e-ae9a-5412ae1a3537.webp?v=1714706679"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e358141765e0ef15ded67b95ac9d4f121c437d_b7e0192e-8f3f-467e-ae9a-5412ae1a3537.webp?v=1714706679","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881089376355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470813216867,"product_id":7407961964643,"position":3,"created_at":"2024-05-03T11:24:23+08:00","updated_at":"2024-05-03T11:24:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10d4b40ce82d9c9a99948dfcb29fd820de979e9_602cab03-6362-4174-8da4-325d3abed702.webp?v=1714706663","variant_ids":[41881089376355]},"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-IV05","featured_media":{"alt":null,"id":23875717496931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10d4b40ce82d9c9a99948dfcb29fd820de979e9_602cab03-6362-4174-8da4-325d3abed702.webp?v=1714706663"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881089507427,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470814658659,"product_id":7407961964643,"position":6,"created_at":"2024-05-03T11:24:30+08:00","updated_at":"2024-05-03T11:24:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfab9df16bfccc57d77c2331ae2a82f705e658fe_9c82f249-f1ce-475c-bcdd-0ba8262084eb.webp?v=1714706670","variant_ids":[41881089507427]},"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-IV05","featured_media":{"alt":null,"id":23875718938723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfab9df16bfccc57d77c2331ae2a82f705e658fe_9c82f249-f1ce-475c-bcdd-0ba8262084eb.webp?v=1714706670"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881089736803,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470815510627,"product_id":7407961964643,"position":8,"created_at":"2024-05-03T11:24:35+08:00","updated_at":"2024-05-03T11:24:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/124b861e7e5d5e35507f75b750bc99421b2d45a2_fda04000-23a5-4311-a604-a9a00c153a42.webp?v=1714706675","variant_ids":[41881089736803]},"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-IV05","featured_media":{"alt":null,"id":23875719790691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/124b861e7e5d5e35507f75b750bc99421b2d45a2_fda04000-23a5-4311-a604-a9a00c153a42.webp?v=1714706675"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881089376355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-IV05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470813216867,"product_id":7407961964643,"position":3,"created_at":"2024-05-03T11:24:23+08:00","updated_at":"2024-05-03T11:24:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10d4b40ce82d9c9a99948dfcb29fd820de979e9_602cab03-6362-4174-8da4-325d3abed702.webp?v=1714706663","variant_ids":[41881089376355]},"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-IV05","featured_media":{"alt":null,"id":23875717496931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10d4b40ce82d9c9a99948dfcb29fd820de979e9_602cab03-6362-4174-8da4-325d3abed702.webp?v=1714706663"}},"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: "停產" }