$product = {"id":7408025960547,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 來自空中的情書(明信片版)","handle":"iphone-13-mini-mod-nx-printable-ae06","description":null,"published_at":"2024-06-11T16:29:25+08:00","created_at":"2024-05-03T11:44:01+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 13 mini","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":41881856475235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471004385379,"product_id":7408025960547,"position":6,"created_at":"2024-05-03T11:44:17+08:00","updated_at":"2024-05-03T11:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e35c01dc9accff62cfb76bae1ef7ef02912e977_492b8ed3-3bec-4273-b455-a9aafb13cd67.webp?v=1714707857","variant_ids":[41881856475235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 來自空中的情書(明信片版) - 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":"NPB0122824-AE06","featured_media":{"alt":null,"id":23875909419107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e35c01dc9accff62cfb76bae1ef7ef02912e977_492b8ed3-3bec-4273-b455-a9aafb13cd67.webp?v=1714707857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881856606307,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471003893859,"product_id":7408025960547,"position":5,"created_at":"2024-05-03T11:44:14+08:00","updated_at":"2024-05-03T11:44:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd9763a1d9aa2d80bf030f771076bd466624c03_351ea891-ae92-471f-9d85-6f84b0e8341d.webp?v=1714707854","variant_ids":[41881856606307]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 來自空中的情書(明信片版) - 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":"NPB0122804-AE06","featured_media":{"alt":null,"id":23875908927587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd9763a1d9aa2d80bf030f771076bd466624c03_351ea891-ae92-471f-9d85-6f84b0e8341d.webp?v=1714707854"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881856835683,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471006875747,"product_id":7408025960547,"position":10,"created_at":"2024-05-03T11:44:27+08:00","updated_at":"2024-05-03T11:44:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7693f4974f8d15aa1172b7af465f2ad6ea936276_ec63dbee-9e71-4ba7-94a8-ea92db7fc651.webp?v=1714707867","variant_ids":[41881856835683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 來自空中的情書(明信片版) - 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":"NPB01228J5-AE06","featured_media":{"alt":null,"id":23875911876707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7693f4974f8d15aa1172b7af465f2ad6ea936276_ec63dbee-9e71-4ba7-94a8-ea92db7fc651.webp?v=1714707867"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90405cdfebf801f75cee77062cdcfe0d6477f04d_8cb4a418-63e3-4839-b14c-41e5b20f0a6d.webp?v=1714707843","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62d108c10ecd0fac02d6adf907173f782dfc546a_10d3f80a-0bdf-4e0d-983d-f960b437ab74.webp?v=1714707846","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/413241cc2f4825e733ca760ca9e0e590a0b8ccf2_235432b5-6d59-45ff-9e72-0d5df460f6d1.webp?v=1714707849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cb9efa7577fcbc05a6aed8aa5cef926881f5964_39be7bc7-2ba9-428d-87c3-8a48a1e53724.webp?v=1714707852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd9763a1d9aa2d80bf030f771076bd466624c03_351ea891-ae92-471f-9d85-6f84b0e8341d.webp?v=1714707854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e35c01dc9accff62cfb76bae1ef7ef02912e977_492b8ed3-3bec-4273-b455-a9aafb13cd67.webp?v=1714707857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49f173bb051647c4e3c0af53121693af85b2503_c097a67f-d5c3-411d-acdb-0d3fc948681c.webp?v=1714707859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b91260072e188ce9e7e7b32371b720adfe7ce362_c2352e78-32f9-45f3-a64c-06fec99d2086.webp?v=1714707862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6125a3cae4012b144ee84aece91255fac239f5f4_649492d9-3a9c-4044-b68b-07532f7df35a.webp?v=1714707865","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7693f4974f8d15aa1172b7af465f2ad6ea936276_ec63dbee-9e71-4ba7-94a8-ea92db7fc651.webp?v=1714707867"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90405cdfebf801f75cee77062cdcfe0d6477f04d_8cb4a418-63e3-4839-b14c-41e5b20f0a6d.webp?v=1714707843","options":["color"],"media":[{"alt":null,"id":23875906797667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90405cdfebf801f75cee77062cdcfe0d6477f04d_8cb4a418-63e3-4839-b14c-41e5b20f0a6d.webp?v=1714707843"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90405cdfebf801f75cee77062cdcfe0d6477f04d_8cb4a418-63e3-4839-b14c-41e5b20f0a6d.webp?v=1714707843","width":2000},{"alt":null,"id":23875907321955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62d108c10ecd0fac02d6adf907173f782dfc546a_10d3f80a-0bdf-4e0d-983d-f960b437ab74.webp?v=1714707846"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62d108c10ecd0fac02d6adf907173f782dfc546a_10d3f80a-0bdf-4e0d-983d-f960b437ab74.webp?v=1714707846","width":2000},{"alt":null,"id":23875907813475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/413241cc2f4825e733ca760ca9e0e590a0b8ccf2_235432b5-6d59-45ff-9e72-0d5df460f6d1.webp?v=1714707849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/413241cc2f4825e733ca760ca9e0e590a0b8ccf2_235432b5-6d59-45ff-9e72-0d5df460f6d1.webp?v=1714707849","width":2000},{"alt":null,"id":23875908337763,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cb9efa7577fcbc05a6aed8aa5cef926881f5964_39be7bc7-2ba9-428d-87c3-8a48a1e53724.webp?v=1714707852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cb9efa7577fcbc05a6aed8aa5cef926881f5964_39be7bc7-2ba9-428d-87c3-8a48a1e53724.webp?v=1714707852","width":2000},{"alt":null,"id":23875908927587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd9763a1d9aa2d80bf030f771076bd466624c03_351ea891-ae92-471f-9d85-6f84b0e8341d.webp?v=1714707854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd9763a1d9aa2d80bf030f771076bd466624c03_351ea891-ae92-471f-9d85-6f84b0e8341d.webp?v=1714707854","width":2000},{"alt":null,"id":23875909419107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e35c01dc9accff62cfb76bae1ef7ef02912e977_492b8ed3-3bec-4273-b455-a9aafb13cd67.webp?v=1714707857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e35c01dc9accff62cfb76bae1ef7ef02912e977_492b8ed3-3bec-4273-b455-a9aafb13cd67.webp?v=1714707857","width":2000},{"alt":null,"id":23875910303843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49f173bb051647c4e3c0af53121693af85b2503_c097a67f-d5c3-411d-acdb-0d3fc948681c.webp?v=1714707859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c49f173bb051647c4e3c0af53121693af85b2503_c097a67f-d5c3-411d-acdb-0d3fc948681c.webp?v=1714707859","width":2000},{"alt":null,"id":23875910860899,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b91260072e188ce9e7e7b32371b720adfe7ce362_c2352e78-32f9-45f3-a64c-06fec99d2086.webp?v=1714707862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b91260072e188ce9e7e7b32371b720adfe7ce362_c2352e78-32f9-45f3-a64c-06fec99d2086.webp?v=1714707862","width":2000},{"alt":null,"id":23875911385187,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6125a3cae4012b144ee84aece91255fac239f5f4_649492d9-3a9c-4044-b68b-07532f7df35a.webp?v=1714707865"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6125a3cae4012b144ee84aece91255fac239f5f4_649492d9-3a9c-4044-b68b-07532f7df35a.webp?v=1714707865","width":2000},{"alt":null,"id":23875911876707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7693f4974f8d15aa1172b7af465f2ad6ea936276_ec63dbee-9e71-4ba7-94a8-ea92db7fc651.webp?v=1714707867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7693f4974f8d15aa1172b7af465f2ad6ea936276_ec63dbee-9e71-4ba7-94a8-ea92db7fc651.webp?v=1714707867","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881856475235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471004385379,"product_id":7408025960547,"position":6,"created_at":"2024-05-03T11:44:17+08:00","updated_at":"2024-05-03T11:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e35c01dc9accff62cfb76bae1ef7ef02912e977_492b8ed3-3bec-4273-b455-a9aafb13cd67.webp?v=1714707857","variant_ids":[41881856475235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 來自空中的情書(明信片版) - 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":"NPB0122824-AE06","featured_media":{"alt":null,"id":23875909419107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e35c01dc9accff62cfb76bae1ef7ef02912e977_492b8ed3-3bec-4273-b455-a9aafb13cd67.webp?v=1714707857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881856606307,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471003893859,"product_id":7408025960547,"position":5,"created_at":"2024-05-03T11:44:14+08:00","updated_at":"2024-05-03T11:44:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd9763a1d9aa2d80bf030f771076bd466624c03_351ea891-ae92-471f-9d85-6f84b0e8341d.webp?v=1714707854","variant_ids":[41881856606307]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 來自空中的情書(明信片版) - 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":"NPB0122804-AE06","featured_media":{"alt":null,"id":23875908927587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd9763a1d9aa2d80bf030f771076bd466624c03_351ea891-ae92-471f-9d85-6f84b0e8341d.webp?v=1714707854"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881856835683,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471006875747,"product_id":7408025960547,"position":10,"created_at":"2024-05-03T11:44:27+08:00","updated_at":"2024-05-03T11:44:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7693f4974f8d15aa1172b7af465f2ad6ea936276_ec63dbee-9e71-4ba7-94a8-ea92db7fc651.webp?v=1714707867","variant_ids":[41881856835683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 來自空中的情書(明信片版) - 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":"NPB01228J5-AE06","featured_media":{"alt":null,"id":23875911876707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7693f4974f8d15aa1172b7af465f2ad6ea936276_ec63dbee-9e71-4ba7-94a8-ea92db7fc651.webp?v=1714707867"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881856475235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-AE06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471004385379,"product_id":7408025960547,"position":6,"created_at":"2024-05-03T11:44:17+08:00","updated_at":"2024-05-03T11:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e35c01dc9accff62cfb76bae1ef7ef02912e977_492b8ed3-3bec-4273-b455-a9aafb13cd67.webp?v=1714707857","variant_ids":[41881856475235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 來自空中的情書(明信片版) - 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":"NPB0122824-AE06","featured_media":{"alt":null,"id":23875909419107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e35c01dc9accff62cfb76bae1ef7ef02912e977_492b8ed3-3bec-4273-b455-a9aafb13cd67.webp?v=1714707857"}},"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: "停產" }