$product = {"id":7407964061795,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 夜空星語","handle":"iphone-14-pro-mod-nx-printable-yb12","description":null,"published_at":"2024-06-11T16:27:46+08:00","created_at":"2024-05-03T11:24:40+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":41881115164771,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470818066531,"product_id":7407964061795,"position":3,"created_at":"2024-05-03T11:24:48+08:00","updated_at":"2024-05-03T11:24:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d26a220265fe65d55fd0d67660374fd9a80c5ef2_6f8fe2f8-ea1d-4945-8474-eb47b55ce0b4.webp?v=1714706688","variant_ids":[41881115164771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23875722510435,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d26a220265fe65d55fd0d67660374fd9a80c5ef2_6f8fe2f8-ea1d-4945-8474-eb47b55ce0b4.webp?v=1714706688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881115230307,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470817116259,"product_id":7407964061795,"position":1,"created_at":"2024-05-03T11:24:43+08:00","updated_at":"2024-05-03T11:24:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6caf12b973484ad3b1d91f69ed381da67f4a8eac_b8491282-4ddb-44be-9f5c-947392e30603.webp?v=1714706683","variant_ids":[41881115230307]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23875721494627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6caf12b973484ad3b1d91f69ed381da67f4a8eac_b8491282-4ddb-44be-9f5c-947392e30603.webp?v=1714706683"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881115459683,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470821572707,"product_id":7407964061795,"position":10,"created_at":"2024-05-03T11:25:04+08:00","updated_at":"2024-05-03T11:25:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc495e47933e4745d309378116bf766fc5aa914_da9e5517-74c2-4b77-9b3d-dad3d1ea6982.webp?v=1714706704","variant_ids":[41881115459683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23875726016611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc495e47933e4745d309378116bf766fc5aa914_da9e5517-74c2-4b77-9b3d-dad3d1ea6982.webp?v=1714706704"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6caf12b973484ad3b1d91f69ed381da67f4a8eac_b8491282-4ddb-44be-9f5c-947392e30603.webp?v=1714706683","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1fe0f2b25f27fbb9e63452d247417f6dc7b73d_f9e503d6-7477-4e3c-9a38-719f3a7af0c5.webp?v=1714706685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d26a220265fe65d55fd0d67660374fd9a80c5ef2_6f8fe2f8-ea1d-4945-8474-eb47b55ce0b4.webp?v=1714706688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa85766e194e86c91172a2a8d41a7d46aec6914_12267c96-6eaf-42fc-ba85-f69091b83315.webp?v=1714706690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d7919dd535a81f54c8dbf2e33580df7ad457ca_df5ee4d4-9bc3-4f5a-a9ba-7053284c1e7b.webp?v=1714706692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42dddb1e8e8ef3f951ae2201dc2bdfad5b8ec6e6_59711d5e-9409-46be-879d-e1b40018f0be.webp?v=1714706695","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1a877993e7938f456a4a852af82c75b44a6680b_eaff8179-36c4-4d0e-b820-e8fc7e2661ae.webp?v=1714706697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0ebd0b15111d3be543d66481edb1f7bf7769079_5228b278-845b-4c4b-ac13-2af5860e06c0.webp?v=1714706700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f2c7ed0e1f351e7b869876dc34d88443f11c1fa_23b15a0b-edc1-478c-9f01-2fa8da7244c1.webp?v=1714706702","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc495e47933e4745d309378116bf766fc5aa914_da9e5517-74c2-4b77-9b3d-dad3d1ea6982.webp?v=1714706704"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6caf12b973484ad3b1d91f69ed381da67f4a8eac_b8491282-4ddb-44be-9f5c-947392e30603.webp?v=1714706683","options":["color"],"media":[{"alt":null,"id":23875721494627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6caf12b973484ad3b1d91f69ed381da67f4a8eac_b8491282-4ddb-44be-9f5c-947392e30603.webp?v=1714706683"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6caf12b973484ad3b1d91f69ed381da67f4a8eac_b8491282-4ddb-44be-9f5c-947392e30603.webp?v=1714706683","width":2000},{"alt":null,"id":23875722051683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1fe0f2b25f27fbb9e63452d247417f6dc7b73d_f9e503d6-7477-4e3c-9a38-719f3a7af0c5.webp?v=1714706685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f1fe0f2b25f27fbb9e63452d247417f6dc7b73d_f9e503d6-7477-4e3c-9a38-719f3a7af0c5.webp?v=1714706685","width":2000},{"alt":null,"id":23875722510435,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d26a220265fe65d55fd0d67660374fd9a80c5ef2_6f8fe2f8-ea1d-4945-8474-eb47b55ce0b4.webp?v=1714706688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d26a220265fe65d55fd0d67660374fd9a80c5ef2_6f8fe2f8-ea1d-4945-8474-eb47b55ce0b4.webp?v=1714706688","width":2000},{"alt":null,"id":23875722969187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa85766e194e86c91172a2a8d41a7d46aec6914_12267c96-6eaf-42fc-ba85-f69091b83315.webp?v=1714706690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa85766e194e86c91172a2a8d41a7d46aec6914_12267c96-6eaf-42fc-ba85-f69091b83315.webp?v=1714706690","width":2000},{"alt":null,"id":23875723427939,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d7919dd535a81f54c8dbf2e33580df7ad457ca_df5ee4d4-9bc3-4f5a-a9ba-7053284c1e7b.webp?v=1714706692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d7919dd535a81f54c8dbf2e33580df7ad457ca_df5ee4d4-9bc3-4f5a-a9ba-7053284c1e7b.webp?v=1714706692","width":2000},{"alt":null,"id":23875723821155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42dddb1e8e8ef3f951ae2201dc2bdfad5b8ec6e6_59711d5e-9409-46be-879d-e1b40018f0be.webp?v=1714706695"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42dddb1e8e8ef3f951ae2201dc2bdfad5b8ec6e6_59711d5e-9409-46be-879d-e1b40018f0be.webp?v=1714706695","width":2000},{"alt":null,"id":23875724345443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1a877993e7938f456a4a852af82c75b44a6680b_eaff8179-36c4-4d0e-b820-e8fc7e2661ae.webp?v=1714706697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1a877993e7938f456a4a852af82c75b44a6680b_eaff8179-36c4-4d0e-b820-e8fc7e2661ae.webp?v=1714706697","width":2000},{"alt":null,"id":23875724935267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0ebd0b15111d3be543d66481edb1f7bf7769079_5228b278-845b-4c4b-ac13-2af5860e06c0.webp?v=1714706700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0ebd0b15111d3be543d66481edb1f7bf7769079_5228b278-845b-4c4b-ac13-2af5860e06c0.webp?v=1714706700","width":2000},{"alt":null,"id":23875725492323,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f2c7ed0e1f351e7b869876dc34d88443f11c1fa_23b15a0b-edc1-478c-9f01-2fa8da7244c1.webp?v=1714706702"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f2c7ed0e1f351e7b869876dc34d88443f11c1fa_23b15a0b-edc1-478c-9f01-2fa8da7244c1.webp?v=1714706702","width":2000},{"alt":null,"id":23875726016611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc495e47933e4745d309378116bf766fc5aa914_da9e5517-74c2-4b77-9b3d-dad3d1ea6982.webp?v=1714706704"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc495e47933e4745d309378116bf766fc5aa914_da9e5517-74c2-4b77-9b3d-dad3d1ea6982.webp?v=1714706704","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881115164771,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470818066531,"product_id":7407964061795,"position":3,"created_at":"2024-05-03T11:24:48+08:00","updated_at":"2024-05-03T11:24:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d26a220265fe65d55fd0d67660374fd9a80c5ef2_6f8fe2f8-ea1d-4945-8474-eb47b55ce0b4.webp?v=1714706688","variant_ids":[41881115164771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23875722510435,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d26a220265fe65d55fd0d67660374fd9a80c5ef2_6f8fe2f8-ea1d-4945-8474-eb47b55ce0b4.webp?v=1714706688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881115230307,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470817116259,"product_id":7407964061795,"position":1,"created_at":"2024-05-03T11:24:43+08:00","updated_at":"2024-05-03T11:24:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6caf12b973484ad3b1d91f69ed381da67f4a8eac_b8491282-4ddb-44be-9f5c-947392e30603.webp?v=1714706683","variant_ids":[41881115230307]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23875721494627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6caf12b973484ad3b1d91f69ed381da67f4a8eac_b8491282-4ddb-44be-9f5c-947392e30603.webp?v=1714706683"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881115459683,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470821572707,"product_id":7407964061795,"position":10,"created_at":"2024-05-03T11:25:04+08:00","updated_at":"2024-05-03T11:25:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc495e47933e4745d309378116bf766fc5aa914_da9e5517-74c2-4b77-9b3d-dad3d1ea6982.webp?v=1714706704","variant_ids":[41881115459683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23875726016611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc495e47933e4745d309378116bf766fc5aa914_da9e5517-74c2-4b77-9b3d-dad3d1ea6982.webp?v=1714706704"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881115164771,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31470818066531,"product_id":7407964061795,"position":3,"created_at":"2024-05-03T11:24:48+08:00","updated_at":"2024-05-03T11:24:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d26a220265fe65d55fd0d67660374fd9a80c5ef2_6f8fe2f8-ea1d-4945-8474-eb47b55ce0b4.webp?v=1714706688","variant_ids":[41881115164771]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Care Bears - 夜空星語 - 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-YB12","featured_media":{"alt":null,"id":23875722510435,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d26a220265fe65d55fd0d67660374fd9a80c5ef2_6f8fe2f8-ea1d-4945-8474-eb47b55ce0b4.webp?v=1714706688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }