$product = {"id":7411253575779,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - We are together","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb14","description":null,"published_at":"2024-06-11T17:39:59+08:00","created_at":"2024-05-04T23:54:17+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":41896568193123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31479967121507,"product_id":7411253575779,"position":3,"created_at":"2024-05-04T23:54:24+08:00","updated_at":"2024-05-04T23:54:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0a639de299487f82ff5e9fbe0fae9d45c5bc2_95b6de49-d5ce-4d83-b6f7-1033644f3c1d.webp?v=1714838064","variant_ids":[41896568193123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23885217693795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0a639de299487f82ff5e9fbe0fae9d45c5bc2_95b6de49-d5ce-4d83-b6f7-1033644f3c1d.webp?v=1714838064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896568258659,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31479968399459,"product_id":7411253575779,"position":5,"created_at":"2024-05-04T23:54:29+08:00","updated_at":"2024-05-04T23:54:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efe36dd7dae8e2ef9dd7041e27410d93e73a44f6_dbf7f1f2-f017-4119-9170-ae7941aef789.webp?v=1714838069","variant_ids":[41896568258659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23885218807907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efe36dd7dae8e2ef9dd7041e27410d93e73a44f6_dbf7f1f2-f017-4119-9170-ae7941aef789.webp?v=1714838069"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896568553571,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31479969972323,"product_id":7411253575779,"position":8,"created_at":"2024-05-04T23:54:36+08:00","updated_at":"2024-05-04T23:54:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a636cad7bcc32370a47467865be4bc771d09db5_f2783e31-0a0e-4c62-8238-2dfd15c5b2a5.webp?v=1714838076","variant_ids":[41896568553571]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23885220380771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a636cad7bcc32370a47467865be4bc771d09db5_f2783e31-0a0e-4c62-8238-2dfd15c5b2a5.webp?v=1714838076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5526ae5f3002ccaed26799a6a12b5fb31d101141_901d1007-05e7-422b-85aa-f1d6e3361723.webp?v=1714838060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fdf40f5e45e8466d880d4eada25aad975c7b032_5057fc04-9971-4ad5-b38d-e166913f86a2.webp?v=1714838062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0a639de299487f82ff5e9fbe0fae9d45c5bc2_95b6de49-d5ce-4d83-b6f7-1033644f3c1d.webp?v=1714838064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93929cf57199e2589ed9f853af1cec183f45d885_0cde42f4-1186-4868-b433-713945f0a110.webp?v=1714838067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efe36dd7dae8e2ef9dd7041e27410d93e73a44f6_dbf7f1f2-f017-4119-9170-ae7941aef789.webp?v=1714838069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c698e7251204bb96866a659c4a551cebd91faa7_e86ff862-e72c-4b6a-a255-3f6e4603a290.webp?v=1714838072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6354c0f7e699b70c445284f2d6372972883eb96_b5103e51-1810-4a5d-b633-b3df2e402a5c.webp?v=1714838074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a636cad7bcc32370a47467865be4bc771d09db5_f2783e31-0a0e-4c62-8238-2dfd15c5b2a5.webp?v=1714838076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f105cf620b6b8914a55b35ec3c7f629cb8f3f20_8fc8a70f-0e42-448f-9322-0e50d4a3e3c6.webp?v=1714838079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7299d3d31c8d5aac60cc76444c5868c3efcbeef2_dafea27c-8ef4-4e0c-9de2-fb77237dffb4.webp?v=1714838081"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5526ae5f3002ccaed26799a6a12b5fb31d101141_901d1007-05e7-422b-85aa-f1d6e3361723.webp?v=1714838060","options":["color"],"media":[{"alt":null,"id":23885216284771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5526ae5f3002ccaed26799a6a12b5fb31d101141_901d1007-05e7-422b-85aa-f1d6e3361723.webp?v=1714838060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5526ae5f3002ccaed26799a6a12b5fb31d101141_901d1007-05e7-422b-85aa-f1d6e3361723.webp?v=1714838060","width":2000},{"alt":null,"id":23885216907363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fdf40f5e45e8466d880d4eada25aad975c7b032_5057fc04-9971-4ad5-b38d-e166913f86a2.webp?v=1714838062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fdf40f5e45e8466d880d4eada25aad975c7b032_5057fc04-9971-4ad5-b38d-e166913f86a2.webp?v=1714838062","width":2000},{"alt":null,"id":23885217693795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0a639de299487f82ff5e9fbe0fae9d45c5bc2_95b6de49-d5ce-4d83-b6f7-1033644f3c1d.webp?v=1714838064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0a639de299487f82ff5e9fbe0fae9d45c5bc2_95b6de49-d5ce-4d83-b6f7-1033644f3c1d.webp?v=1714838064","width":2000},{"alt":null,"id":23885218381923,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93929cf57199e2589ed9f853af1cec183f45d885_0cde42f4-1186-4868-b433-713945f0a110.webp?v=1714838067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93929cf57199e2589ed9f853af1cec183f45d885_0cde42f4-1186-4868-b433-713945f0a110.webp?v=1714838067","width":2000},{"alt":null,"id":23885218807907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efe36dd7dae8e2ef9dd7041e27410d93e73a44f6_dbf7f1f2-f017-4119-9170-ae7941aef789.webp?v=1714838069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efe36dd7dae8e2ef9dd7041e27410d93e73a44f6_dbf7f1f2-f017-4119-9170-ae7941aef789.webp?v=1714838069","width":2000},{"alt":null,"id":23885219496035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c698e7251204bb96866a659c4a551cebd91faa7_e86ff862-e72c-4b6a-a255-3f6e4603a290.webp?v=1714838072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c698e7251204bb96866a659c4a551cebd91faa7_e86ff862-e72c-4b6a-a255-3f6e4603a290.webp?v=1714838072","width":2000},{"alt":null,"id":23885219889251,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6354c0f7e699b70c445284f2d6372972883eb96_b5103e51-1810-4a5d-b633-b3df2e402a5c.webp?v=1714838074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6354c0f7e699b70c445284f2d6372972883eb96_b5103e51-1810-4a5d-b633-b3df2e402a5c.webp?v=1714838074","width":2000},{"alt":null,"id":23885220380771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a636cad7bcc32370a47467865be4bc771d09db5_f2783e31-0a0e-4c62-8238-2dfd15c5b2a5.webp?v=1714838076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a636cad7bcc32370a47467865be4bc771d09db5_f2783e31-0a0e-4c62-8238-2dfd15c5b2a5.webp?v=1714838076","width":2000},{"alt":null,"id":23885220806755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f105cf620b6b8914a55b35ec3c7f629cb8f3f20_8fc8a70f-0e42-448f-9322-0e50d4a3e3c6.webp?v=1714838079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f105cf620b6b8914a55b35ec3c7f629cb8f3f20_8fc8a70f-0e42-448f-9322-0e50d4a3e3c6.webp?v=1714838079","width":2000},{"alt":null,"id":23885221265507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7299d3d31c8d5aac60cc76444c5868c3efcbeef2_dafea27c-8ef4-4e0c-9de2-fb77237dffb4.webp?v=1714838081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7299d3d31c8d5aac60cc76444c5868c3efcbeef2_dafea27c-8ef4-4e0c-9de2-fb77237dffb4.webp?v=1714838081","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896568193123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31479967121507,"product_id":7411253575779,"position":3,"created_at":"2024-05-04T23:54:24+08:00","updated_at":"2024-05-04T23:54:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0a639de299487f82ff5e9fbe0fae9d45c5bc2_95b6de49-d5ce-4d83-b6f7-1033644f3c1d.webp?v=1714838064","variant_ids":[41896568193123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23885217693795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0a639de299487f82ff5e9fbe0fae9d45c5bc2_95b6de49-d5ce-4d83-b6f7-1033644f3c1d.webp?v=1714838064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896568258659,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31479968399459,"product_id":7411253575779,"position":5,"created_at":"2024-05-04T23:54:29+08:00","updated_at":"2024-05-04T23:54:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efe36dd7dae8e2ef9dd7041e27410d93e73a44f6_dbf7f1f2-f017-4119-9170-ae7941aef789.webp?v=1714838069","variant_ids":[41896568258659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23885218807907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efe36dd7dae8e2ef9dd7041e27410d93e73a44f6_dbf7f1f2-f017-4119-9170-ae7941aef789.webp?v=1714838069"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896568553571,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31479969972323,"product_id":7411253575779,"position":8,"created_at":"2024-05-04T23:54:36+08:00","updated_at":"2024-05-04T23:54:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a636cad7bcc32370a47467865be4bc771d09db5_f2783e31-0a0e-4c62-8238-2dfd15c5b2a5.webp?v=1714838076","variant_ids":[41896568553571]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23885220380771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a636cad7bcc32370a47467865be4bc771d09db5_f2783e31-0a0e-4c62-8238-2dfd15c5b2a5.webp?v=1714838076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896568193123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31479967121507,"product_id":7411253575779,"position":3,"created_at":"2024-05-04T23:54:24+08:00","updated_at":"2024-05-04T23:54:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0a639de299487f82ff5e9fbe0fae9d45c5bc2_95b6de49-d5ce-4d83-b6f7-1033644f3c1d.webp?v=1714838064","variant_ids":[41896568193123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - We are together - 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-YB14","featured_media":{"alt":null,"id":23885217693795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c0a639de299487f82ff5e9fbe0fae9d45c5bc2_95b6de49-d5ce-4d83-b6f7-1033644f3c1d.webp?v=1714838064"}},"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: "停產" }