$product = {"id":7407946924131,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Look - 人在做 峇里島在看","handle":"iphone-14-pro-mod-nx-printable-af06","description":null,"published_at":"2024-06-11T16:27:18+08:00","created_at":"2024-05-03T11:21:25+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":41880888541283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470773305443,"product_id":7407946924131,"position":8,"created_at":"2024-05-03T11:21:44+08:00","updated_at":"2024-05-03T11:21:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3712e30dec3c55c196451b1436518221ee644898_ac82eb29-7938-4e74-a059-97c9e28d370e.webp?v=1714706504","variant_ids":[41880888541283]},"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-AF06","featured_media":{"alt":null,"id":23875677585507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3712e30dec3c55c196451b1436518221ee644898_ac82eb29-7938-4e74-a059-97c9e28d370e.webp?v=1714706504"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880888606819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470770389091,"product_id":7407946924131,"position":2,"created_at":"2024-05-03T11:21:29+08:00","updated_at":"2024-05-03T11:21:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63a355038e7e332ac0001280bda4f7132aa1396_49a7e397-d5fd-491e-a371-6546dacde6f3.webp?v=1714706489","variant_ids":[41880888606819]},"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-AF06","featured_media":{"alt":null,"id":23875674669155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63a355038e7e332ac0001280bda4f7132aa1396_49a7e397-d5fd-491e-a371-6546dacde6f3.webp?v=1714706489"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880888836195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470769832035,"product_id":7407946924131,"position":1,"created_at":"2024-05-03T11:21:27+08:00","updated_at":"2024-05-03T11:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2f9c2569361dd3b3bc86b5a61f902086722a680_fff2f1a7-69f9-4276-a833-4ce5bebee5ac.webp?v=1714706487","variant_ids":[41880888836195]},"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-AF06","featured_media":{"alt":null,"id":23875674046563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2f9c2569361dd3b3bc86b5a61f902086722a680_fff2f1a7-69f9-4276-a833-4ce5bebee5ac.webp?v=1714706487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2f9c2569361dd3b3bc86b5a61f902086722a680_fff2f1a7-69f9-4276-a833-4ce5bebee5ac.webp?v=1714706487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63a355038e7e332ac0001280bda4f7132aa1396_49a7e397-d5fd-491e-a371-6546dacde6f3.webp?v=1714706489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4c1f3a1b503fd3e2f48587aa17594531532af8_a0b1d8c6-b10f-457a-9ec6-34c868687d97.webp?v=1714706492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cdb447d763c472c0d111e01ca23faab8f27baae_096c9638-2bf6-476e-95f1-a4816addbaf5.webp?v=1714706494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00014345acd7d6249171bb98d79ceba2671fcd33_9afab6ac-73c8-4b90-bb91-e6f2255e4e95.webp?v=1714706497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e126d34733a50d98ed66c0b71cd41ab0698fbab_3886f445-6f57-41ce-831b-de6ec6497764.webp?v=1714706499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9f155acc47abf523f8734949aadd2c8ba5d4585_4e32b982-521d-484b-8c96-529fed89058f.webp?v=1714706501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3712e30dec3c55c196451b1436518221ee644898_ac82eb29-7938-4e74-a059-97c9e28d370e.webp?v=1714706504","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f072029098affa9c862384905d99066c32ed66_e6b2cb0e-58cb-4d1a-a9a7-7a49a69a3273.webp?v=1714706507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cd2794cadba849ea2faf00db609b8139a4682e3_e2cb9660-4e0e-4592-8a96-d2c3d98325b3.webp?v=1714706509"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2f9c2569361dd3b3bc86b5a61f902086722a680_fff2f1a7-69f9-4276-a833-4ce5bebee5ac.webp?v=1714706487","options":["color"],"media":[{"alt":null,"id":23875674046563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2f9c2569361dd3b3bc86b5a61f902086722a680_fff2f1a7-69f9-4276-a833-4ce5bebee5ac.webp?v=1714706487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2f9c2569361dd3b3bc86b5a61f902086722a680_fff2f1a7-69f9-4276-a833-4ce5bebee5ac.webp?v=1714706487","width":2000},{"alt":null,"id":23875674669155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63a355038e7e332ac0001280bda4f7132aa1396_49a7e397-d5fd-491e-a371-6546dacde6f3.webp?v=1714706489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63a355038e7e332ac0001280bda4f7132aa1396_49a7e397-d5fd-491e-a371-6546dacde6f3.webp?v=1714706489","width":2000},{"alt":null,"id":23875675062371,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4c1f3a1b503fd3e2f48587aa17594531532af8_a0b1d8c6-b10f-457a-9ec6-34c868687d97.webp?v=1714706492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b4c1f3a1b503fd3e2f48587aa17594531532af8_a0b1d8c6-b10f-457a-9ec6-34c868687d97.webp?v=1714706492","width":2000},{"alt":null,"id":23875675652195,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cdb447d763c472c0d111e01ca23faab8f27baae_096c9638-2bf6-476e-95f1-a4816addbaf5.webp?v=1714706494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cdb447d763c472c0d111e01ca23faab8f27baae_096c9638-2bf6-476e-95f1-a4816addbaf5.webp?v=1714706494","width":2000},{"alt":null,"id":23875676012643,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00014345acd7d6249171bb98d79ceba2671fcd33_9afab6ac-73c8-4b90-bb91-e6f2255e4e95.webp?v=1714706497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00014345acd7d6249171bb98d79ceba2671fcd33_9afab6ac-73c8-4b90-bb91-e6f2255e4e95.webp?v=1714706497","width":2000},{"alt":null,"id":23875676602467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e126d34733a50d98ed66c0b71cd41ab0698fbab_3886f445-6f57-41ce-831b-de6ec6497764.webp?v=1714706499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e126d34733a50d98ed66c0b71cd41ab0698fbab_3886f445-6f57-41ce-831b-de6ec6497764.webp?v=1714706499","width":2000},{"alt":null,"id":23875676995683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9f155acc47abf523f8734949aadd2c8ba5d4585_4e32b982-521d-484b-8c96-529fed89058f.webp?v=1714706501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9f155acc47abf523f8734949aadd2c8ba5d4585_4e32b982-521d-484b-8c96-529fed89058f.webp?v=1714706501","width":2000},{"alt":null,"id":23875677585507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3712e30dec3c55c196451b1436518221ee644898_ac82eb29-7938-4e74-a059-97c9e28d370e.webp?v=1714706504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3712e30dec3c55c196451b1436518221ee644898_ac82eb29-7938-4e74-a059-97c9e28d370e.webp?v=1714706504","width":2000},{"alt":null,"id":23875677978723,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f072029098affa9c862384905d99066c32ed66_e6b2cb0e-58cb-4d1a-a9a7-7a49a69a3273.webp?v=1714706507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f072029098affa9c862384905d99066c32ed66_e6b2cb0e-58cb-4d1a-a9a7-7a49a69a3273.webp?v=1714706507","width":2000},{"alt":null,"id":23875678568547,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cd2794cadba849ea2faf00db609b8139a4682e3_e2cb9660-4e0e-4592-8a96-d2c3d98325b3.webp?v=1714706509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cd2794cadba849ea2faf00db609b8139a4682e3_e2cb9660-4e0e-4592-8a96-d2c3d98325b3.webp?v=1714706509","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880888541283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470773305443,"product_id":7407946924131,"position":8,"created_at":"2024-05-03T11:21:44+08:00","updated_at":"2024-05-03T11:21:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3712e30dec3c55c196451b1436518221ee644898_ac82eb29-7938-4e74-a059-97c9e28d370e.webp?v=1714706504","variant_ids":[41880888541283]},"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-AF06","featured_media":{"alt":null,"id":23875677585507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3712e30dec3c55c196451b1436518221ee644898_ac82eb29-7938-4e74-a059-97c9e28d370e.webp?v=1714706504"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880888606819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470770389091,"product_id":7407946924131,"position":2,"created_at":"2024-05-03T11:21:29+08:00","updated_at":"2024-05-03T11:21:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63a355038e7e332ac0001280bda4f7132aa1396_49a7e397-d5fd-491e-a371-6546dacde6f3.webp?v=1714706489","variant_ids":[41880888606819]},"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-AF06","featured_media":{"alt":null,"id":23875674669155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c63a355038e7e332ac0001280bda4f7132aa1396_49a7e397-d5fd-491e-a371-6546dacde6f3.webp?v=1714706489"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880888836195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470769832035,"product_id":7407946924131,"position":1,"created_at":"2024-05-03T11:21:27+08:00","updated_at":"2024-05-03T11:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2f9c2569361dd3b3bc86b5a61f902086722a680_fff2f1a7-69f9-4276-a833-4ce5bebee5ac.webp?v=1714706487","variant_ids":[41880888836195]},"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-AF06","featured_media":{"alt":null,"id":23875674046563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2f9c2569361dd3b3bc86b5a61f902086722a680_fff2f1a7-69f9-4276-a833-4ce5bebee5ac.webp?v=1714706487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880888541283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470773305443,"product_id":7407946924131,"position":8,"created_at":"2024-05-03T11:21:44+08:00","updated_at":"2024-05-03T11:21:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3712e30dec3c55c196451b1436518221ee644898_ac82eb29-7938-4e74-a059-97c9e28d370e.webp?v=1714706504","variant_ids":[41880888541283]},"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-AF06","featured_media":{"alt":null,"id":23875677585507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3712e30dec3c55c196451b1436518221ee644898_ac82eb29-7938-4e74-a059-97c9e28d370e.webp?v=1714706504"}},"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: "停產" }