$product = {"id":7407863496803,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 火炎山","handle":"iphone-14-pro-mod-nx-printable-aa36","description":null,"published_at":"2024-06-11T16:24:57+08:00","created_at":"2024-05-03T11:04:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 14 Pro","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx","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":41879783211107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31470565425251,"product_id":7407863496803,"position":4,"created_at":"2024-05-03T11:05:08+08:00","updated_at":"2024-05-03T11:05:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219c81c3b37425d119a975843f0bffe286593219_73a8cb1f-32a1-44f8-a44d-7ecbbe246cce.webp?v=1714705508","variant_ids":[41879783211107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 火炎山 - 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":"NPB0126224-AA36","featured_media":{"alt":null,"id":23875469279331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219c81c3b37425d119a975843f0bffe286593219_73a8cb1f-32a1-44f8-a44d-7ecbbe246cce.webp?v=1714705508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879783473251,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31470563917923,"product_id":7407863496803,"position":1,"created_at":"2024-05-03T11:05:01+08:00","updated_at":"2024-05-03T11:05:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2b0a505c8b87e57dda253ae558a3603b9f3af73_5fbf54f1-fab3-486a-a81b-c07ab2c3b3fe.webp?v=1714705501","variant_ids":[41879783473251]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 火炎山 - 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":"NPB0126204-AA36","featured_media":{"alt":null,"id":23875467772003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2b0a505c8b87e57dda253ae558a3603b9f3af73_5fbf54f1-fab3-486a-a81b-c07ab2c3b3fe.webp?v=1714705501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879783866467,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31470566015075,"product_id":7407863496803,"position":5,"created_at":"2024-05-03T11:05:11+08:00","updated_at":"2024-05-03T11:05:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335a11755920b219df8948f85d44d68b8c6ea1a3_5f88ba58-8d16-4193-8b25-cfe41c3f7f11.webp?v=1714705511","variant_ids":[41879783866467]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 火炎山 - 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":"NPB01262J5-AA36","featured_media":{"alt":null,"id":23875469869155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335a11755920b219df8948f85d44d68b8c6ea1a3_5f88ba58-8d16-4193-8b25-cfe41c3f7f11.webp?v=1714705511"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2b0a505c8b87e57dda253ae558a3603b9f3af73_5fbf54f1-fab3-486a-a81b-c07ab2c3b3fe.webp?v=1714705501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37ebcf5f0b0d69f2a594f56ad6f312486b0364ea_720fc08f-3e16-49e7-958e-5455a2a995b3.webp?v=1714705503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21a619d35225447777bd9fb7a01093a60d8d8cb_21a0ad2e-c208-48ad-b18d-d23ee3c139ec.webp?v=1714705506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219c81c3b37425d119a975843f0bffe286593219_73a8cb1f-32a1-44f8-a44d-7ecbbe246cce.webp?v=1714705508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335a11755920b219df8948f85d44d68b8c6ea1a3_5f88ba58-8d16-4193-8b25-cfe41c3f7f11.webp?v=1714705511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2fe0cdabcd1bb6bd76a5e3ef9b09d9d82d644e2_fe2d340d-854a-4275-be99-9c43f469ca9f.webp?v=1714705513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a1d0461f5e284053224db30f41cd60fd79b54f3_976b81dd-91b2-41b2-9d8d-5faadd2f9435.webp?v=1714705516","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8a1bc03d38483d5ffd4854edbbd539d9f15264_95046728-1f96-4047-af84-c28facd498e6.webp?v=1714705518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ccbb22f8155d3004be4e9f5586ef9aceda63c21_733af07a-9660-42e1-8f4a-c695261991e8.webp?v=1714705521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2128827f04c1a679be7261a9ed9b29c75137c7f6_002d1e8f-f34b-4bb4-a717-6864d713db78.webp?v=1714705523"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2b0a505c8b87e57dda253ae558a3603b9f3af73_5fbf54f1-fab3-486a-a81b-c07ab2c3b3fe.webp?v=1714705501","options":["color"],"media":[{"alt":null,"id":23875467772003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2b0a505c8b87e57dda253ae558a3603b9f3af73_5fbf54f1-fab3-486a-a81b-c07ab2c3b3fe.webp?v=1714705501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2b0a505c8b87e57dda253ae558a3603b9f3af73_5fbf54f1-fab3-486a-a81b-c07ab2c3b3fe.webp?v=1714705501","width":2000},{"alt":null,"id":23875468230755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37ebcf5f0b0d69f2a594f56ad6f312486b0364ea_720fc08f-3e16-49e7-958e-5455a2a995b3.webp?v=1714705503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37ebcf5f0b0d69f2a594f56ad6f312486b0364ea_720fc08f-3e16-49e7-958e-5455a2a995b3.webp?v=1714705503","width":2000},{"alt":null,"id":23875468722275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21a619d35225447777bd9fb7a01093a60d8d8cb_21a0ad2e-c208-48ad-b18d-d23ee3c139ec.webp?v=1714705506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21a619d35225447777bd9fb7a01093a60d8d8cb_21a0ad2e-c208-48ad-b18d-d23ee3c139ec.webp?v=1714705506","width":2000},{"alt":null,"id":23875469279331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219c81c3b37425d119a975843f0bffe286593219_73a8cb1f-32a1-44f8-a44d-7ecbbe246cce.webp?v=1714705508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219c81c3b37425d119a975843f0bffe286593219_73a8cb1f-32a1-44f8-a44d-7ecbbe246cce.webp?v=1714705508","width":2000},{"alt":null,"id":23875469869155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335a11755920b219df8948f85d44d68b8c6ea1a3_5f88ba58-8d16-4193-8b25-cfe41c3f7f11.webp?v=1714705511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335a11755920b219df8948f85d44d68b8c6ea1a3_5f88ba58-8d16-4193-8b25-cfe41c3f7f11.webp?v=1714705511","width":2000},{"alt":null,"id":23875470393443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2fe0cdabcd1bb6bd76a5e3ef9b09d9d82d644e2_fe2d340d-854a-4275-be99-9c43f469ca9f.webp?v=1714705513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2fe0cdabcd1bb6bd76a5e3ef9b09d9d82d644e2_fe2d340d-854a-4275-be99-9c43f469ca9f.webp?v=1714705513","width":2000},{"alt":null,"id":23875470884963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a1d0461f5e284053224db30f41cd60fd79b54f3_976b81dd-91b2-41b2-9d8d-5faadd2f9435.webp?v=1714705516"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a1d0461f5e284053224db30f41cd60fd79b54f3_976b81dd-91b2-41b2-9d8d-5faadd2f9435.webp?v=1714705516","width":2000},{"alt":null,"id":23875471278179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8a1bc03d38483d5ffd4854edbbd539d9f15264_95046728-1f96-4047-af84-c28facd498e6.webp?v=1714705518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d8a1bc03d38483d5ffd4854edbbd539d9f15264_95046728-1f96-4047-af84-c28facd498e6.webp?v=1714705518","width":2000},{"alt":null,"id":23875471835235,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ccbb22f8155d3004be4e9f5586ef9aceda63c21_733af07a-9660-42e1-8f4a-c695261991e8.webp?v=1714705521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ccbb22f8155d3004be4e9f5586ef9aceda63c21_733af07a-9660-42e1-8f4a-c695261991e8.webp?v=1714705521","width":2000},{"alt":null,"id":23875472228451,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2128827f04c1a679be7261a9ed9b29c75137c7f6_002d1e8f-f34b-4bb4-a717-6864d713db78.webp?v=1714705523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2128827f04c1a679be7261a9ed9b29c75137c7f6_002d1e8f-f34b-4bb4-a717-6864d713db78.webp?v=1714705523","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879783211107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31470565425251,"product_id":7407863496803,"position":4,"created_at":"2024-05-03T11:05:08+08:00","updated_at":"2024-05-03T11:05:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219c81c3b37425d119a975843f0bffe286593219_73a8cb1f-32a1-44f8-a44d-7ecbbe246cce.webp?v=1714705508","variant_ids":[41879783211107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 火炎山 - 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":"NPB0126224-AA36","featured_media":{"alt":null,"id":23875469279331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219c81c3b37425d119a975843f0bffe286593219_73a8cb1f-32a1-44f8-a44d-7ecbbe246cce.webp?v=1714705508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879783473251,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31470563917923,"product_id":7407863496803,"position":1,"created_at":"2024-05-03T11:05:01+08:00","updated_at":"2024-05-03T11:05:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2b0a505c8b87e57dda253ae558a3603b9f3af73_5fbf54f1-fab3-486a-a81b-c07ab2c3b3fe.webp?v=1714705501","variant_ids":[41879783473251]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 火炎山 - 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":"NPB0126204-AA36","featured_media":{"alt":null,"id":23875467772003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2b0a505c8b87e57dda253ae558a3603b9f3af73_5fbf54f1-fab3-486a-a81b-c07ab2c3b3fe.webp?v=1714705501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879783866467,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31470566015075,"product_id":7407863496803,"position":5,"created_at":"2024-05-03T11:05:11+08:00","updated_at":"2024-05-03T11:05:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335a11755920b219df8948f85d44d68b8c6ea1a3_5f88ba58-8d16-4193-8b25-cfe41c3f7f11.webp?v=1714705511","variant_ids":[41879783866467]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 火炎山 - 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":"NPB01262J5-AA36","featured_media":{"alt":null,"id":23875469869155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335a11755920b219df8948f85d44d68b8c6ea1a3_5f88ba58-8d16-4193-8b25-cfe41c3f7f11.webp?v=1714705511"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879783211107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-AA36","requires_shipping":true,"taxable":true,"featured_image":{"id":31470565425251,"product_id":7407863496803,"position":4,"created_at":"2024-05-03T11:05:08+08:00","updated_at":"2024-05-03T11:05:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219c81c3b37425d119a975843f0bffe286593219_73a8cb1f-32a1-44f8-a44d-7ecbbe246cce.webp?v=1714705508","variant_ids":[41879783211107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【獨家設計款】 - 火炎山 - 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":"NPB0126224-AA36","featured_media":{"alt":null,"id":23875469279331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219c81c3b37425d119a975843f0bffe286593219_73a8cb1f-32a1-44f8-a44d-7ecbbe246cce.webp?v=1714705508"}},"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: "停產" }