$product = {"id":7125863596131,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears Best Friend Bear","handle":"iphone-13-mini-solidsuit-classic-magsafe-yb02","description":null,"published_at":"2023-12-22T09:48:19+08:00","created_at":"2023-12-20T15:35:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-Care Bears","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-carebears","device-iPhone 13 Mini","merge","reseller-carebears"],"price":125000,"price_min":125000,"price_max":125000,"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":41081521274979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":36039993786467,"product_id":7125863596131,"position":17,"created_at":"2026-06-22T15:45:36+08:00","updated_at":"2026-06-22T15:45:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af1119a63b1a782e2279c28603b2188319edf270.webp?v=1782114338","variant_ids":[41081521274979]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears Best Friend Bear - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-YB02","featured_media":{"alt":null,"id":27556537106531,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af1119a63b1a782e2279c28603b2188319edf270.webp?v=1782114338"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521537123,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":36039993229411,"product_id":7125863596131,"position":15,"created_at":"2026-06-22T15:45:35+08:00","updated_at":"2026-06-22T15:45:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30cc825eee104e90cfc51469b4f4000f0ada4a23.webp?v=1782114337","variant_ids":[41081521537123]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears Best Friend Bear - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-YB02","featured_media":{"alt":null,"id":27556536549475,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30cc825eee104e90cfc51469b4f4000f0ada4a23.webp?v=1782114337"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c492d9bae054dc0b63f68acede2fda12663d344.webp?v=1703057718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f94fe40293fd6bc5af0080ad6d6ad4325cb17d09.webp?v=1703057723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d6109b60d57a85e7b2503dce3322af6ca2e18f8.webp?v=1703057726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93661af3422fb556473057251061c2713f22646.webp?v=1703057728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77962874d4d37e7d6f1da0889b4bb8c7c002c7.webp?v=1703057731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df344bcd1db35a169e045a03963c48979a0ff2f3.webp?v=1703057733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67ea01fa74bdc513754e4d9e823d613ac5b3b2de.webp?v=1703057735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/686532e2c18101950f19705806ca8ad04dbd3168.webp?v=1703057740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b99accc036c0f0acd43ba89dffe76e373bc44aa8.webp?v=1703057750","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30cc825eee104e90cfc51469b4f4000f0ada4a23.webp?v=1782114337","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/691ec38333255c9300ca14c5642b0a5ab9f96c43.webp?v=1782114338","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af1119a63b1a782e2279c28603b2188319edf270.webp?v=1782114338","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa08ed6587506300625dccb51bb9b9c84053cbe0.webp?v=1782114339","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9cb1671c4c59de30ef1cf38401207b5569741f1.webp?v=1782114339"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713","options":["color"],"media":[{"alt":null,"id":23074597044323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713","width":2000},{"alt":null,"id":23074598322275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c492d9bae054dc0b63f68acede2fda12663d344.webp?v=1703057718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c492d9bae054dc0b63f68acede2fda12663d344.webp?v=1703057718","width":2000},{"alt":null,"id":23074599534691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f94fe40293fd6bc5af0080ad6d6ad4325cb17d09.webp?v=1703057723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f94fe40293fd6bc5af0080ad6d6ad4325cb17d09.webp?v=1703057723","width":2000},{"alt":null,"id":23074600058979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d6109b60d57a85e7b2503dce3322af6ca2e18f8.webp?v=1703057726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d6109b60d57a85e7b2503dce3322af6ca2e18f8.webp?v=1703057726","width":2000},{"alt":null,"id":23074600616035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93661af3422fb556473057251061c2713f22646.webp?v=1703057728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93661af3422fb556473057251061c2713f22646.webp?v=1703057728","width":2000},{"alt":null,"id":23074601304163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77962874d4d37e7d6f1da0889b4bb8c7c002c7.webp?v=1703057731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77962874d4d37e7d6f1da0889b4bb8c7c002c7.webp?v=1703057731","width":2000},{"alt":null,"id":23074602057827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df344bcd1db35a169e045a03963c48979a0ff2f3.webp?v=1703057733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df344bcd1db35a169e045a03963c48979a0ff2f3.webp?v=1703057733","width":2000},{"alt":null,"id":23074602844259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67ea01fa74bdc513754e4d9e823d613ac5b3b2de.webp?v=1703057735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67ea01fa74bdc513754e4d9e823d613ac5b3b2de.webp?v=1703057735","width":2000},{"alt":null,"id":23074603368547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738","width":2000},{"alt":null,"id":23074603892835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/686532e2c18101950f19705806ca8ad04dbd3168.webp?v=1703057740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/686532e2c18101950f19705806ca8ad04dbd3168.webp?v=1703057740","width":2000},{"alt":null,"id":23074604580963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743","width":2000},{"alt":null,"id":23074605170787,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745","width":2000},{"alt":null,"id":23074605760611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747","width":2000},{"alt":null,"id":23074606317667,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b99accc036c0f0acd43ba89dffe76e373bc44aa8.webp?v=1703057750"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b99accc036c0f0acd43ba89dffe76e373bc44aa8.webp?v=1703057750","width":2000},{"alt":null,"id":27556536549475,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30cc825eee104e90cfc51469b4f4000f0ada4a23.webp?v=1782114337"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30cc825eee104e90cfc51469b4f4000f0ada4a23.webp?v=1782114337","width":2000},{"alt":null,"id":27556536778851,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/691ec38333255c9300ca14c5642b0a5ab9f96c43.webp?v=1782114338"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/691ec38333255c9300ca14c5642b0a5ab9f96c43.webp?v=1782114338","width":2000},{"alt":null,"id":27556537106531,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af1119a63b1a782e2279c28603b2188319edf270.webp?v=1782114338"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af1119a63b1a782e2279c28603b2188319edf270.webp?v=1782114338","width":2000},{"alt":null,"id":27556537532515,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa08ed6587506300625dccb51bb9b9c84053cbe0.webp?v=1782114339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa08ed6587506300625dccb51bb9b9c84053cbe0.webp?v=1782114339","width":2000},{"alt":null,"id":27556537892963,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9cb1671c4c59de30ef1cf38401207b5569741f1.webp?v=1782114339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9cb1671c4c59de30ef1cf38401207b5569741f1.webp?v=1782114339","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41081521274979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":36039993786467,"product_id":7125863596131,"position":17,"created_at":"2026-06-22T15:45:36+08:00","updated_at":"2026-06-22T15:45:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af1119a63b1a782e2279c28603b2188319edf270.webp?v=1782114338","variant_ids":[41081521274979]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears Best Friend Bear - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-YB02","featured_media":{"alt":null,"id":27556537106531,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af1119a63b1a782e2279c28603b2188319edf270.webp?v=1782114338"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521537123,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":36039993229411,"product_id":7125863596131,"position":15,"created_at":"2026-06-22T15:45:35+08:00","updated_at":"2026-06-22T15:45:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30cc825eee104e90cfc51469b4f4000f0ada4a23.webp?v=1782114337","variant_ids":[41081521537123]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears Best Friend Bear - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-YB02","featured_media":{"alt":null,"id":27556536549475,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30cc825eee104e90cfc51469b4f4000f0ada4a23.webp?v=1782114337"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41081521274979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":36039993786467,"product_id":7125863596131,"position":17,"created_at":"2026-06-22T15:45:36+08:00","updated_at":"2026-06-22T15:45:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af1119a63b1a782e2279c28603b2188319edf270.webp?v=1782114338","variant_ids":[41081521274979]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) Care Bears Best Friend Bear - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-YB02","featured_media":{"alt":null,"id":27556537106531,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af1119a63b1a782e2279c28603b2188319edf270.webp?v=1782114338"}},"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: "停產" }