$product = {"id":7407959441507,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 大自然的傑作(錫安國家公園)","handle":"iphone-14-pro-mod-nx-printable-af14","description":null,"published_at":"2024-06-11T16:27:39+08:00","created_at":"2024-05-03T11:23:48+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":41881058410595,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470806564963,"product_id":7407959441507,"position":3,"created_at":"2024-05-03T11:23:55+08:00","updated_at":"2024-05-03T11:23:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d322f8f9f404776ac9dde0b719d0560098da5f_1da0dd18-2681-4d7f-823a-c10931b924c1.webp?v=1714706635","variant_ids":[41881058410595]},"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-AF14","featured_media":{"alt":null,"id":23875710779491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d322f8f9f404776ac9dde0b719d0560098da5f_1da0dd18-2681-4d7f-823a-c10931b924c1.webp?v=1714706635"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881058476131,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470807056483,"product_id":7407959441507,"position":4,"created_at":"2024-05-03T11:23:58+08:00","updated_at":"2024-05-03T11:23:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/542cbd9d0bbfd1e5921626274384cd59a644e57e_61961615-2b86-4acf-a6e6-6d54944b7eae.webp?v=1714706638","variant_ids":[41881058476131]},"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-AF14","featured_media":{"alt":null,"id":23875711303779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/542cbd9d0bbfd1e5921626274384cd59a644e57e_61961615-2b86-4acf-a6e6-6d54944b7eae.webp?v=1714706638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881058705507,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470809415779,"product_id":7407959441507,"position":9,"created_at":"2024-05-03T11:24:10+08:00","updated_at":"2024-05-03T11:24:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db00236f10abc6b30e547a5077a86b7cd84c4833_8de3e4c5-96de-4b5e-9bf6-b40edccd5437.webp?v=1714706650","variant_ids":[41881058705507]},"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-AF14","featured_media":{"alt":null,"id":23875713663075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db00236f10abc6b30e547a5077a86b7cd84c4833_8de3e4c5-96de-4b5e-9bf6-b40edccd5437.webp?v=1714706650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0160ee6646ba0824d55b0527b3487da616f0c587_84321aac-0375-497f-b3ea-2e9c2b11d586.webp?v=1714706631","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ed9cfab15955d09e57e6f88b2a9cc8be984ea4b_c73fd949-540c-404b-986b-2af92d6a1f15.webp?v=1714706633","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d322f8f9f404776ac9dde0b719d0560098da5f_1da0dd18-2681-4d7f-823a-c10931b924c1.webp?v=1714706635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/542cbd9d0bbfd1e5921626274384cd59a644e57e_61961615-2b86-4acf-a6e6-6d54944b7eae.webp?v=1714706638","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/864e0f74804d09a9c6d6a28208f5f260545d74b1_8e2ec81b-ce36-469c-8af0-27e82a62af7c.webp?v=1714706640","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cf1d2d4be4f08e78375588954ef97d310201754_efa637fd-a050-45a6-81bd-c6d9ee5f3f77.webp?v=1714706643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/880ed196d56592dbbca1c2a1ae83206e4f78c2d2_e4254885-d594-4cbd-be94-d8fb26d394be.webp?v=1714706645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cd5a5cc3f0f3c1b003b8c7071bbfaffa3661e_8f26e01e-d985-4b15-976b-1e5c38fdb918.webp?v=1714706647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db00236f10abc6b30e547a5077a86b7cd84c4833_8de3e4c5-96de-4b5e-9bf6-b40edccd5437.webp?v=1714706650","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7944e95fb3506dfc818905c39b67be4f7fda7e8d_e666765f-4b63-4074-968b-d5d41bcbc4a4.webp?v=1714706652"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0160ee6646ba0824d55b0527b3487da616f0c587_84321aac-0375-497f-b3ea-2e9c2b11d586.webp?v=1714706631","options":["color"],"media":[{"alt":null,"id":23875709894755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0160ee6646ba0824d55b0527b3487da616f0c587_84321aac-0375-497f-b3ea-2e9c2b11d586.webp?v=1714706631"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0160ee6646ba0824d55b0527b3487da616f0c587_84321aac-0375-497f-b3ea-2e9c2b11d586.webp?v=1714706631","width":2000},{"alt":null,"id":23875710320739,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ed9cfab15955d09e57e6f88b2a9cc8be984ea4b_c73fd949-540c-404b-986b-2af92d6a1f15.webp?v=1714706633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ed9cfab15955d09e57e6f88b2a9cc8be984ea4b_c73fd949-540c-404b-986b-2af92d6a1f15.webp?v=1714706633","width":2000},{"alt":null,"id":23875710779491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d322f8f9f404776ac9dde0b719d0560098da5f_1da0dd18-2681-4d7f-823a-c10931b924c1.webp?v=1714706635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d322f8f9f404776ac9dde0b719d0560098da5f_1da0dd18-2681-4d7f-823a-c10931b924c1.webp?v=1714706635","width":2000},{"alt":null,"id":23875711303779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/542cbd9d0bbfd1e5921626274384cd59a644e57e_61961615-2b86-4acf-a6e6-6d54944b7eae.webp?v=1714706638"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/542cbd9d0bbfd1e5921626274384cd59a644e57e_61961615-2b86-4acf-a6e6-6d54944b7eae.webp?v=1714706638","width":2000},{"alt":null,"id":23875711664227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/864e0f74804d09a9c6d6a28208f5f260545d74b1_8e2ec81b-ce36-469c-8af0-27e82a62af7c.webp?v=1714706640"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/864e0f74804d09a9c6d6a28208f5f260545d74b1_8e2ec81b-ce36-469c-8af0-27e82a62af7c.webp?v=1714706640","width":2000},{"alt":null,"id":23875712188515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cf1d2d4be4f08e78375588954ef97d310201754_efa637fd-a050-45a6-81bd-c6d9ee5f3f77.webp?v=1714706643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cf1d2d4be4f08e78375588954ef97d310201754_efa637fd-a050-45a6-81bd-c6d9ee5f3f77.webp?v=1714706643","width":2000},{"alt":null,"id":23875712548963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/880ed196d56592dbbca1c2a1ae83206e4f78c2d2_e4254885-d594-4cbd-be94-d8fb26d394be.webp?v=1714706645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/880ed196d56592dbbca1c2a1ae83206e4f78c2d2_e4254885-d594-4cbd-be94-d8fb26d394be.webp?v=1714706645","width":2000},{"alt":null,"id":23875713138787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cd5a5cc3f0f3c1b003b8c7071bbfaffa3661e_8f26e01e-d985-4b15-976b-1e5c38fdb918.webp?v=1714706647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/038cd5a5cc3f0f3c1b003b8c7071bbfaffa3661e_8f26e01e-d985-4b15-976b-1e5c38fdb918.webp?v=1714706647","width":2000},{"alt":null,"id":23875713663075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db00236f10abc6b30e547a5077a86b7cd84c4833_8de3e4c5-96de-4b5e-9bf6-b40edccd5437.webp?v=1714706650"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db00236f10abc6b30e547a5077a86b7cd84c4833_8de3e4c5-96de-4b5e-9bf6-b40edccd5437.webp?v=1714706650","width":2000},{"alt":null,"id":23875714318435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7944e95fb3506dfc818905c39b67be4f7fda7e8d_e666765f-4b63-4074-968b-d5d41bcbc4a4.webp?v=1714706652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7944e95fb3506dfc818905c39b67be4f7fda7e8d_e666765f-4b63-4074-968b-d5d41bcbc4a4.webp?v=1714706652","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881058410595,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470806564963,"product_id":7407959441507,"position":3,"created_at":"2024-05-03T11:23:55+08:00","updated_at":"2024-05-03T11:23:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d322f8f9f404776ac9dde0b719d0560098da5f_1da0dd18-2681-4d7f-823a-c10931b924c1.webp?v=1714706635","variant_ids":[41881058410595]},"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-AF14","featured_media":{"alt":null,"id":23875710779491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d322f8f9f404776ac9dde0b719d0560098da5f_1da0dd18-2681-4d7f-823a-c10931b924c1.webp?v=1714706635"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881058476131,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470807056483,"product_id":7407959441507,"position":4,"created_at":"2024-05-03T11:23:58+08:00","updated_at":"2024-05-03T11:23:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/542cbd9d0bbfd1e5921626274384cd59a644e57e_61961615-2b86-4acf-a6e6-6d54944b7eae.webp?v=1714706638","variant_ids":[41881058476131]},"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-AF14","featured_media":{"alt":null,"id":23875711303779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/542cbd9d0bbfd1e5921626274384cd59a644e57e_61961615-2b86-4acf-a6e6-6d54944b7eae.webp?v=1714706638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881058705507,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470809415779,"product_id":7407959441507,"position":9,"created_at":"2024-05-03T11:24:10+08:00","updated_at":"2024-05-03T11:24:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db00236f10abc6b30e547a5077a86b7cd84c4833_8de3e4c5-96de-4b5e-9bf6-b40edccd5437.webp?v=1714706650","variant_ids":[41881058705507]},"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-AF14","featured_media":{"alt":null,"id":23875713663075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db00236f10abc6b30e547a5077a86b7cd84c4833_8de3e4c5-96de-4b5e-9bf6-b40edccd5437.webp?v=1714706650"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881058410595,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470806564963,"product_id":7407959441507,"position":3,"created_at":"2024-05-03T11:23:55+08:00","updated_at":"2024-05-03T11:23:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d322f8f9f404776ac9dde0b719d0560098da5f_1da0dd18-2681-4d7f-823a-c10931b924c1.webp?v=1714706635","variant_ids":[41881058410595]},"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-AF14","featured_media":{"alt":null,"id":23875710779491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52d322f8f9f404776ac9dde0b719d0560098da5f_1da0dd18-2681-4d7f-823a-c10931b924c1.webp?v=1714706635"}},"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: "停產" }