$product = {"id":7411209371747,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Good Luck Bear","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb05","description":null,"published_at":"2024-06-11T17:38:50+08:00","created_at":"2024-05-04T23:45:56+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":41896023294051,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479857643619,"product_id":7411209371747,"position":10,"created_at":"2024-05-04T23:46:20+08:00","updated_at":"2024-05-04T23:46:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76992aa5c023e94336ee3949f56fb12391c08943_b72b372b-3334-4927-a05d-604d6c20298c.webp?v=1714837580","variant_ids":[41896023294051]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23885108052067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76992aa5c023e94336ee3949f56fb12391c08943_b72b372b-3334-4927-a05d-604d6c20298c.webp?v=1714837580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896023359587,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479854989411,"product_id":7411209371747,"position":4,"created_at":"2024-05-04T23:46:06+08:00","updated_at":"2024-05-04T23:46:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c8f7b62f57abc3232b7801001a84ea7a60917d_b9b25f66-ca8a-42f6-8821-d36fffd7fb2a.webp?v=1714837566","variant_ids":[41896023359587]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23885105332323,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c8f7b62f57abc3232b7801001a84ea7a60917d_b9b25f66-ca8a-42f6-8821-d36fffd7fb2a.webp?v=1714837566"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896023588963,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479857250403,"product_id":7411209371747,"position":9,"created_at":"2024-05-04T23:46:17+08:00","updated_at":"2024-05-04T23:46:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d009602b1b46933e2584494a7fef6540317a4_dec1f11c-d359-47fb-9e78-5085046d1240.webp?v=1714837577","variant_ids":[41896023588963]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23885107593315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d009602b1b46933e2584494a7fef6540317a4_dec1f11c-d359-47fb-9e78-5085046d1240.webp?v=1714837577"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c922ed0a9ad95e7c732a045d5d8f7e4b7070a26d_cc0f7182-125c-4ee4-a60b-3de15e1cbc8b.webp?v=1714837559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a790d6a64602a2ab44d682509941b8ad895b5b2_0ac268d0-9e35-4dec-86ef-9e5097235120.webp?v=1714837561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af05c141adcc681af9855d8bd0d527c5127674d8_99474f73-1393-4497-921d-ba6a39d28b92.webp?v=1714837563","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c8f7b62f57abc3232b7801001a84ea7a60917d_b9b25f66-ca8a-42f6-8821-d36fffd7fb2a.webp?v=1714837566","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e78926a38aca51aa180624d4a7249471f27921_30f96b20-0a2d-4c00-ab56-5bc7fc409e96.webp?v=1714837568","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e2b73f7a9acf415be8ca918bcb8e9af45b89f7_9884deec-74a0-4a2d-bbda-b22efd22076f.webp?v=1714837570","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc5158a22cfcceffe088014956ea294daf076d1_3a5fa36c-be23-402c-a101-1e96336a7d51.webp?v=1714837573","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe52803e07236842d9a9356abd3d5d9df3ce6051_13486a3a-b383-4cf9-9c9e-cf3552218b46.webp?v=1714837575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d009602b1b46933e2584494a7fef6540317a4_dec1f11c-d359-47fb-9e78-5085046d1240.webp?v=1714837577","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76992aa5c023e94336ee3949f56fb12391c08943_b72b372b-3334-4927-a05d-604d6c20298c.webp?v=1714837580"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c922ed0a9ad95e7c732a045d5d8f7e4b7070a26d_cc0f7182-125c-4ee4-a60b-3de15e1cbc8b.webp?v=1714837559","options":["color"],"media":[{"alt":null,"id":23885103693923,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c922ed0a9ad95e7c732a045d5d8f7e4b7070a26d_cc0f7182-125c-4ee4-a60b-3de15e1cbc8b.webp?v=1714837559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c922ed0a9ad95e7c732a045d5d8f7e4b7070a26d_cc0f7182-125c-4ee4-a60b-3de15e1cbc8b.webp?v=1714837559","width":2000},{"alt":null,"id":23885104283747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a790d6a64602a2ab44d682509941b8ad895b5b2_0ac268d0-9e35-4dec-86ef-9e5097235120.webp?v=1714837561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a790d6a64602a2ab44d682509941b8ad895b5b2_0ac268d0-9e35-4dec-86ef-9e5097235120.webp?v=1714837561","width":2000},{"alt":null,"id":23885104775267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af05c141adcc681af9855d8bd0d527c5127674d8_99474f73-1393-4497-921d-ba6a39d28b92.webp?v=1714837563"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af05c141adcc681af9855d8bd0d527c5127674d8_99474f73-1393-4497-921d-ba6a39d28b92.webp?v=1714837563","width":2000},{"alt":null,"id":23885105332323,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c8f7b62f57abc3232b7801001a84ea7a60917d_b9b25f66-ca8a-42f6-8821-d36fffd7fb2a.webp?v=1714837566"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c8f7b62f57abc3232b7801001a84ea7a60917d_b9b25f66-ca8a-42f6-8821-d36fffd7fb2a.webp?v=1714837566","width":2000},{"alt":null,"id":23885105791075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e78926a38aca51aa180624d4a7249471f27921_30f96b20-0a2d-4c00-ab56-5bc7fc409e96.webp?v=1714837568"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71e78926a38aca51aa180624d4a7249471f27921_30f96b20-0a2d-4c00-ab56-5bc7fc409e96.webp?v=1714837568","width":2000},{"alt":null,"id":23885106217059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e2b73f7a9acf415be8ca918bcb8e9af45b89f7_9884deec-74a0-4a2d-bbda-b22efd22076f.webp?v=1714837570"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e2b73f7a9acf415be8ca918bcb8e9af45b89f7_9884deec-74a0-4a2d-bbda-b22efd22076f.webp?v=1714837570","width":2000},{"alt":null,"id":23885106806883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc5158a22cfcceffe088014956ea294daf076d1_3a5fa36c-be23-402c-a101-1e96336a7d51.webp?v=1714837573"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc5158a22cfcceffe088014956ea294daf076d1_3a5fa36c-be23-402c-a101-1e96336a7d51.webp?v=1714837573","width":2000},{"alt":null,"id":23885107232867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe52803e07236842d9a9356abd3d5d9df3ce6051_13486a3a-b383-4cf9-9c9e-cf3552218b46.webp?v=1714837575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe52803e07236842d9a9356abd3d5d9df3ce6051_13486a3a-b383-4cf9-9c9e-cf3552218b46.webp?v=1714837575","width":2000},{"alt":null,"id":23885107593315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d009602b1b46933e2584494a7fef6540317a4_dec1f11c-d359-47fb-9e78-5085046d1240.webp?v=1714837577"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d009602b1b46933e2584494a7fef6540317a4_dec1f11c-d359-47fb-9e78-5085046d1240.webp?v=1714837577","width":2000},{"alt":null,"id":23885108052067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76992aa5c023e94336ee3949f56fb12391c08943_b72b372b-3334-4927-a05d-604d6c20298c.webp?v=1714837580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76992aa5c023e94336ee3949f56fb12391c08943_b72b372b-3334-4927-a05d-604d6c20298c.webp?v=1714837580","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896023294051,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479857643619,"product_id":7411209371747,"position":10,"created_at":"2024-05-04T23:46:20+08:00","updated_at":"2024-05-04T23:46:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76992aa5c023e94336ee3949f56fb12391c08943_b72b372b-3334-4927-a05d-604d6c20298c.webp?v=1714837580","variant_ids":[41896023294051]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23885108052067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76992aa5c023e94336ee3949f56fb12391c08943_b72b372b-3334-4927-a05d-604d6c20298c.webp?v=1714837580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896023359587,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479854989411,"product_id":7411209371747,"position":4,"created_at":"2024-05-04T23:46:06+08:00","updated_at":"2024-05-04T23:46:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c8f7b62f57abc3232b7801001a84ea7a60917d_b9b25f66-ca8a-42f6-8821-d36fffd7fb2a.webp?v=1714837566","variant_ids":[41896023359587]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23885105332323,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1c8f7b62f57abc3232b7801001a84ea7a60917d_b9b25f66-ca8a-42f6-8821-d36fffd7fb2a.webp?v=1714837566"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896023588963,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479857250403,"product_id":7411209371747,"position":9,"created_at":"2024-05-04T23:46:17+08:00","updated_at":"2024-05-04T23:46:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d009602b1b46933e2584494a7fef6540317a4_dec1f11c-d359-47fb-9e78-5085046d1240.webp?v=1714837577","variant_ids":[41896023588963]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23885107593315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da3d009602b1b46933e2584494a7fef6540317a4_dec1f11c-d359-47fb-9e78-5085046d1240.webp?v=1714837577"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896023294051,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31479857643619,"product_id":7411209371747,"position":10,"created_at":"2024-05-04T23:46:20+08:00","updated_at":"2024-05-04T23:46:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76992aa5c023e94336ee3949f56fb12391c08943_b72b372b-3334-4927-a05d-604d6c20298c.webp?v=1714837580","variant_ids":[41896023294051]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Good Luck Bear - 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-YB05","featured_media":{"alt":null,"id":23885108052067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76992aa5c023e94336ee3949f56fb12391c08943_b72b372b-3334-4927-a05d-604d6c20298c.webp?v=1714837580"}},"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: "停產" }