$product = {"id":7407883911267,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha!","handle":"iphone-14-pro-mod-nx-printable-yf08","description":null,"published_at":"2024-06-11T16:25:32+08:00","created_at":"2024-05-03T11:08:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-stitch","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":41880053088355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470617067619,"product_id":7407883911267,"position":8,"created_at":"2024-05-03T11:09:20+08:00","updated_at":"2024-05-03T11:09:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a71635601def08de98d0684a6e0c462715a257_c50ef026-2fb9-45f9-b20d-ae5090fa3b7c.webp?v=1714705760","variant_ids":[41880053088355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-YF08","featured_media":{"alt":null,"id":23875520987235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a71635601def08de98d0684a6e0c462715a257_c50ef026-2fb9-45f9-b20d-ae5090fa3b7c.webp?v=1714705760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880053153891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614937699,"product_id":7407883911267,"position":4,"created_at":"2024-05-03T11:09:11+08:00","updated_at":"2024-05-03T11:09:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cab39fa2713f1b0107c822463699eb324dc7c488_9a4ba094-17bd-43ac-b2d6-65546c239a26.webp?v=1714705751","variant_ids":[41880053153891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-YF08","featured_media":{"alt":null,"id":23875518857315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cab39fa2713f1b0107c822463699eb324dc7c488_9a4ba094-17bd-43ac-b2d6-65546c239a26.webp?v=1714705751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880053416035,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470613299299,"product_id":7407883911267,"position":1,"created_at":"2024-05-03T11:09:03+08:00","updated_at":"2024-05-03T11:09:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92146adb7ed7dac14d6fc68240ddcb8227980106_3da648df-62b5-4427-92c8-1056b170669f.webp?v=1714705743","variant_ids":[41880053416035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-YF08","featured_media":{"alt":null,"id":23875517218915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92146adb7ed7dac14d6fc68240ddcb8227980106_3da648df-62b5-4427-92c8-1056b170669f.webp?v=1714705743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92146adb7ed7dac14d6fc68240ddcb8227980106_3da648df-62b5-4427-92c8-1056b170669f.webp?v=1714705743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b9fcdd3b4d9b22c46daf463a62ad4b7575dc2f7_0789a441-f0eb-425b-b988-9e645d8c0353.webp?v=1714705746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02f8040b8f67b5e79293a178d229cca7a5100b12_7c30243e-7dd7-463e-a95d-89d5aee25046.webp?v=1714705748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cab39fa2713f1b0107c822463699eb324dc7c488_9a4ba094-17bd-43ac-b2d6-65546c239a26.webp?v=1714705751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50b3b6f6395e7753f856a51e3097ab6ad9d50ad0_ae3d2666-b109-4474-a836-9c77458090db.webp?v=1714705753","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/842fbfe30ebbb03ddcd6bcae69da5a181192152b_7bb01b90-2c91-4b76-9a9d-9afce5ae565b.webp?v=1714705756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52ed847ba82c1e7e752dfce8ab9fb62dc9e6d24c_ebbf4fa9-ed7b-4d43-af16-dd86a8e6c526.webp?v=1714705758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a71635601def08de98d0684a6e0c462715a257_c50ef026-2fb9-45f9-b20d-ae5090fa3b7c.webp?v=1714705760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b604934df9e45fb72b931a6fc5c0e4a7086b30_7ac5ec45-3d23-4a25-b99e-5d0f4331f2e4.webp?v=1714705763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf756ca498acaeeae8faa37edc3e18456631ef_e070733a-7910-4fb4-ae6d-3c76cf585e7e.webp?v=1714705766"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92146adb7ed7dac14d6fc68240ddcb8227980106_3da648df-62b5-4427-92c8-1056b170669f.webp?v=1714705743","options":["color"],"media":[{"alt":null,"id":23875517218915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92146adb7ed7dac14d6fc68240ddcb8227980106_3da648df-62b5-4427-92c8-1056b170669f.webp?v=1714705743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92146adb7ed7dac14d6fc68240ddcb8227980106_3da648df-62b5-4427-92c8-1056b170669f.webp?v=1714705743","width":2000},{"alt":null,"id":23875517841507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b9fcdd3b4d9b22c46daf463a62ad4b7575dc2f7_0789a441-f0eb-425b-b988-9e645d8c0353.webp?v=1714705746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b9fcdd3b4d9b22c46daf463a62ad4b7575dc2f7_0789a441-f0eb-425b-b988-9e645d8c0353.webp?v=1714705746","width":2000},{"alt":null,"id":23875518267491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02f8040b8f67b5e79293a178d229cca7a5100b12_7c30243e-7dd7-463e-a95d-89d5aee25046.webp?v=1714705748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02f8040b8f67b5e79293a178d229cca7a5100b12_7c30243e-7dd7-463e-a95d-89d5aee25046.webp?v=1714705748","width":2000},{"alt":null,"id":23875518857315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cab39fa2713f1b0107c822463699eb324dc7c488_9a4ba094-17bd-43ac-b2d6-65546c239a26.webp?v=1714705751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cab39fa2713f1b0107c822463699eb324dc7c488_9a4ba094-17bd-43ac-b2d6-65546c239a26.webp?v=1714705751","width":2000},{"alt":null,"id":23875519447139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50b3b6f6395e7753f856a51e3097ab6ad9d50ad0_ae3d2666-b109-4474-a836-9c77458090db.webp?v=1714705753"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50b3b6f6395e7753f856a51e3097ab6ad9d50ad0_ae3d2666-b109-4474-a836-9c77458090db.webp?v=1714705753","width":2000},{"alt":null,"id":23875520036963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/842fbfe30ebbb03ddcd6bcae69da5a181192152b_7bb01b90-2c91-4b76-9a9d-9afce5ae565b.webp?v=1714705756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/842fbfe30ebbb03ddcd6bcae69da5a181192152b_7bb01b90-2c91-4b76-9a9d-9afce5ae565b.webp?v=1714705756","width":2000},{"alt":null,"id":23875520495715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52ed847ba82c1e7e752dfce8ab9fb62dc9e6d24c_ebbf4fa9-ed7b-4d43-af16-dd86a8e6c526.webp?v=1714705758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52ed847ba82c1e7e752dfce8ab9fb62dc9e6d24c_ebbf4fa9-ed7b-4d43-af16-dd86a8e6c526.webp?v=1714705758","width":2000},{"alt":null,"id":23875520987235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a71635601def08de98d0684a6e0c462715a257_c50ef026-2fb9-45f9-b20d-ae5090fa3b7c.webp?v=1714705760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a71635601def08de98d0684a6e0c462715a257_c50ef026-2fb9-45f9-b20d-ae5090fa3b7c.webp?v=1714705760","width":2000},{"alt":null,"id":23875521511523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b604934df9e45fb72b931a6fc5c0e4a7086b30_7ac5ec45-3d23-4a25-b99e-5d0f4331f2e4.webp?v=1714705763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b604934df9e45fb72b931a6fc5c0e4a7086b30_7ac5ec45-3d23-4a25-b99e-5d0f4331f2e4.webp?v=1714705763","width":2000},{"alt":null,"id":23875522166883,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf756ca498acaeeae8faa37edc3e18456631ef_e070733a-7910-4fb4-ae6d-3c76cf585e7e.webp?v=1714705766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf756ca498acaeeae8faa37edc3e18456631ef_e070733a-7910-4fb4-ae6d-3c76cf585e7e.webp?v=1714705766","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41880053088355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470617067619,"product_id":7407883911267,"position":8,"created_at":"2024-05-03T11:09:20+08:00","updated_at":"2024-05-03T11:09:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a71635601def08de98d0684a6e0c462715a257_c50ef026-2fb9-45f9-b20d-ae5090fa3b7c.webp?v=1714705760","variant_ids":[41880053088355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-YF08","featured_media":{"alt":null,"id":23875520987235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a71635601def08de98d0684a6e0c462715a257_c50ef026-2fb9-45f9-b20d-ae5090fa3b7c.webp?v=1714705760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880053153891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614937699,"product_id":7407883911267,"position":4,"created_at":"2024-05-03T11:09:11+08:00","updated_at":"2024-05-03T11:09:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cab39fa2713f1b0107c822463699eb324dc7c488_9a4ba094-17bd-43ac-b2d6-65546c239a26.webp?v=1714705751","variant_ids":[41880053153891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-YF08","featured_media":{"alt":null,"id":23875518857315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cab39fa2713f1b0107c822463699eb324dc7c488_9a4ba094-17bd-43ac-b2d6-65546c239a26.webp?v=1714705751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880053416035,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470613299299,"product_id":7407883911267,"position":1,"created_at":"2024-05-03T11:09:03+08:00","updated_at":"2024-05-03T11:09:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92146adb7ed7dac14d6fc68240ddcb8227980106_3da648df-62b5-4427-92c8-1056b170669f.webp?v=1714705743","variant_ids":[41880053416035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-YF08","featured_media":{"alt":null,"id":23875517218915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92146adb7ed7dac14d6fc68240ddcb8227980106_3da648df-62b5-4427-92c8-1056b170669f.webp?v=1714705743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880053088355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470617067619,"product_id":7407883911267,"position":8,"created_at":"2024-05-03T11:09:20+08:00","updated_at":"2024-05-03T11:09:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a71635601def08de98d0684a6e0c462715a257_c50ef026-2fb9-45f9-b20d-ae5090fa3b7c.webp?v=1714705760","variant_ids":[41880053088355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Aloha! - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-YF08","featured_media":{"alt":null,"id":23875520987235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6a71635601def08de98d0684a6e0c462715a257_c50ef026-2fb9-45f9-b20d-ae5090fa3b7c.webp?v=1714705760"}},"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: "停產" }