$product = {"id":7408114466915,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - 右看看","handle":"iphone-13-mini-mod-nx-printable-iv04","description":null,"published_at":"2024-06-11T16:31:46+08:00","created_at":"2024-05-03T12:02:51+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":41882840694883,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471230615651,"product_id":7408114466915,"position":6,"created_at":"2024-05-03T12:03:06+08:00","updated_at":"2024-05-03T12:03:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639f5505f592bfe844471fa7eab2d389acee4b26_de6c42d0-ae3c-4c68-a7ec-ebd7a291a3f9.webp?v=1714708986","variant_ids":[41882840694883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - 右看看 - 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-IV04","featured_media":{"alt":null,"id":23876135977059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639f5505f592bfe844471fa7eab2d389acee4b26_de6c42d0-ae3c-4c68-a7ec-ebd7a291a3f9.webp?v=1714708986"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882840793187,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471229239395,"product_id":7408114466915,"position":3,"created_at":"2024-05-03T12:02:58+08:00","updated_at":"2024-05-03T12:02:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddbbc035163c962ecc01b2128d96ea27cf18331_250c47f1-360e-4c1d-ac33-2d4f05b88b32.webp?v=1714708978","variant_ids":[41882840793187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - 右看看 - 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-IV04","featured_media":{"alt":null,"id":23876134535267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddbbc035163c962ecc01b2128d96ea27cf18331_250c47f1-360e-4c1d-ac33-2d4f05b88b32.webp?v=1714708978"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882841153635,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471231500387,"product_id":7408114466915,"position":8,"created_at":"2024-05-03T12:03:10+08:00","updated_at":"2024-05-03T12:03:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dfcf986e4ab56cf86f24ca7ac959165e7e733e6_40e40342-f41d-441c-a95d-badf168df0df.webp?v=1714708990","variant_ids":[41882841153635]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - 右看看 - 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-IV04","featured_media":{"alt":null,"id":23876136861795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dfcf986e4ab56cf86f24ca7ac959165e7e733e6_40e40342-f41d-441c-a95d-badf168df0df.webp?v=1714708990"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4bec0b4bc99272818326c8fe55342d1ba9f5c97_eb276103-c744-4626-83bc-ce06d7b82725.webp?v=1714708974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3043603d990a898959a3696e00aecd99d72c17cf_cf2ad773-70fb-4d44-9458-e23dcd8111bb.webp?v=1714708976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddbbc035163c962ecc01b2128d96ea27cf18331_250c47f1-360e-4c1d-ac33-2d4f05b88b32.webp?v=1714708978","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faeb3bf7e1d5caed2bf6d5d3fb585084f8b95649_622f505d-14e4-432b-974b-14565e476575.webp?v=1714708981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9451ddedb5369a57a18426787a24f2994195d4_7be41478-b3c5-4c60-a649-a8355386038c.webp?v=1714708983","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639f5505f592bfe844471fa7eab2d389acee4b26_de6c42d0-ae3c-4c68-a7ec-ebd7a291a3f9.webp?v=1714708986","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9fe38bb2ffcd76c1548779309ddf2e4aa133b5_722bebac-2708-4753-8733-05c741a52324.webp?v=1714708988","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dfcf986e4ab56cf86f24ca7ac959165e7e733e6_40e40342-f41d-441c-a95d-badf168df0df.webp?v=1714708990","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2febf771776d63c278a4af12b778d02e1fd88bc8_ccbda2ee-d3ad-4941-aff6-4411cb8772b9.webp?v=1714708993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394106f25edae304c09dacf6e7a68e8e3e9381d0_74586d54-3730-4f1a-bc57-0568b682e6de.webp?v=1714708995"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4bec0b4bc99272818326c8fe55342d1ba9f5c97_eb276103-c744-4626-83bc-ce06d7b82725.webp?v=1714708974","options":["color"],"media":[{"alt":null,"id":23876133486691,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4bec0b4bc99272818326c8fe55342d1ba9f5c97_eb276103-c744-4626-83bc-ce06d7b82725.webp?v=1714708974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4bec0b4bc99272818326c8fe55342d1ba9f5c97_eb276103-c744-4626-83bc-ce06d7b82725.webp?v=1714708974","width":2000},{"alt":null,"id":23876134142051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3043603d990a898959a3696e00aecd99d72c17cf_cf2ad773-70fb-4d44-9458-e23dcd8111bb.webp?v=1714708976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3043603d990a898959a3696e00aecd99d72c17cf_cf2ad773-70fb-4d44-9458-e23dcd8111bb.webp?v=1714708976","width":2000},{"alt":null,"id":23876134535267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddbbc035163c962ecc01b2128d96ea27cf18331_250c47f1-360e-4c1d-ac33-2d4f05b88b32.webp?v=1714708978"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddbbc035163c962ecc01b2128d96ea27cf18331_250c47f1-360e-4c1d-ac33-2d4f05b88b32.webp?v=1714708978","width":2000},{"alt":null,"id":23876135092323,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faeb3bf7e1d5caed2bf6d5d3fb585084f8b95649_622f505d-14e4-432b-974b-14565e476575.webp?v=1714708981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faeb3bf7e1d5caed2bf6d5d3fb585084f8b95649_622f505d-14e4-432b-974b-14565e476575.webp?v=1714708981","width":2000},{"alt":null,"id":23876135583843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9451ddedb5369a57a18426787a24f2994195d4_7be41478-b3c5-4c60-a649-a8355386038c.webp?v=1714708983"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9451ddedb5369a57a18426787a24f2994195d4_7be41478-b3c5-4c60-a649-a8355386038c.webp?v=1714708983","width":2000},{"alt":null,"id":23876135977059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639f5505f592bfe844471fa7eab2d389acee4b26_de6c42d0-ae3c-4c68-a7ec-ebd7a291a3f9.webp?v=1714708986"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639f5505f592bfe844471fa7eab2d389acee4b26_de6c42d0-ae3c-4c68-a7ec-ebd7a291a3f9.webp?v=1714708986","width":2000},{"alt":null,"id":23876136534115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9fe38bb2ffcd76c1548779309ddf2e4aa133b5_722bebac-2708-4753-8733-05c741a52324.webp?v=1714708988"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9fe38bb2ffcd76c1548779309ddf2e4aa133b5_722bebac-2708-4753-8733-05c741a52324.webp?v=1714708988","width":2000},{"alt":null,"id":23876136861795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dfcf986e4ab56cf86f24ca7ac959165e7e733e6_40e40342-f41d-441c-a95d-badf168df0df.webp?v=1714708990"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dfcf986e4ab56cf86f24ca7ac959165e7e733e6_40e40342-f41d-441c-a95d-badf168df0df.webp?v=1714708990","width":2000},{"alt":null,"id":23876137353315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2febf771776d63c278a4af12b778d02e1fd88bc8_ccbda2ee-d3ad-4941-aff6-4411cb8772b9.webp?v=1714708993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2febf771776d63c278a4af12b778d02e1fd88bc8_ccbda2ee-d3ad-4941-aff6-4411cb8772b9.webp?v=1714708993","width":2000},{"alt":null,"id":23876137844835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394106f25edae304c09dacf6e7a68e8e3e9381d0_74586d54-3730-4f1a-bc57-0568b682e6de.webp?v=1714708995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/394106f25edae304c09dacf6e7a68e8e3e9381d0_74586d54-3730-4f1a-bc57-0568b682e6de.webp?v=1714708995","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41882840694883,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471230615651,"product_id":7408114466915,"position":6,"created_at":"2024-05-03T12:03:06+08:00","updated_at":"2024-05-03T12:03:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639f5505f592bfe844471fa7eab2d389acee4b26_de6c42d0-ae3c-4c68-a7ec-ebd7a291a3f9.webp?v=1714708986","variant_ids":[41882840694883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - 右看看 - 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-IV04","featured_media":{"alt":null,"id":23876135977059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639f5505f592bfe844471fa7eab2d389acee4b26_de6c42d0-ae3c-4c68-a7ec-ebd7a291a3f9.webp?v=1714708986"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882840793187,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471229239395,"product_id":7408114466915,"position":3,"created_at":"2024-05-03T12:02:58+08:00","updated_at":"2024-05-03T12:02:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddbbc035163c962ecc01b2128d96ea27cf18331_250c47f1-360e-4c1d-ac33-2d4f05b88b32.webp?v=1714708978","variant_ids":[41882840793187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - 右看看 - 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-IV04","featured_media":{"alt":null,"id":23876134535267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddbbc035163c962ecc01b2128d96ea27cf18331_250c47f1-360e-4c1d-ac33-2d4f05b88b32.webp?v=1714708978"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882841153635,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471231500387,"product_id":7408114466915,"position":8,"created_at":"2024-05-03T12:03:10+08:00","updated_at":"2024-05-03T12:03:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dfcf986e4ab56cf86f24ca7ac959165e7e733e6_40e40342-f41d-441c-a95d-badf168df0df.webp?v=1714708990","variant_ids":[41882841153635]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - 右看看 - 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-IV04","featured_media":{"alt":null,"id":23876136861795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dfcf986e4ab56cf86f24ca7ac959165e7e733e6_40e40342-f41d-441c-a95d-badf168df0df.webp?v=1714708990"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882840694883,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471230615651,"product_id":7408114466915,"position":6,"created_at":"2024-05-03T12:03:06+08:00","updated_at":"2024-05-03T12:03:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639f5505f592bfe844471fa7eab2d389acee4b26_de6c42d0-ae3c-4c68-a7ec-ebd7a291a3f9.webp?v=1714708986","variant_ids":[41882840694883]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 1G - 右看看 - 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-IV04","featured_media":{"alt":null,"id":23876135977059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/639f5505f592bfe844471fa7eab2d389acee4b26_de6c42d0-ae3c-4c68-a7ec-ebd7a291a3f9.webp?v=1714708986"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }