$product = {"id":7414075981923,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - Bedtime Bear","handle":"iphone-13-mini-mod-nx-magsafe-printable-yb04","description":null,"published_at":"2024-06-11T17:48:46+08:00","created_at":"2024-05-05T14:08:25+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":41903913042019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484616212579,"product_id":7414075981923,"position":2,"created_at":"2024-05-05T14:08:29+08:00","updated_at":"2024-05-05T14:08:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c3c9aafbf2b938dd71d6b2acb16506e57ed018_30c53c51-75b5-4c36-9822-0bbcdb71dbd0.webp?v=1714889309","variant_ids":[41903913042019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - Bedtime 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":"MPB0122824-YB04","featured_media":{"alt":null,"id":23889911513187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c3c9aafbf2b938dd71d6b2acb16506e57ed018_30c53c51-75b5-4c36-9822-0bbcdb71dbd0.webp?v=1714889309"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903913173091,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484622143587,"product_id":7414075981923,"position":6,"created_at":"2024-05-05T14:08:39+08:00","updated_at":"2024-05-05T14:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2dafdd252ee41f57501ae4527c7c64cff5ade04_e1e12c5f-fbcf-42bd-8f38-ba98a9964185.webp?v=1714889319","variant_ids":[41903913173091]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - Bedtime 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":"MPB0122804-YB04","featured_media":{"alt":null,"id":23889917411427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2dafdd252ee41f57501ae4527c7c64cff5ade04_e1e12c5f-fbcf-42bd-8f38-ba98a9964185.webp?v=1714889319"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903913566307,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484619096163,"product_id":7414075981923,"position":4,"created_at":"2024-05-05T14:08:34+08:00","updated_at":"2024-05-05T14:08:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7a609701b0ceaf78510337905840b830dfb898_71556850-4c3e-438e-831f-07e667db9ec4.webp?v=1714889314","variant_ids":[41903913566307]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - Bedtime 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":"MPB01228J5-YB04","featured_media":{"alt":null,"id":23889914527843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7a609701b0ceaf78510337905840b830dfb898_71556850-4c3e-438e-831f-07e667db9ec4.webp?v=1714889314"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d00ce582dc65b1085a15e88ac366b5a7e9a7673_8ba82144-3d56-4219-a33e-e4b3e3289017.webp?v=1714889307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c3c9aafbf2b938dd71d6b2acb16506e57ed018_30c53c51-75b5-4c36-9822-0bbcdb71dbd0.webp?v=1714889309","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5c8f84598ce61b3cf3437da7b29d1109885917_9920cc4e-a239-41a6-8b0c-fe11abc0cb3b.webp?v=1714889312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7a609701b0ceaf78510337905840b830dfb898_71556850-4c3e-438e-831f-07e667db9ec4.webp?v=1714889314","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dee87dc866e0f09121c34dcb1d6196da5f1985a_ff2ff106-d796-4c79-847c-474e1c02c12d.webp?v=1714889316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2dafdd252ee41f57501ae4527c7c64cff5ade04_e1e12c5f-fbcf-42bd-8f38-ba98a9964185.webp?v=1714889319","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e048032148283a9531def17cc4b7345937a1db4_60bec1a3-4d1b-4b12-8447-06eb4084a9ab.webp?v=1714889321","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bddd90eac85b10c493b5cdba2ac880bece9cace_5f69bf37-162a-4026-a951-6d576212d069.webp?v=1714889323","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879bfae4f61c25336c7a3216826fe2ff10afb157_a77f65cc-1bd3-4bf6-b24e-a1c70c84d3d8.webp?v=1714889325","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c3bcf58afe6e11a979245523a97bc72f6c9a1bd_aeab009a-cb2c-4ce6-8d5f-89c0983e594c.webp?v=1714889328"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d00ce582dc65b1085a15e88ac366b5a7e9a7673_8ba82144-3d56-4219-a33e-e4b3e3289017.webp?v=1714889307","options":["color"],"media":[{"alt":null,"id":23889909973091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d00ce582dc65b1085a15e88ac366b5a7e9a7673_8ba82144-3d56-4219-a33e-e4b3e3289017.webp?v=1714889307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d00ce582dc65b1085a15e88ac366b5a7e9a7673_8ba82144-3d56-4219-a33e-e4b3e3289017.webp?v=1714889307","width":2000},{"alt":null,"id":23889911513187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c3c9aafbf2b938dd71d6b2acb16506e57ed018_30c53c51-75b5-4c36-9822-0bbcdb71dbd0.webp?v=1714889309"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c3c9aafbf2b938dd71d6b2acb16506e57ed018_30c53c51-75b5-4c36-9822-0bbcdb71dbd0.webp?v=1714889309","width":2000},{"alt":null,"id":23889912823907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5c8f84598ce61b3cf3437da7b29d1109885917_9920cc4e-a239-41a6-8b0c-fe11abc0cb3b.webp?v=1714889312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a5c8f84598ce61b3cf3437da7b29d1109885917_9920cc4e-a239-41a6-8b0c-fe11abc0cb3b.webp?v=1714889312","width":2000},{"alt":null,"id":23889914527843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7a609701b0ceaf78510337905840b830dfb898_71556850-4c3e-438e-831f-07e667db9ec4.webp?v=1714889314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7a609701b0ceaf78510337905840b830dfb898_71556850-4c3e-438e-831f-07e667db9ec4.webp?v=1714889314","width":2000},{"alt":null,"id":23889916166243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dee87dc866e0f09121c34dcb1d6196da5f1985a_ff2ff106-d796-4c79-847c-474e1c02c12d.webp?v=1714889316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3dee87dc866e0f09121c34dcb1d6196da5f1985a_ff2ff106-d796-4c79-847c-474e1c02c12d.webp?v=1714889316","width":2000},{"alt":null,"id":23889917411427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2dafdd252ee41f57501ae4527c7c64cff5ade04_e1e12c5f-fbcf-42bd-8f38-ba98a9964185.webp?v=1714889319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2dafdd252ee41f57501ae4527c7c64cff5ade04_e1e12c5f-fbcf-42bd-8f38-ba98a9964185.webp?v=1714889319","width":2000},{"alt":null,"id":23889918918755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e048032148283a9531def17cc4b7345937a1db4_60bec1a3-4d1b-4b12-8447-06eb4084a9ab.webp?v=1714889321"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e048032148283a9531def17cc4b7345937a1db4_60bec1a3-4d1b-4b12-8447-06eb4084a9ab.webp?v=1714889321","width":2000},{"alt":null,"id":23889920295011,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bddd90eac85b10c493b5cdba2ac880bece9cace_5f69bf37-162a-4026-a951-6d576212d069.webp?v=1714889323"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bddd90eac85b10c493b5cdba2ac880bece9cace_5f69bf37-162a-4026-a951-6d576212d069.webp?v=1714889323","width":2000},{"alt":null,"id":23889921376355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879bfae4f61c25336c7a3216826fe2ff10afb157_a77f65cc-1bd3-4bf6-b24e-a1c70c84d3d8.webp?v=1714889325"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/879bfae4f61c25336c7a3216826fe2ff10afb157_a77f65cc-1bd3-4bf6-b24e-a1c70c84d3d8.webp?v=1714889325","width":2000},{"alt":null,"id":23889922556003,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c3bcf58afe6e11a979245523a97bc72f6c9a1bd_aeab009a-cb2c-4ce6-8d5f-89c0983e594c.webp?v=1714889328"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c3bcf58afe6e11a979245523a97bc72f6c9a1bd_aeab009a-cb2c-4ce6-8d5f-89c0983e594c.webp?v=1714889328","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41903913042019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484616212579,"product_id":7414075981923,"position":2,"created_at":"2024-05-05T14:08:29+08:00","updated_at":"2024-05-05T14:08:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c3c9aafbf2b938dd71d6b2acb16506e57ed018_30c53c51-75b5-4c36-9822-0bbcdb71dbd0.webp?v=1714889309","variant_ids":[41903913042019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - Bedtime 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":"MPB0122824-YB04","featured_media":{"alt":null,"id":23889911513187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c3c9aafbf2b938dd71d6b2acb16506e57ed018_30c53c51-75b5-4c36-9822-0bbcdb71dbd0.webp?v=1714889309"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903913173091,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484622143587,"product_id":7414075981923,"position":6,"created_at":"2024-05-05T14:08:39+08:00","updated_at":"2024-05-05T14:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2dafdd252ee41f57501ae4527c7c64cff5ade04_e1e12c5f-fbcf-42bd-8f38-ba98a9964185.webp?v=1714889319","variant_ids":[41903913173091]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - Bedtime 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":"MPB0122804-YB04","featured_media":{"alt":null,"id":23889917411427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2dafdd252ee41f57501ae4527c7c64cff5ade04_e1e12c5f-fbcf-42bd-8f38-ba98a9964185.webp?v=1714889319"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903913566307,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484619096163,"product_id":7414075981923,"position":4,"created_at":"2024-05-05T14:08:34+08:00","updated_at":"2024-05-05T14:08:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7a609701b0ceaf78510337905840b830dfb898_71556850-4c3e-438e-831f-07e667db9ec4.webp?v=1714889314","variant_ids":[41903913566307]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - Bedtime 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":"MPB01228J5-YB04","featured_media":{"alt":null,"id":23889914527843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7a609701b0ceaf78510337905840b830dfb898_71556850-4c3e-438e-831f-07e667db9ec4.webp?v=1714889314"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41903913042019,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484616212579,"product_id":7414075981923,"position":2,"created_at":"2024-05-05T14:08:29+08:00","updated_at":"2024-05-05T14:08:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c3c9aafbf2b938dd71d6b2acb16506e57ed018_30c53c51-75b5-4c36-9822-0bbcdb71dbd0.webp?v=1714889309","variant_ids":[41903913042019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - Bedtime 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":"MPB0122824-YB04","featured_media":{"alt":null,"id":23889911513187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92c3c9aafbf2b938dd71d6b2acb16506e57ed018_30c53c51-75b5-4c36-9822-0bbcdb71dbd0.webp?v=1714889309"}},"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: "停產" }