$product = {"id":7408160899171,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看","handle":"iphone-13-mini-mod-nx-printable-af05","description":null,"published_at":"2024-06-11T16:33:02+08:00","created_at":"2024-05-03T12:11:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-look","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":41883360067683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471351431267,"product_id":7408160899171,"position":5,"created_at":"2024-05-03T12:12:02+08:00","updated_at":"2024-05-03T12:12:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6021d76f768b57a484c8ea045fb1ae8272c3d5a6_bf493fb3-454b-4cc6-899a-74820be2e866.webp?v=1714709522","variant_ids":[41883360067683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看 - 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-AF05","featured_media":{"alt":null,"id":23876257316963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6021d76f768b57a484c8ea045fb1ae8272c3d5a6_bf493fb3-454b-4cc6-899a-74820be2e866.webp?v=1714709522"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883360133219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471354151011,"product_id":7408160899171,"position":9,"created_at":"2024-05-03T12:12:12+08:00","updated_at":"2024-05-03T12:12:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29ced01bcd23a5df7479b78023be64738bf0caa_beff5df0-ce9a-494f-9633-311880a2085e.webp?v=1714709532","variant_ids":[41883360133219]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看 - 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-AF05","featured_media":{"alt":null,"id":23876260036707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29ced01bcd23a5df7479b78023be64738bf0caa_beff5df0-ce9a-494f-9633-311880a2085e.webp?v=1714709532"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883360362595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471350415459,"product_id":7408160899171,"position":3,"created_at":"2024-05-03T12:11:57+08:00","updated_at":"2024-05-03T12:11:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d77d56ea52711c7e27aee7617fd7df5853371d_712b9ca1-a093-4017-8755-bdf907b57ea7.webp?v=1714709517","variant_ids":[41883360362595]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看 - 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-AF05","featured_media":{"alt":null,"id":23876256301155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d77d56ea52711c7e27aee7617fd7df5853371d_712b9ca1-a093-4017-8755-bdf907b57ea7.webp?v=1714709517"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0e309824e994b196fb9970e5df83a1364cf9a5e_b7bc1f4e-208a-4e08-9e59-dfd14ecddf36.webp?v=1714709513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57683e32ed4de85721d314d0a588f7b2786abc7a_bb80ff29-27f2-4dbc-ab41-dc75c738b214.webp?v=1714709515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d77d56ea52711c7e27aee7617fd7df5853371d_712b9ca1-a093-4017-8755-bdf907b57ea7.webp?v=1714709517","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17e489e109a0e605578e885a0b5ad8faeb765cbb_aafcbab7-16bb-42e9-842e-1ef5044f7c16.webp?v=1714709520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6021d76f768b57a484c8ea045fb1ae8272c3d5a6_bf493fb3-454b-4cc6-899a-74820be2e866.webp?v=1714709522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83005d53f95bd996a8caf23f66612f6c9d803961_b0f52460-8ffe-498b-9ead-3e018a0c88ec.webp?v=1714709524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f80e60ee7756aed4e0f5aead618e1fee76faaa0_771148ca-1594-4f58-a5d5-4297f24bc47d.webp?v=1714709527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dae2e78c78cf377f2545a79f4df855f473fdb60_7e7c9712-1d05-43d4-bae5-873b68fe2f0f.webp?v=1714709529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29ced01bcd23a5df7479b78023be64738bf0caa_beff5df0-ce9a-494f-9633-311880a2085e.webp?v=1714709532","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1af83adb6e06175a168e1b8d8c4b5908f724a821_1b4e284b-2e04-47db-a5c6-6b1f2a9088f9.webp?v=1714709534"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0e309824e994b196fb9970e5df83a1364cf9a5e_b7bc1f4e-208a-4e08-9e59-dfd14ecddf36.webp?v=1714709513","options":["color"],"media":[{"alt":null,"id":23876255383651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0e309824e994b196fb9970e5df83a1364cf9a5e_b7bc1f4e-208a-4e08-9e59-dfd14ecddf36.webp?v=1714709513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0e309824e994b196fb9970e5df83a1364cf9a5e_b7bc1f4e-208a-4e08-9e59-dfd14ecddf36.webp?v=1714709513","width":2000},{"alt":null,"id":23876256006243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57683e32ed4de85721d314d0a588f7b2786abc7a_bb80ff29-27f2-4dbc-ab41-dc75c738b214.webp?v=1714709515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57683e32ed4de85721d314d0a588f7b2786abc7a_bb80ff29-27f2-4dbc-ab41-dc75c738b214.webp?v=1714709515","width":2000},{"alt":null,"id":23876256301155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d77d56ea52711c7e27aee7617fd7df5853371d_712b9ca1-a093-4017-8755-bdf907b57ea7.webp?v=1714709517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d77d56ea52711c7e27aee7617fd7df5853371d_712b9ca1-a093-4017-8755-bdf907b57ea7.webp?v=1714709517","width":2000},{"alt":null,"id":23876256989283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17e489e109a0e605578e885a0b5ad8faeb765cbb_aafcbab7-16bb-42e9-842e-1ef5044f7c16.webp?v=1714709520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17e489e109a0e605578e885a0b5ad8faeb765cbb_aafcbab7-16bb-42e9-842e-1ef5044f7c16.webp?v=1714709520","width":2000},{"alt":null,"id":23876257316963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6021d76f768b57a484c8ea045fb1ae8272c3d5a6_bf493fb3-454b-4cc6-899a-74820be2e866.webp?v=1714709522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6021d76f768b57a484c8ea045fb1ae8272c3d5a6_bf493fb3-454b-4cc6-899a-74820be2e866.webp?v=1714709522","width":2000},{"alt":null,"id":23876257939555,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83005d53f95bd996a8caf23f66612f6c9d803961_b0f52460-8ffe-498b-9ead-3e018a0c88ec.webp?v=1714709524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83005d53f95bd996a8caf23f66612f6c9d803961_b0f52460-8ffe-498b-9ead-3e018a0c88ec.webp?v=1714709524","width":2000},{"alt":null,"id":23876259151971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f80e60ee7756aed4e0f5aead618e1fee76faaa0_771148ca-1594-4f58-a5d5-4297f24bc47d.webp?v=1714709527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f80e60ee7756aed4e0f5aead618e1fee76faaa0_771148ca-1594-4f58-a5d5-4297f24bc47d.webp?v=1714709527","width":2000},{"alt":null,"id":23876259807331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dae2e78c78cf377f2545a79f4df855f473fdb60_7e7c9712-1d05-43d4-bae5-873b68fe2f0f.webp?v=1714709529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dae2e78c78cf377f2545a79f4df855f473fdb60_7e7c9712-1d05-43d4-bae5-873b68fe2f0f.webp?v=1714709529","width":2000},{"alt":null,"id":23876260036707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29ced01bcd23a5df7479b78023be64738bf0caa_beff5df0-ce9a-494f-9633-311880a2085e.webp?v=1714709532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29ced01bcd23a5df7479b78023be64738bf0caa_beff5df0-ce9a-494f-9633-311880a2085e.webp?v=1714709532","width":2000},{"alt":null,"id":23876260659299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1af83adb6e06175a168e1b8d8c4b5908f724a821_1b4e284b-2e04-47db-a5c6-6b1f2a9088f9.webp?v=1714709534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1af83adb6e06175a168e1b8d8c4b5908f724a821_1b4e284b-2e04-47db-a5c6-6b1f2a9088f9.webp?v=1714709534","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883360067683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471351431267,"product_id":7408160899171,"position":5,"created_at":"2024-05-03T12:12:02+08:00","updated_at":"2024-05-03T12:12:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6021d76f768b57a484c8ea045fb1ae8272c3d5a6_bf493fb3-454b-4cc6-899a-74820be2e866.webp?v=1714709522","variant_ids":[41883360067683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看 - 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-AF05","featured_media":{"alt":null,"id":23876257316963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6021d76f768b57a484c8ea045fb1ae8272c3d5a6_bf493fb3-454b-4cc6-899a-74820be2e866.webp?v=1714709522"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883360133219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471354151011,"product_id":7408160899171,"position":9,"created_at":"2024-05-03T12:12:12+08:00","updated_at":"2024-05-03T12:12:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29ced01bcd23a5df7479b78023be64738bf0caa_beff5df0-ce9a-494f-9633-311880a2085e.webp?v=1714709532","variant_ids":[41883360133219]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看 - 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-AF05","featured_media":{"alt":null,"id":23876260036707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29ced01bcd23a5df7479b78023be64738bf0caa_beff5df0-ce9a-494f-9633-311880a2085e.webp?v=1714709532"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883360362595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471350415459,"product_id":7408160899171,"position":3,"created_at":"2024-05-03T12:11:57+08:00","updated_at":"2024-05-03T12:11:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d77d56ea52711c7e27aee7617fd7df5853371d_712b9ca1-a093-4017-8755-bdf907b57ea7.webp?v=1714709517","variant_ids":[41883360362595]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看 - 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-AF05","featured_media":{"alt":null,"id":23876256301155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5d77d56ea52711c7e27aee7617fd7df5853371d_712b9ca1-a093-4017-8755-bdf907b57ea7.webp?v=1714709517"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883360067683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-AF05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471351431267,"product_id":7408160899171,"position":5,"created_at":"2024-05-03T12:12:02+08:00","updated_at":"2024-05-03T12:12:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6021d76f768b57a484c8ea045fb1ae8272c3d5a6_bf493fb3-454b-4cc6-899a-74820be2e866.webp?v=1714709522","variant_ids":[41883360067683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Look - 人在做 北極冰川在看 - 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-AF05","featured_media":{"alt":null,"id":23876257316963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6021d76f768b57a484c8ea045fb1ae8272c3d5a6_bf493fb3-454b-4cc6-899a-74820be2e866.webp?v=1714709522"}},"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: "停產" }