$product = {"id":7407962226787,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 兔子電腦","handle":"iphone-14-pro-mod-nx-printable-mw06","description":null,"published_at":"2024-06-11T16:27:43+08:00","created_at":"2024-05-03T11:24:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 14 Pro","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx-chi-po-lin-series","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":41881092194403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470814101603,"product_id":7407962226787,"position":4,"created_at":"2024-05-03T11:24:28+08:00","updated_at":"2024-05-03T11:24:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b07252b8a6732c12c2b416abf308ba3a925e73_673cab16-645b-4f68-8016-41e26d15b673.webp?v=1714706668","variant_ids":[41881092194403]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 兔子電腦 - 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-MW06","featured_media":{"alt":null,"id":23875718447203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b07252b8a6732c12c2b416abf308ba3a925e73_673cab16-645b-4f68-8016-41e26d15b673.webp?v=1714706668"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881092259939,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470812725347,"product_id":7407962226787,"position":1,"created_at":"2024-05-03T11:24:21+08:00","updated_at":"2024-05-03T11:24:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fe68bbb3207587446ee263d61301cd64a7d6bd_7c1c9bfc-8ac2-415a-9698-908d20ca076a.webp?v=1714706661","variant_ids":[41881092259939]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 兔子電腦 - 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-MW06","featured_media":{"alt":null,"id":23875717103715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fe68bbb3207587446ee263d61301cd64a7d6bd_7c1c9bfc-8ac2-415a-9698-908d20ca076a.webp?v=1714706661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881092489315,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470813249635,"product_id":7407962226787,"position":2,"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\/326169cbf9ff22a04475582967f86a968690d689_27788c86-1956-4599-ae4f-f53bce8b8d26.webp?v=1714706663","variant_ids":[41881092489315]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 兔子電腦 - 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-MW06","featured_media":{"alt":null,"id":23875717529699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326169cbf9ff22a04475582967f86a968690d689_27788c86-1956-4599-ae4f-f53bce8b8d26.webp?v=1714706663"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fe68bbb3207587446ee263d61301cd64a7d6bd_7c1c9bfc-8ac2-415a-9698-908d20ca076a.webp?v=1714706661","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326169cbf9ff22a04475582967f86a968690d689_27788c86-1956-4599-ae4f-f53bce8b8d26.webp?v=1714706663","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b1b8dde327a255c6f991cee7b3c60772be2518e_174f6f73-1a0c-4b08-936d-9b4543346443.webp?v=1714706666","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b07252b8a6732c12c2b416abf308ba3a925e73_673cab16-645b-4f68-8016-41e26d15b673.webp?v=1714706668","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44073164057a11ffe66860c1f858113657650fcf_62bace22-5de8-4936-bdaa-d76bc65f7f06.webp?v=1714706670","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbeb199a0043ec106f1db45462cbe04d3debba0d_654a7aad-99a4-46cf-b9b5-53cef3c182ff.webp?v=1714706672","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf6a297d137d477e283d6d6ffb82c34e1f905dc_08e82346-7ebe-4a7f-8366-dd472de0c786.webp?v=1714706675","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e51a2d6c7483dc561c51dd235fb0fe62819d6d_4b2e4c8c-92ef-4ce9-8c2c-4e5634e1e21e.webp?v=1714706677","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b2683ffa0e139c5455cda559f830166813fd645_990b9f1a-6045-4d8c-9a38-03b076341e57.webp?v=1714706679","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe7f2c94fda18b9c514e8444e15084040ee0051_11267fee-2800-47e2-9c3c-5756c555a411.webp?v=1714706682"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fe68bbb3207587446ee263d61301cd64a7d6bd_7c1c9bfc-8ac2-415a-9698-908d20ca076a.webp?v=1714706661","options":["color"],"media":[{"alt":null,"id":23875717103715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fe68bbb3207587446ee263d61301cd64a7d6bd_7c1c9bfc-8ac2-415a-9698-908d20ca076a.webp?v=1714706661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fe68bbb3207587446ee263d61301cd64a7d6bd_7c1c9bfc-8ac2-415a-9698-908d20ca076a.webp?v=1714706661","width":2000},{"alt":null,"id":23875717529699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326169cbf9ff22a04475582967f86a968690d689_27788c86-1956-4599-ae4f-f53bce8b8d26.webp?v=1714706663"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326169cbf9ff22a04475582967f86a968690d689_27788c86-1956-4599-ae4f-f53bce8b8d26.webp?v=1714706663","width":2000},{"alt":null,"id":23875718053987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b1b8dde327a255c6f991cee7b3c60772be2518e_174f6f73-1a0c-4b08-936d-9b4543346443.webp?v=1714706666"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b1b8dde327a255c6f991cee7b3c60772be2518e_174f6f73-1a0c-4b08-936d-9b4543346443.webp?v=1714706666","width":2000},{"alt":null,"id":23875718447203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b07252b8a6732c12c2b416abf308ba3a925e73_673cab16-645b-4f68-8016-41e26d15b673.webp?v=1714706668"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b07252b8a6732c12c2b416abf308ba3a925e73_673cab16-645b-4f68-8016-41e26d15b673.webp?v=1714706668","width":2000},{"alt":null,"id":23875718840419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44073164057a11ffe66860c1f858113657650fcf_62bace22-5de8-4936-bdaa-d76bc65f7f06.webp?v=1714706670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44073164057a11ffe66860c1f858113657650fcf_62bace22-5de8-4936-bdaa-d76bc65f7f06.webp?v=1714706670","width":2000},{"alt":null,"id":23875719331939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbeb199a0043ec106f1db45462cbe04d3debba0d_654a7aad-99a4-46cf-b9b5-53cef3c182ff.webp?v=1714706672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbeb199a0043ec106f1db45462cbe04d3debba0d_654a7aad-99a4-46cf-b9b5-53cef3c182ff.webp?v=1714706672","width":2000},{"alt":null,"id":23875719757923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf6a297d137d477e283d6d6ffb82c34e1f905dc_08e82346-7ebe-4a7f-8366-dd472de0c786.webp?v=1714706675"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf6a297d137d477e283d6d6ffb82c34e1f905dc_08e82346-7ebe-4a7f-8366-dd472de0c786.webp?v=1714706675","width":2000},{"alt":null,"id":23875720282211,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e51a2d6c7483dc561c51dd235fb0fe62819d6d_4b2e4c8c-92ef-4ce9-8c2c-4e5634e1e21e.webp?v=1714706677"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6e51a2d6c7483dc561c51dd235fb0fe62819d6d_4b2e4c8c-92ef-4ce9-8c2c-4e5634e1e21e.webp?v=1714706677","width":2000},{"alt":null,"id":23875720839267,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b2683ffa0e139c5455cda559f830166813fd645_990b9f1a-6045-4d8c-9a38-03b076341e57.webp?v=1714706679"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b2683ffa0e139c5455cda559f830166813fd645_990b9f1a-6045-4d8c-9a38-03b076341e57.webp?v=1714706679","width":2000},{"alt":null,"id":23875721265251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe7f2c94fda18b9c514e8444e15084040ee0051_11267fee-2800-47e2-9c3c-5756c555a411.webp?v=1714706682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfe7f2c94fda18b9c514e8444e15084040ee0051_11267fee-2800-47e2-9c3c-5756c555a411.webp?v=1714706682","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41881092194403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470814101603,"product_id":7407962226787,"position":4,"created_at":"2024-05-03T11:24:28+08:00","updated_at":"2024-05-03T11:24:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b07252b8a6732c12c2b416abf308ba3a925e73_673cab16-645b-4f68-8016-41e26d15b673.webp?v=1714706668","variant_ids":[41881092194403]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 兔子電腦 - 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-MW06","featured_media":{"alt":null,"id":23875718447203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b07252b8a6732c12c2b416abf308ba3a925e73_673cab16-645b-4f68-8016-41e26d15b673.webp?v=1714706668"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881092259939,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470812725347,"product_id":7407962226787,"position":1,"created_at":"2024-05-03T11:24:21+08:00","updated_at":"2024-05-03T11:24:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fe68bbb3207587446ee263d61301cd64a7d6bd_7c1c9bfc-8ac2-415a-9698-908d20ca076a.webp?v=1714706661","variant_ids":[41881092259939]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 兔子電腦 - 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-MW06","featured_media":{"alt":null,"id":23875717103715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fe68bbb3207587446ee263d61301cd64a7d6bd_7c1c9bfc-8ac2-415a-9698-908d20ca076a.webp?v=1714706661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881092489315,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470813249635,"product_id":7407962226787,"position":2,"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\/326169cbf9ff22a04475582967f86a968690d689_27788c86-1956-4599-ae4f-f53bce8b8d26.webp?v=1714706663","variant_ids":[41881092489315]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 兔子電腦 - 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-MW06","featured_media":{"alt":null,"id":23875717529699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/326169cbf9ff22a04475582967f86a968690d689_27788c86-1956-4599-ae4f-f53bce8b8d26.webp?v=1714706663"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881092194403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-MW06","requires_shipping":true,"taxable":true,"featured_image":{"id":31470814101603,"product_id":7407962226787,"position":4,"created_at":"2024-05-03T11:24:28+08:00","updated_at":"2024-05-03T11:24:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b07252b8a6732c12c2b416abf308ba3a925e73_673cab16-645b-4f68-8016-41e26d15b673.webp?v=1714706668","variant_ids":[41881092194403]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 兔子電腦 - 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-MW06","featured_media":{"alt":null,"id":23875718447203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b07252b8a6732c12c2b416abf308ba3a925e73_673cab16-645b-4f68-8016-41e26d15b673.webp?v=1714706668"}},"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: "停產" }