$product = {"id":7407946039395,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Good Luck Bear","handle":"iphone-14-pro-mod-nx-printable-yb05","description":null,"published_at":"2024-06-11T16:27:16+08:00","created_at":"2024-05-03T11:21:14+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":41880875466851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470769602659,"product_id":7407946039395,"position":5,"created_at":"2024-05-03T11:21:25+08:00","updated_at":"2024-05-03T11:21:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c93b055a866fd776458e11bdacb34d11243328f_5e7abcfd-123f-4b0e-a8c0-27181b19d651.webp?v=1714706485","variant_ids":[41880875466851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23875673817187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c93b055a866fd776458e11bdacb34d11243328f_5e7abcfd-123f-4b0e-a8c0-27181b19d651.webp?v=1714706485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880875532387,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470769209443,"product_id":7407946039395,"position":4,"created_at":"2024-05-03T11:21:23+08:00","updated_at":"2024-05-03T11:21:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb572db4626cb1ae73183785b76a529a34546f76_fd94cbbb-aa7b-4f68-ba98-f40cbdc50bfe.webp?v=1714706483","variant_ids":[41880875532387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23875673456739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb572db4626cb1ae73183785b76a529a34546f76_fd94cbbb-aa7b-4f68-ba98-f40cbdc50bfe.webp?v=1714706483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880875761763,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470767833187,"product_id":7407946039395,"position":1,"created_at":"2024-05-03T11:21:16+08:00","updated_at":"2024-05-03T11:21:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fd7bf08f536ae06a6e1fb014368899a1790ed4b_3fb6aa19-843f-4ba7-b4ff-d1c518e2a939.webp?v=1714706476","variant_ids":[41880875761763]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23875672047715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fd7bf08f536ae06a6e1fb014368899a1790ed4b_3fb6aa19-843f-4ba7-b4ff-d1c518e2a939.webp?v=1714706476"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fd7bf08f536ae06a6e1fb014368899a1790ed4b_3fb6aa19-843f-4ba7-b4ff-d1c518e2a939.webp?v=1714706476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a17b080addec86171c8b1a18d30b2227c3065c9f_d68178dd-aacc-4b02-ae0e-b79b139f10a8.webp?v=1714706479","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b124daaf0673cf8ff096fbd4d6a3d86741eb4061_d8a99fa1-56eb-437e-b763-67a54a59b481.webp?v=1714706481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb572db4626cb1ae73183785b76a529a34546f76_fd94cbbb-aa7b-4f68-ba98-f40cbdc50bfe.webp?v=1714706483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c93b055a866fd776458e11bdacb34d11243328f_5e7abcfd-123f-4b0e-a8c0-27181b19d651.webp?v=1714706485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45b7b4b7389c8af7a3a76e874d1718cdf223dad_e731d533-e30e-4d37-845c-fd1d98ca508c.webp?v=1714706488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8da4a01619a65826ffe1a67ff11bc6ddcceb8f2_9b169644-cc2b-43d6-b783-8802dce604ac.webp?v=1714706490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6177773237235f6b7b5d20959b0a0591618be38a_c6ef02bf-6cff-4493-bc38-f98e3ef649fd.webp?v=1714706493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34dc6ecdcf56fb91393962d55ed0d2ee89f33a5_2aba5d4e-11f4-4c4b-9326-6337cefba459.webp?v=1714706495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f58e8847e21dd7f5dce22274f9e5166f09993242_04ab9794-1ff6-4564-9827-d48ab5e576f7.webp?v=1714706498"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fd7bf08f536ae06a6e1fb014368899a1790ed4b_3fb6aa19-843f-4ba7-b4ff-d1c518e2a939.webp?v=1714706476","options":["color"],"media":[{"alt":null,"id":23875672047715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fd7bf08f536ae06a6e1fb014368899a1790ed4b_3fb6aa19-843f-4ba7-b4ff-d1c518e2a939.webp?v=1714706476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fd7bf08f536ae06a6e1fb014368899a1790ed4b_3fb6aa19-843f-4ba7-b4ff-d1c518e2a939.webp?v=1714706476","width":2000},{"alt":null,"id":23875672637539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a17b080addec86171c8b1a18d30b2227c3065c9f_d68178dd-aacc-4b02-ae0e-b79b139f10a8.webp?v=1714706479"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a17b080addec86171c8b1a18d30b2227c3065c9f_d68178dd-aacc-4b02-ae0e-b79b139f10a8.webp?v=1714706479","width":2000},{"alt":null,"id":23875672997987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b124daaf0673cf8ff096fbd4d6a3d86741eb4061_d8a99fa1-56eb-437e-b763-67a54a59b481.webp?v=1714706481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b124daaf0673cf8ff096fbd4d6a3d86741eb4061_d8a99fa1-56eb-437e-b763-67a54a59b481.webp?v=1714706481","width":2000},{"alt":null,"id":23875673456739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb572db4626cb1ae73183785b76a529a34546f76_fd94cbbb-aa7b-4f68-ba98-f40cbdc50bfe.webp?v=1714706483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb572db4626cb1ae73183785b76a529a34546f76_fd94cbbb-aa7b-4f68-ba98-f40cbdc50bfe.webp?v=1714706483","width":2000},{"alt":null,"id":23875673817187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c93b055a866fd776458e11bdacb34d11243328f_5e7abcfd-123f-4b0e-a8c0-27181b19d651.webp?v=1714706485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c93b055a866fd776458e11bdacb34d11243328f_5e7abcfd-123f-4b0e-a8c0-27181b19d651.webp?v=1714706485","width":2000},{"alt":null,"id":23875674341475,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45b7b4b7389c8af7a3a76e874d1718cdf223dad_e731d533-e30e-4d37-845c-fd1d98ca508c.webp?v=1714706488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45b7b4b7389c8af7a3a76e874d1718cdf223dad_e731d533-e30e-4d37-845c-fd1d98ca508c.webp?v=1714706488","width":2000},{"alt":null,"id":23875674800227,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8da4a01619a65826ffe1a67ff11bc6ddcceb8f2_9b169644-cc2b-43d6-b783-8802dce604ac.webp?v=1714706490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8da4a01619a65826ffe1a67ff11bc6ddcceb8f2_9b169644-cc2b-43d6-b783-8802dce604ac.webp?v=1714706490","width":2000},{"alt":null,"id":23875675291747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6177773237235f6b7b5d20959b0a0591618be38a_c6ef02bf-6cff-4493-bc38-f98e3ef649fd.webp?v=1714706493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6177773237235f6b7b5d20959b0a0591618be38a_c6ef02bf-6cff-4493-bc38-f98e3ef649fd.webp?v=1714706493","width":2000},{"alt":null,"id":23875675816035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34dc6ecdcf56fb91393962d55ed0d2ee89f33a5_2aba5d4e-11f4-4c4b-9326-6337cefba459.webp?v=1714706495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34dc6ecdcf56fb91393962d55ed0d2ee89f33a5_2aba5d4e-11f4-4c4b-9326-6337cefba459.webp?v=1714706495","width":2000},{"alt":null,"id":23875676274787,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f58e8847e21dd7f5dce22274f9e5166f09993242_04ab9794-1ff6-4564-9827-d48ab5e576f7.webp?v=1714706498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f58e8847e21dd7f5dce22274f9e5166f09993242_04ab9794-1ff6-4564-9827-d48ab5e576f7.webp?v=1714706498","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880875466851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470769602659,"product_id":7407946039395,"position":5,"created_at":"2024-05-03T11:21:25+08:00","updated_at":"2024-05-03T11:21:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c93b055a866fd776458e11bdacb34d11243328f_5e7abcfd-123f-4b0e-a8c0-27181b19d651.webp?v=1714706485","variant_ids":[41880875466851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23875673817187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c93b055a866fd776458e11bdacb34d11243328f_5e7abcfd-123f-4b0e-a8c0-27181b19d651.webp?v=1714706485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880875532387,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470769209443,"product_id":7407946039395,"position":4,"created_at":"2024-05-03T11:21:23+08:00","updated_at":"2024-05-03T11:21:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb572db4626cb1ae73183785b76a529a34546f76_fd94cbbb-aa7b-4f68-ba98-f40cbdc50bfe.webp?v=1714706483","variant_ids":[41880875532387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23875673456739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb572db4626cb1ae73183785b76a529a34546f76_fd94cbbb-aa7b-4f68-ba98-f40cbdc50bfe.webp?v=1714706483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880875761763,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470767833187,"product_id":7407946039395,"position":1,"created_at":"2024-05-03T11:21:16+08:00","updated_at":"2024-05-03T11:21:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fd7bf08f536ae06a6e1fb014368899a1790ed4b_3fb6aa19-843f-4ba7-b4ff-d1c518e2a939.webp?v=1714706476","variant_ids":[41880875761763]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23875672047715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fd7bf08f536ae06a6e1fb014368899a1790ed4b_3fb6aa19-843f-4ba7-b4ff-d1c518e2a939.webp?v=1714706476"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880875466851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31470769602659,"product_id":7407946039395,"position":5,"created_at":"2024-05-03T11:21:25+08:00","updated_at":"2024-05-03T11:21:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c93b055a866fd776458e11bdacb34d11243328f_5e7abcfd-123f-4b0e-a8c0-27181b19d651.webp?v=1714706485","variant_ids":[41880875466851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23875673817187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c93b055a866fd776458e11bdacb34d11243328f_5e7abcfd-123f-4b0e-a8c0-27181b19d651.webp?v=1714706485"}},"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: "停產" }