$product = {"id":7411337625699,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 夜空星語","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb12","description":null,"published_at":"2024-06-11T17:42:14+08:00","created_at":"2024-05-05T00:10:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-carebears","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41897625550947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480175886435,"product_id":7411337625699,"position":9,"created_at":"2024-05-05T00:10:32+08:00","updated_at":"2024-05-05T00:10:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66f9a629decafdf72a64b924c2e9d5154f41cc4_746acd6c-abf5-4f9d-9d2b-5124ffb8e168.webp?v=1714839032","variant_ids":[41897625550947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 夜空星語 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YB12","featured_media":{"alt":null,"id":23885427146851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66f9a629decafdf72a64b924c2e9d5154f41cc4_746acd6c-abf5-4f9d-9d2b-5124ffb8e168.webp?v=1714839032"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897625649251,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480173756515,"product_id":7411337625699,"position":5,"created_at":"2024-05-05T00:10:22+08:00","updated_at":"2024-05-05T00:10:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b95b55842406315929766d2192bd70a7a67b2d3_a97621b0-fe5a-43da-8fe2-9d6e07119d0c.webp?v=1714839022","variant_ids":[41897625649251]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 夜空星語 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-YB12","featured_media":{"alt":null,"id":23885424689251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b95b55842406315929766d2192bd70a7a67b2d3_a97621b0-fe5a-43da-8fe2-9d6e07119d0c.webp?v=1714839022"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897625878627,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480172839011,"product_id":7411337625699,"position":3,"created_at":"2024-05-05T00:10:17+08:00","updated_at":"2024-05-05T00:10:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f65e269142c24b44dfec84198ec9f713ceb2f4_1e47826c-ee36-4427-92a3-d938ed6f57a0.webp?v=1714839017","variant_ids":[41897625878627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 夜空星語 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-YB12","featured_media":{"alt":null,"id":23885423771747,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f65e269142c24b44dfec84198ec9f713ceb2f4_1e47826c-ee36-4427-92a3-d938ed6f57a0.webp?v=1714839017"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57d201c43f2f36aee62f6ec303a9b7f18adffb54_c5599a08-c927-467a-a92e-52cb1d3b1f04.webp?v=1714839011","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0918217722575d5c02702eb2a3049aa510cd161_ad2e1614-bc51-489a-8f3a-57e033380fc0.webp?v=1714839013","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f65e269142c24b44dfec84198ec9f713ceb2f4_1e47826c-ee36-4427-92a3-d938ed6f57a0.webp?v=1714839017","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/223a72f30e01d17f07be8c123512c783050295f0_a49847da-b113-421c-8d5a-5cdaaa81c28f.webp?v=1714839019","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b95b55842406315929766d2192bd70a7a67b2d3_a97621b0-fe5a-43da-8fe2-9d6e07119d0c.webp?v=1714839022","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/014136730276a6a03e1d245982e7eab13f8dfd4c_eb37182d-0663-4341-a748-aa541eb38d22.webp?v=1714839024","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d383a783345d15529f5ec6abb9c513ee10588148_9bef4a4e-ea12-4e6d-be42-e5405bf360e4.webp?v=1714839027","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bd9829ec76c04b8fcd10cf0afc2d47877c03920_f9031d53-092e-4933-bc74-1f2448817bf9.webp?v=1714839029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66f9a629decafdf72a64b924c2e9d5154f41cc4_746acd6c-abf5-4f9d-9d2b-5124ffb8e168.webp?v=1714839032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5691cb9100c5767fd1123869af8e3bbf1d544be3_0d16af6c-6e3f-42cc-9c3d-ca0cada4d327.webp?v=1714839034"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57d201c43f2f36aee62f6ec303a9b7f18adffb54_c5599a08-c927-467a-a92e-52cb1d3b1f04.webp?v=1714839011","options":["color"],"media":[{"alt":null,"id":23885422690403,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57d201c43f2f36aee62f6ec303a9b7f18adffb54_c5599a08-c927-467a-a92e-52cb1d3b1f04.webp?v=1714839011"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57d201c43f2f36aee62f6ec303a9b7f18adffb54_c5599a08-c927-467a-a92e-52cb1d3b1f04.webp?v=1714839011","width":2000},{"alt":null,"id":23885422985315,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0918217722575d5c02702eb2a3049aa510cd161_ad2e1614-bc51-489a-8f3a-57e033380fc0.webp?v=1714839013"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0918217722575d5c02702eb2a3049aa510cd161_ad2e1614-bc51-489a-8f3a-57e033380fc0.webp?v=1714839013","width":2000},{"alt":null,"id":23885423771747,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f65e269142c24b44dfec84198ec9f713ceb2f4_1e47826c-ee36-4427-92a3-d938ed6f57a0.webp?v=1714839017"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f65e269142c24b44dfec84198ec9f713ceb2f4_1e47826c-ee36-4427-92a3-d938ed6f57a0.webp?v=1714839017","width":2000},{"alt":null,"id":23885424197731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/223a72f30e01d17f07be8c123512c783050295f0_a49847da-b113-421c-8d5a-5cdaaa81c28f.webp?v=1714839019"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/223a72f30e01d17f07be8c123512c783050295f0_a49847da-b113-421c-8d5a-5cdaaa81c28f.webp?v=1714839019","width":2000},{"alt":null,"id":23885424689251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b95b55842406315929766d2192bd70a7a67b2d3_a97621b0-fe5a-43da-8fe2-9d6e07119d0c.webp?v=1714839022"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b95b55842406315929766d2192bd70a7a67b2d3_a97621b0-fe5a-43da-8fe2-9d6e07119d0c.webp?v=1714839022","width":2000},{"alt":null,"id":23885425082467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/014136730276a6a03e1d245982e7eab13f8dfd4c_eb37182d-0663-4341-a748-aa541eb38d22.webp?v=1714839024"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/014136730276a6a03e1d245982e7eab13f8dfd4c_eb37182d-0663-4341-a748-aa541eb38d22.webp?v=1714839024","width":2000},{"alt":null,"id":23885425573987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d383a783345d15529f5ec6abb9c513ee10588148_9bef4a4e-ea12-4e6d-be42-e5405bf360e4.webp?v=1714839027"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d383a783345d15529f5ec6abb9c513ee10588148_9bef4a4e-ea12-4e6d-be42-e5405bf360e4.webp?v=1714839027","width":2000},{"alt":null,"id":23885426262115,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bd9829ec76c04b8fcd10cf0afc2d47877c03920_f9031d53-092e-4933-bc74-1f2448817bf9.webp?v=1714839029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bd9829ec76c04b8fcd10cf0afc2d47877c03920_f9031d53-092e-4933-bc74-1f2448817bf9.webp?v=1714839029","width":2000},{"alt":null,"id":23885427146851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66f9a629decafdf72a64b924c2e9d5154f41cc4_746acd6c-abf5-4f9d-9d2b-5124ffb8e168.webp?v=1714839032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66f9a629decafdf72a64b924c2e9d5154f41cc4_746acd6c-abf5-4f9d-9d2b-5124ffb8e168.webp?v=1714839032","width":2000},{"alt":null,"id":23885427703907,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5691cb9100c5767fd1123869af8e3bbf1d544be3_0d16af6c-6e3f-42cc-9c3d-ca0cada4d327.webp?v=1714839034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5691cb9100c5767fd1123869af8e3bbf1d544be3_0d16af6c-6e3f-42cc-9c3d-ca0cada4d327.webp?v=1714839034","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41897625550947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480175886435,"product_id":7411337625699,"position":9,"created_at":"2024-05-05T00:10:32+08:00","updated_at":"2024-05-05T00:10:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66f9a629decafdf72a64b924c2e9d5154f41cc4_746acd6c-abf5-4f9d-9d2b-5124ffb8e168.webp?v=1714839032","variant_ids":[41897625550947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 夜空星語 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YB12","featured_media":{"alt":null,"id":23885427146851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66f9a629decafdf72a64b924c2e9d5154f41cc4_746acd6c-abf5-4f9d-9d2b-5124ffb8e168.webp?v=1714839032"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897625649251,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480173756515,"product_id":7411337625699,"position":5,"created_at":"2024-05-05T00:10:22+08:00","updated_at":"2024-05-05T00:10:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b95b55842406315929766d2192bd70a7a67b2d3_a97621b0-fe5a-43da-8fe2-9d6e07119d0c.webp?v=1714839022","variant_ids":[41897625649251]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 夜空星語 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-YB12","featured_media":{"alt":null,"id":23885424689251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b95b55842406315929766d2192bd70a7a67b2d3_a97621b0-fe5a-43da-8fe2-9d6e07119d0c.webp?v=1714839022"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897625878627,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480172839011,"product_id":7411337625699,"position":3,"created_at":"2024-05-05T00:10:17+08:00","updated_at":"2024-05-05T00:10:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f65e269142c24b44dfec84198ec9f713ceb2f4_1e47826c-ee36-4427-92a3-d938ed6f57a0.webp?v=1714839017","variant_ids":[41897625878627]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 夜空星語 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-YB12","featured_media":{"alt":null,"id":23885423771747,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f65e269142c24b44dfec84198ec9f713ceb2f4_1e47826c-ee36-4427-92a3-d938ed6f57a0.webp?v=1714839017"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897625550947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480175886435,"product_id":7411337625699,"position":9,"created_at":"2024-05-05T00:10:32+08:00","updated_at":"2024-05-05T00:10:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66f9a629decafdf72a64b924c2e9d5154f41cc4_746acd6c-abf5-4f9d-9d2b-5124ffb8e168.webp?v=1714839032","variant_ids":[41897625550947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 夜空星語 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-YB12","featured_media":{"alt":null,"id":23885427146851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66f9a629decafdf72a64b924c2e9d5154f41cc4_746acd6c-abf5-4f9d-9d2b-5124ffb8e168.webp?v=1714839032"}},"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: "停產" }