$product = {"id":7411345260643,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - 熊滿星空","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb09","description":null,"published_at":"2024-06-11T17:42:26+08:00","created_at":"2024-05-05T00:11:43+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":41897717727331,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480192008291,"product_id":7411345260643,"position":3,"created_at":"2024-05-05T00:11:50+08:00","updated_at":"2024-05-05T00:11:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a837ba3f83d48d73d7c8405d7924fcace9c4fd0_3fbcae4c-2b5b-4a93-9417-420b26b8cdf4.webp?v=1714839110","variant_ids":[41897717727331]},"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-YB09","featured_media":{"alt":null,"id":23885443006563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a837ba3f83d48d73d7c8405d7924fcace9c4fd0_3fbcae4c-2b5b-4a93-9417-420b26b8cdf4.webp?v=1714839110"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897717858403,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480192401507,"product_id":7411345260643,"position":4,"created_at":"2024-05-05T00:11:53+08:00","updated_at":"2024-05-05T00:11:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83296296360ba59ed564e8592c09931468c4f0e8_23995319-a83d-4058-a783-090aa02e2359.webp?v=1714839113","variant_ids":[41897717858403]},"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-YB09","featured_media":{"alt":null,"id":23885443465315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83296296360ba59ed564e8592c09931468c4f0e8_23995319-a83d-4058-a783-090aa02e2359.webp?v=1714839113"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897718317155,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480193613923,"product_id":7411345260643,"position":6,"created_at":"2024-05-05T00:11:58+08:00","updated_at":"2024-05-05T00:11:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d2e1f7c726555daf535d3603e5fead3fc1a443b_c96ceff5-e70b-4d38-ad00-7ae56630aa64.webp?v=1714839118","variant_ids":[41897718317155]},"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-YB09","featured_media":{"alt":null,"id":23885444677731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d2e1f7c726555daf535d3603e5fead3fc1a443b_c96ceff5-e70b-4d38-ad00-7ae56630aa64.webp?v=1714839118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79d567e6c9f92968a102bcec4567b6f022b65d70_3a72334b-6645-4eb4-a592-deddb3e2fe5c.webp?v=1714839106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9439ccab3487d81b9e85eee6b05fbfb8e028d9b6_734ac356-0035-4168-8547-667c8868f78b.webp?v=1714839108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a837ba3f83d48d73d7c8405d7924fcace9c4fd0_3fbcae4c-2b5b-4a93-9417-420b26b8cdf4.webp?v=1714839110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83296296360ba59ed564e8592c09931468c4f0e8_23995319-a83d-4058-a783-090aa02e2359.webp?v=1714839113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62295a83595b238cf6197a07a3ea595c1987227a_d1c6fec8-65f0-468d-8da1-6320fdb8a1b5.webp?v=1714839115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d2e1f7c726555daf535d3603e5fead3fc1a443b_c96ceff5-e70b-4d38-ad00-7ae56630aa64.webp?v=1714839118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e21e6be58167708d6526c749a3071185a6e26740_4cc17969-111d-415c-9413-5e92d6f38406.webp?v=1714839120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d51b9736690785909c895a6e6a3beb689cfd76_6ec32665-c862-449b-b678-79fc575a946d.webp?v=1714839122","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a74f76431e3394f647e6e04678efd99028a0265_560b447a-fec5-4d71-9569-19037f3e66df.webp?v=1714839125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eb8f6f12f1054efcd57cd79505d3ed3fe65ecad_5de281f5-5c70-4de6-ad15-63367fe74986.webp?v=1714839127"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79d567e6c9f92968a102bcec4567b6f022b65d70_3a72334b-6645-4eb4-a592-deddb3e2fe5c.webp?v=1714839106","options":["color"],"media":[{"alt":null,"id":23885442089059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79d567e6c9f92968a102bcec4567b6f022b65d70_3a72334b-6645-4eb4-a592-deddb3e2fe5c.webp?v=1714839106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79d567e6c9f92968a102bcec4567b6f022b65d70_3a72334b-6645-4eb4-a592-deddb3e2fe5c.webp?v=1714839106","width":2000},{"alt":null,"id":23885442613347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9439ccab3487d81b9e85eee6b05fbfb8e028d9b6_734ac356-0035-4168-8547-667c8868f78b.webp?v=1714839108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9439ccab3487d81b9e85eee6b05fbfb8e028d9b6_734ac356-0035-4168-8547-667c8868f78b.webp?v=1714839108","width":2000},{"alt":null,"id":23885443006563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a837ba3f83d48d73d7c8405d7924fcace9c4fd0_3fbcae4c-2b5b-4a93-9417-420b26b8cdf4.webp?v=1714839110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a837ba3f83d48d73d7c8405d7924fcace9c4fd0_3fbcae4c-2b5b-4a93-9417-420b26b8cdf4.webp?v=1714839110","width":2000},{"alt":null,"id":23885443465315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83296296360ba59ed564e8592c09931468c4f0e8_23995319-a83d-4058-a783-090aa02e2359.webp?v=1714839113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83296296360ba59ed564e8592c09931468c4f0e8_23995319-a83d-4058-a783-090aa02e2359.webp?v=1714839113","width":2000},{"alt":null,"id":23885444120675,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62295a83595b238cf6197a07a3ea595c1987227a_d1c6fec8-65f0-468d-8da1-6320fdb8a1b5.webp?v=1714839115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62295a83595b238cf6197a07a3ea595c1987227a_d1c6fec8-65f0-468d-8da1-6320fdb8a1b5.webp?v=1714839115","width":2000},{"alt":null,"id":23885444677731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d2e1f7c726555daf535d3603e5fead3fc1a443b_c96ceff5-e70b-4d38-ad00-7ae56630aa64.webp?v=1714839118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d2e1f7c726555daf535d3603e5fead3fc1a443b_c96ceff5-e70b-4d38-ad00-7ae56630aa64.webp?v=1714839118","width":2000},{"alt":null,"id":23885445234787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e21e6be58167708d6526c749a3071185a6e26740_4cc17969-111d-415c-9413-5e92d6f38406.webp?v=1714839120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e21e6be58167708d6526c749a3071185a6e26740_4cc17969-111d-415c-9413-5e92d6f38406.webp?v=1714839120","width":2000},{"alt":null,"id":23885445726307,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d51b9736690785909c895a6e6a3beb689cfd76_6ec32665-c862-449b-b678-79fc575a946d.webp?v=1714839122"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d51b9736690785909c895a6e6a3beb689cfd76_6ec32665-c862-449b-b678-79fc575a946d.webp?v=1714839122","width":2000},{"alt":null,"id":23885446250595,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a74f76431e3394f647e6e04678efd99028a0265_560b447a-fec5-4d71-9569-19037f3e66df.webp?v=1714839125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a74f76431e3394f647e6e04678efd99028a0265_560b447a-fec5-4d71-9569-19037f3e66df.webp?v=1714839125","width":2000},{"alt":null,"id":23885446774883,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eb8f6f12f1054efcd57cd79505d3ed3fe65ecad_5de281f5-5c70-4de6-ad15-63367fe74986.webp?v=1714839127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eb8f6f12f1054efcd57cd79505d3ed3fe65ecad_5de281f5-5c70-4de6-ad15-63367fe74986.webp?v=1714839127","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41897717727331,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480192008291,"product_id":7411345260643,"position":3,"created_at":"2024-05-05T00:11:50+08:00","updated_at":"2024-05-05T00:11:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a837ba3f83d48d73d7c8405d7924fcace9c4fd0_3fbcae4c-2b5b-4a93-9417-420b26b8cdf4.webp?v=1714839110","variant_ids":[41897717727331]},"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-YB09","featured_media":{"alt":null,"id":23885443006563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a837ba3f83d48d73d7c8405d7924fcace9c4fd0_3fbcae4c-2b5b-4a93-9417-420b26b8cdf4.webp?v=1714839110"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897717858403,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480192401507,"product_id":7411345260643,"position":4,"created_at":"2024-05-05T00:11:53+08:00","updated_at":"2024-05-05T00:11:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83296296360ba59ed564e8592c09931468c4f0e8_23995319-a83d-4058-a783-090aa02e2359.webp?v=1714839113","variant_ids":[41897717858403]},"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-YB09","featured_media":{"alt":null,"id":23885443465315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83296296360ba59ed564e8592c09931468c4f0e8_23995319-a83d-4058-a783-090aa02e2359.webp?v=1714839113"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897718317155,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480193613923,"product_id":7411345260643,"position":6,"created_at":"2024-05-05T00:11:58+08:00","updated_at":"2024-05-05T00:11:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d2e1f7c726555daf535d3603e5fead3fc1a443b_c96ceff5-e70b-4d38-ad00-7ae56630aa64.webp?v=1714839118","variant_ids":[41897718317155]},"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-YB09","featured_media":{"alt":null,"id":23885444677731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d2e1f7c726555daf535d3603e5fead3fc1a443b_c96ceff5-e70b-4d38-ad00-7ae56630aa64.webp?v=1714839118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897717727331,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31480192008291,"product_id":7411345260643,"position":3,"created_at":"2024-05-05T00:11:50+08:00","updated_at":"2024-05-05T00:11:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a837ba3f83d48d73d7c8405d7924fcace9c4fd0_3fbcae4c-2b5b-4a93-9417-420b26b8cdf4.webp?v=1714839110","variant_ids":[41897717727331]},"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-YB09","featured_media":{"alt":null,"id":23885443006563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a837ba3f83d48d73d7c8405d7924fcace9c4fd0_3fbcae4c-2b5b-4a93-9417-420b26b8cdf4.webp?v=1714839110"}},"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: "停產" }