$product = {"id":7408017211491,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - J個好","handle":"iphone-13-mini-mod-nx-printable-iv08","description":null,"published_at":"2024-06-11T16:29:11+08:00","created_at":"2024-05-03T11:42:01+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-1chun","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":41881755648099,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470978400355,"product_id":7408017211491,"position":1,"created_at":"2024-05-03T11:42:04+08:00","updated_at":"2024-05-03T11:42:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724","variant_ids":[41881755648099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - J個好 - 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":"NPB0122824-IV08","featured_media":{"alt":null,"id":23875883237475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881755713635,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470980366435,"product_id":7408017211491,"position":5,"created_at":"2024-05-03T11:42:14+08:00","updated_at":"2024-05-03T11:42:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8365d46a4eb250c27355dc5accee8dcd919a14_27c9f999-544a-4e4a-8a94-17d00ca27f38.webp?v=1714707734","variant_ids":[41881755713635]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - J個好 - 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":"NPB0122804-IV08","featured_media":{"alt":null,"id":23875885203555,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8365d46a4eb250c27355dc5accee8dcd919a14_27c9f999-544a-4e4a-8a94-17d00ca27f38.webp?v=1714707734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881755943011,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470980956259,"product_id":7408017211491,"position":6,"created_at":"2024-05-03T11:42:17+08:00","updated_at":"2024-05-03T11:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18415858be6ca9e68889f519e9b0af8c975565d_b3225ef0-65f6-4f87-b595-d8dd81a4f03d.webp?v=1714707737","variant_ids":[41881755943011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - J個好 - 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":"NPB01228J5-IV08","featured_media":{"alt":null,"id":23875885727843,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18415858be6ca9e68889f519e9b0af8c975565d_b3225ef0-65f6-4f87-b595-d8dd81a4f03d.webp?v=1714707737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d4f638e57f86625f6e114177cd47abb3610435_ca7e2ac0-52a9-4b95-b7fa-0a8e2992e1c5.webp?v=1714707727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16899c8e47ec4bb263a22fd0cf1b48719617be5a_cee9fd32-676d-4c56-ac6c-94f216b1111b.webp?v=1714707729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8530e550cf76d3bb6b86b7eaa3d6dd4bcc113fb2_a3ec30b8-01bf-4870-beac-86e0d5160964.webp?v=1714707732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8365d46a4eb250c27355dc5accee8dcd919a14_27c9f999-544a-4e4a-8a94-17d00ca27f38.webp?v=1714707734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18415858be6ca9e68889f519e9b0af8c975565d_b3225ef0-65f6-4f87-b595-d8dd81a4f03d.webp?v=1714707737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b8fdb8a162c65104badaa1d95e736816e52509_367d1c46-e67f-45da-8969-bf00c4fc2cab.webp?v=1714707740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a79c550ceea67ac1b80adbb1db1b7cdf945a7e8_6ff718b8-4555-47e2-8c43-4d5d53d64bbc.webp?v=1714707742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db7d9c24177d2d3250f852530b38988041633b4d_93571d2c-eb0d-4b34-b881-f8c4ab2cbede.webp?v=1714707745","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0a2860222bb5135530e204b9a182fbc9251ca6_8ba0870f-b609-4ce4-9790-aa9df84bc357.webp?v=1714707747"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724","options":["color"],"media":[{"alt":null,"id":23875883237475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724","width":2000},{"alt":null,"id":23875883663459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d4f638e57f86625f6e114177cd47abb3610435_ca7e2ac0-52a9-4b95-b7fa-0a8e2992e1c5.webp?v=1714707727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d4f638e57f86625f6e114177cd47abb3610435_ca7e2ac0-52a9-4b95-b7fa-0a8e2992e1c5.webp?v=1714707727","width":2000},{"alt":null,"id":23875884220515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16899c8e47ec4bb263a22fd0cf1b48719617be5a_cee9fd32-676d-4c56-ac6c-94f216b1111b.webp?v=1714707729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16899c8e47ec4bb263a22fd0cf1b48719617be5a_cee9fd32-676d-4c56-ac6c-94f216b1111b.webp?v=1714707729","width":2000},{"alt":null,"id":23875884679267,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8530e550cf76d3bb6b86b7eaa3d6dd4bcc113fb2_a3ec30b8-01bf-4870-beac-86e0d5160964.webp?v=1714707732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8530e550cf76d3bb6b86b7eaa3d6dd4bcc113fb2_a3ec30b8-01bf-4870-beac-86e0d5160964.webp?v=1714707732","width":2000},{"alt":null,"id":23875885203555,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8365d46a4eb250c27355dc5accee8dcd919a14_27c9f999-544a-4e4a-8a94-17d00ca27f38.webp?v=1714707734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8365d46a4eb250c27355dc5accee8dcd919a14_27c9f999-544a-4e4a-8a94-17d00ca27f38.webp?v=1714707734","width":2000},{"alt":null,"id":23875885727843,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18415858be6ca9e68889f519e9b0af8c975565d_b3225ef0-65f6-4f87-b595-d8dd81a4f03d.webp?v=1714707737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18415858be6ca9e68889f519e9b0af8c975565d_b3225ef0-65f6-4f87-b595-d8dd81a4f03d.webp?v=1714707737","width":2000},{"alt":null,"id":23875886350435,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b8fdb8a162c65104badaa1d95e736816e52509_367d1c46-e67f-45da-8969-bf00c4fc2cab.webp?v=1714707740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b8fdb8a162c65104badaa1d95e736816e52509_367d1c46-e67f-45da-8969-bf00c4fc2cab.webp?v=1714707740","width":2000},{"alt":null,"id":23875886710883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a79c550ceea67ac1b80adbb1db1b7cdf945a7e8_6ff718b8-4555-47e2-8c43-4d5d53d64bbc.webp?v=1714707742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a79c550ceea67ac1b80adbb1db1b7cdf945a7e8_6ff718b8-4555-47e2-8c43-4d5d53d64bbc.webp?v=1714707742","width":2000},{"alt":null,"id":23875887235171,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db7d9c24177d2d3250f852530b38988041633b4d_93571d2c-eb0d-4b34-b881-f8c4ab2cbede.webp?v=1714707745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db7d9c24177d2d3250f852530b38988041633b4d_93571d2c-eb0d-4b34-b881-f8c4ab2cbede.webp?v=1714707745","width":2000},{"alt":null,"id":23875887628387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0a2860222bb5135530e204b9a182fbc9251ca6_8ba0870f-b609-4ce4-9790-aa9df84bc357.webp?v=1714707747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b0a2860222bb5135530e204b9a182fbc9251ca6_8ba0870f-b609-4ce4-9790-aa9df84bc357.webp?v=1714707747","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881755648099,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470978400355,"product_id":7408017211491,"position":1,"created_at":"2024-05-03T11:42:04+08:00","updated_at":"2024-05-03T11:42:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724","variant_ids":[41881755648099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - J個好 - 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":"NPB0122824-IV08","featured_media":{"alt":null,"id":23875883237475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881755713635,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470980366435,"product_id":7408017211491,"position":5,"created_at":"2024-05-03T11:42:14+08:00","updated_at":"2024-05-03T11:42:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8365d46a4eb250c27355dc5accee8dcd919a14_27c9f999-544a-4e4a-8a94-17d00ca27f38.webp?v=1714707734","variant_ids":[41881755713635]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - J個好 - 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":"NPB0122804-IV08","featured_media":{"alt":null,"id":23875885203555,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8365d46a4eb250c27355dc5accee8dcd919a14_27c9f999-544a-4e4a-8a94-17d00ca27f38.webp?v=1714707734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881755943011,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470980956259,"product_id":7408017211491,"position":6,"created_at":"2024-05-03T11:42:17+08:00","updated_at":"2024-05-03T11:42:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18415858be6ca9e68889f519e9b0af8c975565d_b3225ef0-65f6-4f87-b595-d8dd81a4f03d.webp?v=1714707737","variant_ids":[41881755943011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - J個好 - 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":"NPB01228J5-IV08","featured_media":{"alt":null,"id":23875885727843,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18415858be6ca9e68889f519e9b0af8c975565d_b3225ef0-65f6-4f87-b595-d8dd81a4f03d.webp?v=1714707737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881755648099,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31470978400355,"product_id":7408017211491,"position":1,"created_at":"2024-05-03T11:42:04+08:00","updated_at":"2024-05-03T11:42:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724","variant_ids":[41881755648099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - J個好 - 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":"NPB0122824-IV08","featured_media":{"alt":null,"id":23875883237475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03cf27fafcbe2b1068cc884d97e096265b824081_cc7bac4d-aac9-49f9-867c-b03b7a8bfe96.webp?v=1714707724"}},"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: "停產" }