$product = {"id":7888633364579,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓一家","handle":"iphone-13-mini-mod-nx-magsafe-printable-dm03","description":null,"published_at":"2025-09-23T09:00:51+08:00","created_at":"2025-09-22T16:54:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-dumplingcat","device-iPhone 13 Mini","merge","reseller-dumplingcat"],"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":43743847186531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515825655907,"product_id":7888633364579,"position":7,"created_at":"2025-09-22T16:54:51+08:00","updated_at":"2025-09-22T16:54:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7136c6a7b562cd87777484d2b8d7d80a7ec8a5a.webp?v=1758531293","variant_ids":[43743847186531]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-DM03","featured_media":{"alt":null,"id":26086263226467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7136c6a7b562cd87777484d2b8d7d80a7ec8a5a.webp?v=1758531293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743847219299,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515824771171,"product_id":7888633364579,"position":3,"created_at":"2025-09-22T16:54:50+08:00","updated_at":"2025-09-22T16:54:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cca49cd4659982fb0df27f0a588527a1105b449.webp?v=1758531291","variant_ids":[43743847219299]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-DM03","featured_media":{"alt":null,"id":26086262341731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cca49cd4659982fb0df27f0a588527a1105b449.webp?v=1758531291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743847317603,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515825918051,"product_id":7888633364579,"position":8,"created_at":"2025-09-22T16:54:52+08:00","updated_at":"2025-09-22T16:54:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a815cb674d8fa176c7c6c00e5548ec605e0cbd.webp?v=1758531294","variant_ids":[43743847317603]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-DM03","featured_media":{"alt":null,"id":26086263554147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a815cb674d8fa176c7c6c00e5548ec605e0cbd.webp?v=1758531294"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb859da51c6b6ec7ee4ab065c60751d0454202a.webp?v=1758531291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c47785a2a445d3f2ca0a680630f32821eacdd7e4.webp?v=1758531291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cca49cd4659982fb0df27f0a588527a1105b449.webp?v=1758531291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/199076fac5a6d8ff5ea9e3a59cbe7f4133f89cca.webp?v=1758531292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d706766d6a44a21a140062bf53c34cdfaa3b99.webp?v=1758531292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/971efd8e6910e70ce7368589e0b951acef081541.webp?v=1758531293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7136c6a7b562cd87777484d2b8d7d80a7ec8a5a.webp?v=1758531293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a815cb674d8fa176c7c6c00e5548ec605e0cbd.webp?v=1758531294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee642a3c2d13b49253a8bc3c6c832b8853caf01.webp?v=1758531295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a71753c48fc70e0b32ae804c46a532e897d5edb.webp?v=1758531295"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb859da51c6b6ec7ee4ab065c60751d0454202a.webp?v=1758531291","options":["color"],"media":[{"alt":null,"id":26086262046819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb859da51c6b6ec7ee4ab065c60751d0454202a.webp?v=1758531291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fb859da51c6b6ec7ee4ab065c60751d0454202a.webp?v=1758531291","width":2000},{"alt":null,"id":26086262210659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c47785a2a445d3f2ca0a680630f32821eacdd7e4.webp?v=1758531291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c47785a2a445d3f2ca0a680630f32821eacdd7e4.webp?v=1758531291","width":2000},{"alt":null,"id":26086262341731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cca49cd4659982fb0df27f0a588527a1105b449.webp?v=1758531291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cca49cd4659982fb0df27f0a588527a1105b449.webp?v=1758531291","width":2000},{"alt":null,"id":26086262472803,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/199076fac5a6d8ff5ea9e3a59cbe7f4133f89cca.webp?v=1758531292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/199076fac5a6d8ff5ea9e3a59cbe7f4133f89cca.webp?v=1758531292","width":2000},{"alt":null,"id":26086262636643,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d706766d6a44a21a140062bf53c34cdfaa3b99.webp?v=1758531292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d706766d6a44a21a140062bf53c34cdfaa3b99.webp?v=1758531292","width":2000},{"alt":null,"id":26086262931555,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/971efd8e6910e70ce7368589e0b951acef081541.webp?v=1758531293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/971efd8e6910e70ce7368589e0b951acef081541.webp?v=1758531293","width":2000},{"alt":null,"id":26086263226467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7136c6a7b562cd87777484d2b8d7d80a7ec8a5a.webp?v=1758531293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7136c6a7b562cd87777484d2b8d7d80a7ec8a5a.webp?v=1758531293","width":2000},{"alt":null,"id":26086263554147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a815cb674d8fa176c7c6c00e5548ec605e0cbd.webp?v=1758531294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a815cb674d8fa176c7c6c00e5548ec605e0cbd.webp?v=1758531294","width":2000},{"alt":null,"id":26086263685219,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee642a3c2d13b49253a8bc3c6c832b8853caf01.webp?v=1758531295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee642a3c2d13b49253a8bc3c6c832b8853caf01.webp?v=1758531295","width":2000},{"alt":null,"id":26086263816291,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a71753c48fc70e0b32ae804c46a532e897d5edb.webp?v=1758531295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a71753c48fc70e0b32ae804c46a532e897d5edb.webp?v=1758531295","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43743847186531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515825655907,"product_id":7888633364579,"position":7,"created_at":"2025-09-22T16:54:51+08:00","updated_at":"2025-09-22T16:54:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7136c6a7b562cd87777484d2b8d7d80a7ec8a5a.webp?v=1758531293","variant_ids":[43743847186531]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-DM03","featured_media":{"alt":null,"id":26086263226467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7136c6a7b562cd87777484d2b8d7d80a7ec8a5a.webp?v=1758531293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743847219299,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515824771171,"product_id":7888633364579,"position":3,"created_at":"2025-09-22T16:54:50+08:00","updated_at":"2025-09-22T16:54:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cca49cd4659982fb0df27f0a588527a1105b449.webp?v=1758531291","variant_ids":[43743847219299]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-DM03","featured_media":{"alt":null,"id":26086262341731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cca49cd4659982fb0df27f0a588527a1105b449.webp?v=1758531291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743847317603,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515825918051,"product_id":7888633364579,"position":8,"created_at":"2025-09-22T16:54:52+08:00","updated_at":"2025-09-22T16:54:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a815cb674d8fa176c7c6c00e5548ec605e0cbd.webp?v=1758531294","variant_ids":[43743847317603]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-DM03","featured_media":{"alt":null,"id":26086263554147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a815cb674d8fa176c7c6c00e5548ec605e0cbd.webp?v=1758531294"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43743847186531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515825655907,"product_id":7888633364579,"position":7,"created_at":"2025-09-22T16:54:51+08:00","updated_at":"2025-09-22T16:54:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7136c6a7b562cd87777484d2b8d7d80a7ec8a5a.webp?v=1758531293","variant_ids":[43743847186531]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-DM03","featured_media":{"alt":null,"id":26086263226467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7136c6a7b562cd87777484d2b8d7d80a7ec8a5a.webp?v=1758531293"}},"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: "停產" }