$product = {"id":7408231383139,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 來自空中的情書(底片版)","handle":"iphone-13-mini-mod-nx-printable-ae05","description":null,"published_at":"2024-06-11T16:34:54+08:00","created_at":"2024-05-03T12:25:27+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":41884122349667,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471535521891,"product_id":7408231383139,"position":8,"created_at":"2024-05-03T12:25:47+08:00","updated_at":"2024-05-03T12:25:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a680cae543db7e64ac0e4b00ce6396149620c06f_bc32f39f-5321-42e0-a47d-0fafce7e25bc.webp?v=1714710347","variant_ids":[41884122349667]},"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-AE05","featured_media":{"alt":null,"id":23876442194019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a680cae543db7e64ac0e4b00ce6396149620c06f_bc32f39f-5321-42e0-a47d-0fafce7e25bc.webp?v=1714710347"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884122415203,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471534538851,"product_id":7408231383139,"position":6,"created_at":"2024-05-03T12:25:42+08:00","updated_at":"2024-05-03T12:25:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa938fba14bb09c0491f5111a6e2a9a4d2c7b04_613cca09-f073-42de-8e81-fb526049873f.webp?v=1714710342","variant_ids":[41884122415203]},"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-AE05","featured_media":{"alt":null,"id":23876441276515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa938fba14bb09c0491f5111a6e2a9a4d2c7b04_613cca09-f073-42de-8e81-fb526049873f.webp?v=1714710342"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884122644579,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471532965987,"product_id":7408231383139,"position":3,"created_at":"2024-05-03T12:25:35+08:00","updated_at":"2024-05-03T12:25:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef85d5f09aa394250ec8fbe5719101b2e1047b_c0f83d85-2938-4879-a70f-90c20411fe3e.webp?v=1714710335","variant_ids":[41884122644579]},"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-AE05","featured_media":{"alt":null,"id":23876439605347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef85d5f09aa394250ec8fbe5719101b2e1047b_c0f83d85-2938-4879-a70f-90c20411fe3e.webp?v=1714710335"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb83de86dba4dc51b6120fafc747720417e8f1ef_df5dfe79-9340-4f1e-ba0b-ca5097e61bd3.webp?v=1714710329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94f18a192d04ea39f264135c142b3efa15dbb25_66a80991-cf83-43e1-8851-da8ba2ecd021.webp?v=1714710332","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef85d5f09aa394250ec8fbe5719101b2e1047b_c0f83d85-2938-4879-a70f-90c20411fe3e.webp?v=1714710335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c5a2a271f89f387cb36db5f7fe680ff14429ac5_99ecea77-6b4c-442b-ab46-03c43a1594bd.webp?v=1714710337","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e14e5b2b94d7830060e4abf800d28e2e1ec218b_2f0506f0-1628-43b4-b989-0a04a33e9a7b.webp?v=1714710339","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa938fba14bb09c0491f5111a6e2a9a4d2c7b04_613cca09-f073-42de-8e81-fb526049873f.webp?v=1714710342","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1620a9c1da761acfd9c709014f84d103557c78d_7a22033e-4b13-4a69-9128-147ff99fb86f.webp?v=1714710344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a680cae543db7e64ac0e4b00ce6396149620c06f_bc32f39f-5321-42e0-a47d-0fafce7e25bc.webp?v=1714710347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8141d3e5d2181195cab4e9f728d337dd1bd91f75_22c36838-4b26-4550-b8a9-0bd60d9d27da.webp?v=1714710349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31fab5837f2a41b0f5b0b9e4219f69269089a9af_bc4889ba-4cd3-434c-89c4-ba850db6eac4.webp?v=1714710352"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb83de86dba4dc51b6120fafc747720417e8f1ef_df5dfe79-9340-4f1e-ba0b-ca5097e61bd3.webp?v=1714710329","options":["color"],"media":[{"alt":null,"id":23876438392931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb83de86dba4dc51b6120fafc747720417e8f1ef_df5dfe79-9340-4f1e-ba0b-ca5097e61bd3.webp?v=1714710329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb83de86dba4dc51b6120fafc747720417e8f1ef_df5dfe79-9340-4f1e-ba0b-ca5097e61bd3.webp?v=1714710329","width":2000},{"alt":null,"id":23876439048291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94f18a192d04ea39f264135c142b3efa15dbb25_66a80991-cf83-43e1-8851-da8ba2ecd021.webp?v=1714710332"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94f18a192d04ea39f264135c142b3efa15dbb25_66a80991-cf83-43e1-8851-da8ba2ecd021.webp?v=1714710332","width":2000},{"alt":null,"id":23876439605347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef85d5f09aa394250ec8fbe5719101b2e1047b_c0f83d85-2938-4879-a70f-90c20411fe3e.webp?v=1714710335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef85d5f09aa394250ec8fbe5719101b2e1047b_c0f83d85-2938-4879-a70f-90c20411fe3e.webp?v=1714710335","width":2000},{"alt":null,"id":23876440096867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c5a2a271f89f387cb36db5f7fe680ff14429ac5_99ecea77-6b4c-442b-ab46-03c43a1594bd.webp?v=1714710337"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c5a2a271f89f387cb36db5f7fe680ff14429ac5_99ecea77-6b4c-442b-ab46-03c43a1594bd.webp?v=1714710337","width":2000},{"alt":null,"id":23876440784995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e14e5b2b94d7830060e4abf800d28e2e1ec218b_2f0506f0-1628-43b4-b989-0a04a33e9a7b.webp?v=1714710339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e14e5b2b94d7830060e4abf800d28e2e1ec218b_2f0506f0-1628-43b4-b989-0a04a33e9a7b.webp?v=1714710339","width":2000},{"alt":null,"id":23876441276515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa938fba14bb09c0491f5111a6e2a9a4d2c7b04_613cca09-f073-42de-8e81-fb526049873f.webp?v=1714710342"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa938fba14bb09c0491f5111a6e2a9a4d2c7b04_613cca09-f073-42de-8e81-fb526049873f.webp?v=1714710342","width":2000},{"alt":null,"id":23876441735267,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1620a9c1da761acfd9c709014f84d103557c78d_7a22033e-4b13-4a69-9128-147ff99fb86f.webp?v=1714710344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1620a9c1da761acfd9c709014f84d103557c78d_7a22033e-4b13-4a69-9128-147ff99fb86f.webp?v=1714710344","width":2000},{"alt":null,"id":23876442194019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a680cae543db7e64ac0e4b00ce6396149620c06f_bc32f39f-5321-42e0-a47d-0fafce7e25bc.webp?v=1714710347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a680cae543db7e64ac0e4b00ce6396149620c06f_bc32f39f-5321-42e0-a47d-0fafce7e25bc.webp?v=1714710347","width":2000},{"alt":null,"id":23876442587235,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8141d3e5d2181195cab4e9f728d337dd1bd91f75_22c36838-4b26-4550-b8a9-0bd60d9d27da.webp?v=1714710349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8141d3e5d2181195cab4e9f728d337dd1bd91f75_22c36838-4b26-4550-b8a9-0bd60d9d27da.webp?v=1714710349","width":2000},{"alt":null,"id":23876443111523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31fab5837f2a41b0f5b0b9e4219f69269089a9af_bc4889ba-4cd3-434c-89c4-ba850db6eac4.webp?v=1714710352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31fab5837f2a41b0f5b0b9e4219f69269089a9af_bc4889ba-4cd3-434c-89c4-ba850db6eac4.webp?v=1714710352","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41884122349667,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471535521891,"product_id":7408231383139,"position":8,"created_at":"2024-05-03T12:25:47+08:00","updated_at":"2024-05-03T12:25:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a680cae543db7e64ac0e4b00ce6396149620c06f_bc32f39f-5321-42e0-a47d-0fafce7e25bc.webp?v=1714710347","variant_ids":[41884122349667]},"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-AE05","featured_media":{"alt":null,"id":23876442194019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a680cae543db7e64ac0e4b00ce6396149620c06f_bc32f39f-5321-42e0-a47d-0fafce7e25bc.webp?v=1714710347"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884122415203,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471534538851,"product_id":7408231383139,"position":6,"created_at":"2024-05-03T12:25:42+08:00","updated_at":"2024-05-03T12:25:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa938fba14bb09c0491f5111a6e2a9a4d2c7b04_613cca09-f073-42de-8e81-fb526049873f.webp?v=1714710342","variant_ids":[41884122415203]},"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-AE05","featured_media":{"alt":null,"id":23876441276515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8aa938fba14bb09c0491f5111a6e2a9a4d2c7b04_613cca09-f073-42de-8e81-fb526049873f.webp?v=1714710342"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884122644579,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471532965987,"product_id":7408231383139,"position":3,"created_at":"2024-05-03T12:25:35+08:00","updated_at":"2024-05-03T12:25:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef85d5f09aa394250ec8fbe5719101b2e1047b_c0f83d85-2938-4879-a70f-90c20411fe3e.webp?v=1714710335","variant_ids":[41884122644579]},"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-AE05","featured_media":{"alt":null,"id":23876439605347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30ef85d5f09aa394250ec8fbe5719101b2e1047b_c0f83d85-2938-4879-a70f-90c20411fe3e.webp?v=1714710335"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41884122349667,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471535521891,"product_id":7408231383139,"position":8,"created_at":"2024-05-03T12:25:47+08:00","updated_at":"2024-05-03T12:25:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a680cae543db7e64ac0e4b00ce6396149620c06f_bc32f39f-5321-42e0-a47d-0fafce7e25bc.webp?v=1714710347","variant_ids":[41884122349667]},"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-AE05","featured_media":{"alt":null,"id":23876442194019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a680cae543db7e64ac0e4b00ce6396149620c06f_bc32f39f-5321-42e0-a47d-0fafce7e25bc.webp?v=1714710347"}},"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: "停產" }