$product = {"id":7407772500067,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - We are together","handle":"iphone-14-pro-mod-nx-printable-yb14","description":null,"published_at":"2024-06-11T16:23:00+08:00","created_at":"2024-05-03T10:50:06+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-carebears","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":41878657400931,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470356234339,"product_id":7407772500067,"position":2,"created_at":"2024-05-03T10:50:12+08:00","updated_at":"2024-05-03T10:50:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30709f0f4b68148ee228a971c9ed51ddf88a421_a8d87c13-1b92-4442-9400-7fef4e5c5acb.webp?v=1714704612","variant_ids":[41878657400931]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23875259400291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30709f0f4b68148ee228a971c9ed51ddf88a421_a8d87c13-1b92-4442-9400-7fef4e5c5acb.webp?v=1714704612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878657466467,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470363279459,"product_id":7407772500067,"position":9,"created_at":"2024-05-03T10:50:29+08:00","updated_at":"2024-05-03T10:50:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30be586dd35fa6e41c04ba9ca8672c8c68af6b0_591952b3-b13e-4fc2-a4b9-ad3421c71b49.webp?v=1714704629","variant_ids":[41878657466467]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23875266510947,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30be586dd35fa6e41c04ba9ca8672c8c68af6b0_591952b3-b13e-4fc2-a4b9-ad3421c71b49.webp?v=1714704629"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878657761379,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470359707747,"product_id":7407772500067,"position":7,"created_at":"2024-05-03T10:50:24+08:00","updated_at":"2024-05-03T10:50:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c604b1594ec96b48905a46f4807a94d0c2bca994_dfe73d1f-c429-469f-8cef-bef4dff9f05a.webp?v=1714704624","variant_ids":[41878657761379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23875262906467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c604b1594ec96b48905a46f4807a94d0c2bca994_dfe73d1f-c429-469f-8cef-bef4dff9f05a.webp?v=1714704624"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae0db5f71b9318bc48318dc8e628b5dacf651912_44a752c1-f8e6-4f76-a742-8f9ec6705ed0.webp?v=1714704609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30709f0f4b68148ee228a971c9ed51ddf88a421_a8d87c13-1b92-4442-9400-7fef4e5c5acb.webp?v=1714704612","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2819b3a0d314a5dac3ef35b3eb7b330770eeac2c_b12c937c-d864-4ee5-aeed-18f3699bff06.webp?v=1714704614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/473171bc97d380676f0ad20274a90bfe8c21505a_67d09f68-1250-4c2b-8b9e-5f38e242f9a2.webp?v=1714704617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe4b8901a4f995e52ac847b5e8280cfbc9b5749_a791993f-b831-4c22-9829-bdbdc7eadcd8.webp?v=1714704619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eee0bc7d15a5e68e4a8a555ec335c287e250b054_fb0ad3e9-42cb-4c3a-b00f-481b7e1372d3.webp?v=1714704622","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c604b1594ec96b48905a46f4807a94d0c2bca994_dfe73d1f-c429-469f-8cef-bef4dff9f05a.webp?v=1714704624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da3f4b329351600f3ef53693a5f425b99af251b_e3789ff1-676b-482c-9195-eb3ebb683201.webp?v=1714704627","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30be586dd35fa6e41c04ba9ca8672c8c68af6b0_591952b3-b13e-4fc2-a4b9-ad3421c71b49.webp?v=1714704629","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b35998936274e8d117b2650cedb4c56b47accbb_5c8172b3-8fe8-4882-b6e7-0e19a538a28b.webp?v=1714704632"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae0db5f71b9318bc48318dc8e628b5dacf651912_44a752c1-f8e6-4f76-a742-8f9ec6705ed0.webp?v=1714704609","options":["color"],"media":[{"alt":null,"id":23875258581091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae0db5f71b9318bc48318dc8e628b5dacf651912_44a752c1-f8e6-4f76-a742-8f9ec6705ed0.webp?v=1714704609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae0db5f71b9318bc48318dc8e628b5dacf651912_44a752c1-f8e6-4f76-a742-8f9ec6705ed0.webp?v=1714704609","width":2000},{"alt":null,"id":23875259400291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30709f0f4b68148ee228a971c9ed51ddf88a421_a8d87c13-1b92-4442-9400-7fef4e5c5acb.webp?v=1714704612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30709f0f4b68148ee228a971c9ed51ddf88a421_a8d87c13-1b92-4442-9400-7fef4e5c5acb.webp?v=1714704612","width":2000},{"alt":null,"id":23875260022883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2819b3a0d314a5dac3ef35b3eb7b330770eeac2c_b12c937c-d864-4ee5-aeed-18f3699bff06.webp?v=1714704614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2819b3a0d314a5dac3ef35b3eb7b330770eeac2c_b12c937c-d864-4ee5-aeed-18f3699bff06.webp?v=1714704614","width":2000},{"alt":null,"id":23875260645475,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/473171bc97d380676f0ad20274a90bfe8c21505a_67d09f68-1250-4c2b-8b9e-5f38e242f9a2.webp?v=1714704617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/473171bc97d380676f0ad20274a90bfe8c21505a_67d09f68-1250-4c2b-8b9e-5f38e242f9a2.webp?v=1714704617","width":2000},{"alt":null,"id":23875261431907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe4b8901a4f995e52ac847b5e8280cfbc9b5749_a791993f-b831-4c22-9829-bdbdc7eadcd8.webp?v=1714704619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe4b8901a4f995e52ac847b5e8280cfbc9b5749_a791993f-b831-4c22-9829-bdbdc7eadcd8.webp?v=1714704619","width":2000},{"alt":null,"id":23875262120035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eee0bc7d15a5e68e4a8a555ec335c287e250b054_fb0ad3e9-42cb-4c3a-b00f-481b7e1372d3.webp?v=1714704622"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eee0bc7d15a5e68e4a8a555ec335c287e250b054_fb0ad3e9-42cb-4c3a-b00f-481b7e1372d3.webp?v=1714704622","width":2000},{"alt":null,"id":23875262906467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c604b1594ec96b48905a46f4807a94d0c2bca994_dfe73d1f-c429-469f-8cef-bef4dff9f05a.webp?v=1714704624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c604b1594ec96b48905a46f4807a94d0c2bca994_dfe73d1f-c429-469f-8cef-bef4dff9f05a.webp?v=1714704624","width":2000},{"alt":null,"id":23875263561827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da3f4b329351600f3ef53693a5f425b99af251b_e3789ff1-676b-482c-9195-eb3ebb683201.webp?v=1714704627"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1da3f4b329351600f3ef53693a5f425b99af251b_e3789ff1-676b-482c-9195-eb3ebb683201.webp?v=1714704627","width":2000},{"alt":null,"id":23875266510947,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30be586dd35fa6e41c04ba9ca8672c8c68af6b0_591952b3-b13e-4fc2-a4b9-ad3421c71b49.webp?v=1714704629"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30be586dd35fa6e41c04ba9ca8672c8c68af6b0_591952b3-b13e-4fc2-a4b9-ad3421c71b49.webp?v=1714704629","width":2000},{"alt":null,"id":23875267133539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b35998936274e8d117b2650cedb4c56b47accbb_5c8172b3-8fe8-4882-b6e7-0e19a538a28b.webp?v=1714704632"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b35998936274e8d117b2650cedb4c56b47accbb_5c8172b3-8fe8-4882-b6e7-0e19a538a28b.webp?v=1714704632","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41878657400931,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470356234339,"product_id":7407772500067,"position":2,"created_at":"2024-05-03T10:50:12+08:00","updated_at":"2024-05-03T10:50:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30709f0f4b68148ee228a971c9ed51ddf88a421_a8d87c13-1b92-4442-9400-7fef4e5c5acb.webp?v=1714704612","variant_ids":[41878657400931]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23875259400291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30709f0f4b68148ee228a971c9ed51ddf88a421_a8d87c13-1b92-4442-9400-7fef4e5c5acb.webp?v=1714704612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878657466467,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470363279459,"product_id":7407772500067,"position":9,"created_at":"2024-05-03T10:50:29+08:00","updated_at":"2024-05-03T10:50:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30be586dd35fa6e41c04ba9ca8672c8c68af6b0_591952b3-b13e-4fc2-a4b9-ad3421c71b49.webp?v=1714704629","variant_ids":[41878657466467]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23875266510947,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30be586dd35fa6e41c04ba9ca8672c8c68af6b0_591952b3-b13e-4fc2-a4b9-ad3421c71b49.webp?v=1714704629"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878657761379,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470359707747,"product_id":7407772500067,"position":7,"created_at":"2024-05-03T10:50:24+08:00","updated_at":"2024-05-03T10:50:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c604b1594ec96b48905a46f4807a94d0c2bca994_dfe73d1f-c429-469f-8cef-bef4dff9f05a.webp?v=1714704624","variant_ids":[41878657761379]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23875262906467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c604b1594ec96b48905a46f4807a94d0c2bca994_dfe73d1f-c429-469f-8cef-bef4dff9f05a.webp?v=1714704624"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41878657400931,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31470356234339,"product_id":7407772500067,"position":2,"created_at":"2024-05-03T10:50:12+08:00","updated_at":"2024-05-03T10:50:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30709f0f4b68148ee228a971c9ed51ddf88a421_a8d87c13-1b92-4442-9400-7fef4e5c5acb.webp?v=1714704612","variant_ids":[41878657400931]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23875259400291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30709f0f4b68148ee228a971c9ed51ddf88a421_a8d87c13-1b92-4442-9400-7fef4e5c5acb.webp?v=1714704612"}},"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: "停產" }