$product = {"id":7414443409507,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 愛心滿天","handle":"iphone-13-mini-mod-nx-magsafe-printable-yb07","description":null,"published_at":"2024-06-11T17:51:20+08:00","created_at":"2024-05-05T14:25:42+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 13 mini","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":41906528976995,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31485473620067,"product_id":7414443409507,"position":2,"created_at":"2024-05-05T14:25:48+08:00","updated_at":"2024-05-05T14:25:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfe602c002aed43b95f9909ef3539ff432d756b_a1bf096e-fd9c-4275-bd2c-727a111e5e00.webp?v=1714890348","variant_ids":[41906528976995]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122824-YB07","featured_media":{"alt":null,"id":23890790613091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfe602c002aed43b95f9909ef3539ff432d756b_a1bf096e-fd9c-4275-bd2c-727a111e5e00.webp?v=1714890348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906529206371,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31485489938531,"product_id":7414443409507,"position":7,"created_at":"2024-05-05T14:26:01+08:00","updated_at":"2024-05-05T14:26:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e56fd11baa33e0c39fd10719f9313365c1183d90_4bf66bba-8e56-4bbf-ae68-1a41cf7aeb9d.webp?v=1714890361","variant_ids":[41906529206371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122804-YB07","featured_media":{"alt":null,"id":23890806898787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e56fd11baa33e0c39fd10719f9313365c1183d90_4bf66bba-8e56-4bbf-ae68-1a41cf7aeb9d.webp?v=1714890361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906529632355,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31485485908067,"product_id":7414443409507,"position":6,"created_at":"2024-05-05T14:25:57+08:00","updated_at":"2024-05-05T14:25:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65474ed6a4adaff0391fc4a1db574897aba22ac_df48781d-7b11-42e1-8d96-ad26b17d70a3.webp?v=1714890357","variant_ids":[41906529632355]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB01228J5-YB07","featured_media":{"alt":null,"id":23890803228771,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65474ed6a4adaff0391fc4a1db574897aba22ac_df48781d-7b11-42e1-8d96-ad26b17d70a3.webp?v=1714890357"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e8681514f13b9faa83f59bf4a25b0bc60069fa_29ffa1c6-7d01-482a-bb1a-e5bc70fff82a.webp?v=1714890345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfe602c002aed43b95f9909ef3539ff432d756b_a1bf096e-fd9c-4275-bd2c-727a111e5e00.webp?v=1714890348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39072132051860c7400af49b520fc222d4394be7_ecfe483c-9055-449f-bd33-3c7b836b7feb.webp?v=1714890350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c3d6c45398c5a17be6dcd142d613d7052960744_5622cdba-6d74-420b-b4e9-23f99815830e.webp?v=1714890353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d33932c71323fa80e48adc271d7c5fbfc478a04_e44e53ec-f371-4dfc-807e-e006f0ae8289.webp?v=1714890355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65474ed6a4adaff0391fc4a1db574897aba22ac_df48781d-7b11-42e1-8d96-ad26b17d70a3.webp?v=1714890357","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e56fd11baa33e0c39fd10719f9313365c1183d90_4bf66bba-8e56-4bbf-ae68-1a41cf7aeb9d.webp?v=1714890361","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358904cf063993f602c2cec27d0b7787b5f8f21e_49074864-6f97-474b-b929-45659071ada9.webp?v=1714890364","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb9b26e762ef35cc2701a9e3860e3d9eeb18603_19869bc4-9245-4162-bf29-36845507001c.webp?v=1714890366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e41b600890a93a8b89ce25217a023246fe3c3c0_5fb8db7e-f454-42d0-b421-23247cf16912.webp?v=1714890369"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e8681514f13b9faa83f59bf4a25b0bc60069fa_29ffa1c6-7d01-482a-bb1a-e5bc70fff82a.webp?v=1714890345","options":["color"],"media":[{"alt":null,"id":23890786812003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e8681514f13b9faa83f59bf4a25b0bc60069fa_29ffa1c6-7d01-482a-bb1a-e5bc70fff82a.webp?v=1714890345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52e8681514f13b9faa83f59bf4a25b0bc60069fa_29ffa1c6-7d01-482a-bb1a-e5bc70fff82a.webp?v=1714890345","width":2000},{"alt":null,"id":23890790613091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfe602c002aed43b95f9909ef3539ff432d756b_a1bf096e-fd9c-4275-bd2c-727a111e5e00.webp?v=1714890348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfe602c002aed43b95f9909ef3539ff432d756b_a1bf096e-fd9c-4275-bd2c-727a111e5e00.webp?v=1714890348","width":2000},{"alt":null,"id":23890794086499,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39072132051860c7400af49b520fc222d4394be7_ecfe483c-9055-449f-bd33-3c7b836b7feb.webp?v=1714890350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39072132051860c7400af49b520fc222d4394be7_ecfe483c-9055-449f-bd33-3c7b836b7feb.webp?v=1714890350","width":2000},{"alt":null,"id":23890797166691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c3d6c45398c5a17be6dcd142d613d7052960744_5622cdba-6d74-420b-b4e9-23f99815830e.webp?v=1714890353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c3d6c45398c5a17be6dcd142d613d7052960744_5622cdba-6d74-420b-b4e9-23f99815830e.webp?v=1714890353","width":2000},{"alt":null,"id":23890800541795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d33932c71323fa80e48adc271d7c5fbfc478a04_e44e53ec-f371-4dfc-807e-e006f0ae8289.webp?v=1714890355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d33932c71323fa80e48adc271d7c5fbfc478a04_e44e53ec-f371-4dfc-807e-e006f0ae8289.webp?v=1714890355","width":2000},{"alt":null,"id":23890803228771,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65474ed6a4adaff0391fc4a1db574897aba22ac_df48781d-7b11-42e1-8d96-ad26b17d70a3.webp?v=1714890357"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65474ed6a4adaff0391fc4a1db574897aba22ac_df48781d-7b11-42e1-8d96-ad26b17d70a3.webp?v=1714890357","width":2000},{"alt":null,"id":23890806898787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e56fd11baa33e0c39fd10719f9313365c1183d90_4bf66bba-8e56-4bbf-ae68-1a41cf7aeb9d.webp?v=1714890361"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e56fd11baa33e0c39fd10719f9313365c1183d90_4bf66bba-8e56-4bbf-ae68-1a41cf7aeb9d.webp?v=1714890361","width":2000},{"alt":null,"id":23890810142819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358904cf063993f602c2cec27d0b7787b5f8f21e_49074864-6f97-474b-b929-45659071ada9.webp?v=1714890364"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/358904cf063993f602c2cec27d0b7787b5f8f21e_49074864-6f97-474b-b929-45659071ada9.webp?v=1714890364","width":2000},{"alt":null,"id":23890813550691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb9b26e762ef35cc2701a9e3860e3d9eeb18603_19869bc4-9245-4162-bf29-36845507001c.webp?v=1714890366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb9b26e762ef35cc2701a9e3860e3d9eeb18603_19869bc4-9245-4162-bf29-36845507001c.webp?v=1714890366","width":2000},{"alt":null,"id":23890815516771,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e41b600890a93a8b89ce25217a023246fe3c3c0_5fb8db7e-f454-42d0-b421-23247cf16912.webp?v=1714890369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e41b600890a93a8b89ce25217a023246fe3c3c0_5fb8db7e-f454-42d0-b421-23247cf16912.webp?v=1714890369","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41906528976995,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31485473620067,"product_id":7414443409507,"position":2,"created_at":"2024-05-05T14:25:48+08:00","updated_at":"2024-05-05T14:25:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfe602c002aed43b95f9909ef3539ff432d756b_a1bf096e-fd9c-4275-bd2c-727a111e5e00.webp?v=1714890348","variant_ids":[41906528976995]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122824-YB07","featured_media":{"alt":null,"id":23890790613091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfe602c002aed43b95f9909ef3539ff432d756b_a1bf096e-fd9c-4275-bd2c-727a111e5e00.webp?v=1714890348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906529206371,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31485489938531,"product_id":7414443409507,"position":7,"created_at":"2024-05-05T14:26:01+08:00","updated_at":"2024-05-05T14:26:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e56fd11baa33e0c39fd10719f9313365c1183d90_4bf66bba-8e56-4bbf-ae68-1a41cf7aeb9d.webp?v=1714890361","variant_ids":[41906529206371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122804-YB07","featured_media":{"alt":null,"id":23890806898787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e56fd11baa33e0c39fd10719f9313365c1183d90_4bf66bba-8e56-4bbf-ae68-1a41cf7aeb9d.webp?v=1714890361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906529632355,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31485485908067,"product_id":7414443409507,"position":6,"created_at":"2024-05-05T14:25:57+08:00","updated_at":"2024-05-05T14:25:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65474ed6a4adaff0391fc4a1db574897aba22ac_df48781d-7b11-42e1-8d96-ad26b17d70a3.webp?v=1714890357","variant_ids":[41906529632355]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB01228J5-YB07","featured_media":{"alt":null,"id":23890803228771,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f65474ed6a4adaff0391fc4a1db574897aba22ac_df48781d-7b11-42e1-8d96-ad26b17d70a3.webp?v=1714890357"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41906528976995,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31485473620067,"product_id":7414443409507,"position":2,"created_at":"2024-05-05T14:25:48+08:00","updated_at":"2024-05-05T14:25:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfe602c002aed43b95f9909ef3539ff432d756b_a1bf096e-fd9c-4275-bd2c-727a111e5e00.webp?v=1714890348","variant_ids":[41906528976995]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 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":"MPB0122824-YB07","featured_media":{"alt":null,"id":23890790613091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfe602c002aed43b95f9909ef3539ff432d756b_a1bf096e-fd9c-4275-bd2c-727a111e5e00.webp?v=1714890348"}},"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: "停產" }