$product = {"id":7920394305635,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto","handle":"iphone-13-mini-solidsuit-classic-magsafe-ltc03","description":null,"published_at":"2025-11-11T09:18:38+08:00","created_at":"2025-11-10T11:16:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlecattos","device-iPhone 13 Mini","merge","reseller-littlecattos"],"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":43828472152163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":36223907987555,"product_id":7920394305635,"position":11,"created_at":"2026-07-09T09:03:47+08:00","updated_at":"2026-07-09T09:03:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513_50229fe2-2ce8-402e-9db2-6ef013b73630.webp?v=1783559029","variant_ids":[43828472152163]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-LTC03","featured_media":{"alt":null,"id":27728694018147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513_50229fe2-2ce8-402e-9db2-6ef013b73630.webp?v=1783559029"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828472217699,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":36223908905059,"product_id":7920394305635,"position":12,"created_at":"2026-07-09T09:03:48+08:00","updated_at":"2026-07-09T09:03:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639_5bd88497-8332-4f2b-b687-226efdf0a0f5.webp?v=1783559030","variant_ids":[43828472217699]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-LTC03","featured_media":{"alt":null,"id":27728694935651,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639_5bd88497-8332-4f2b-b687-226efdf0a0f5.webp?v=1783559030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f01b36e0cd57c3bceaa9ba11e8cb3537e65a4c1.webp?v=1762744577","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639.webp?v=1762744578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/481b90fd80d2f2568f72fa6619e3324775c8e657.webp?v=1762744579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513.webp?v=1762744579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/204961c3bca8aa1176151e392b9a2f593dd66bd3.webp?v=1762744580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cadac099a73fbd9ef7bfeb16f0f168c335c97b58.webp?v=1762744581","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f3b0f730a2ef6afa03af921ebfd288d003eaa0.webp?v=1762744582","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b9f3a7a324d1934dcc0f816bf7f078c131091d.webp?v=1762744582","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd398ebad4fd2cbc822018cea4d9d45d1958c00c.webp?v=1762744583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af0d7b2ab28b1d343c89b91bb5897f0a201ef75e.webp?v=1762744584","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513_50229fe2-2ce8-402e-9db2-6ef013b73630.webp?v=1783559029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639_5bd88497-8332-4f2b-b687-226efdf0a0f5.webp?v=1783559030"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f01b36e0cd57c3bceaa9ba11e8cb3537e65a4c1.webp?v=1762744577","options":["color"],"media":[{"alt":null,"id":26347038146659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f01b36e0cd57c3bceaa9ba11e8cb3537e65a4c1.webp?v=1762744577"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f01b36e0cd57c3bceaa9ba11e8cb3537e65a4c1.webp?v=1762744577","width":2000},{"alt":null,"id":26347038507107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639.webp?v=1762744578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639.webp?v=1762744578","width":2000},{"alt":null,"id":26347038867555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/481b90fd80d2f2568f72fa6619e3324775c8e657.webp?v=1762744579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/481b90fd80d2f2568f72fa6619e3324775c8e657.webp?v=1762744579","width":2000},{"alt":null,"id":26347039162467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513.webp?v=1762744579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513.webp?v=1762744579","width":2000},{"alt":null,"id":26347039391843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/204961c3bca8aa1176151e392b9a2f593dd66bd3.webp?v=1762744580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/204961c3bca8aa1176151e392b9a2f593dd66bd3.webp?v=1762744580","width":2000},{"alt":null,"id":26347039653987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cadac099a73fbd9ef7bfeb16f0f168c335c97b58.webp?v=1762744581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cadac099a73fbd9ef7bfeb16f0f168c335c97b58.webp?v=1762744581","width":2000},{"alt":null,"id":26347039817827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f3b0f730a2ef6afa03af921ebfd288d003eaa0.webp?v=1762744582"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62f3b0f730a2ef6afa03af921ebfd288d003eaa0.webp?v=1762744582","width":2000},{"alt":null,"id":26347040178275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b9f3a7a324d1934dcc0f816bf7f078c131091d.webp?v=1762744582"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96b9f3a7a324d1934dcc0f816bf7f078c131091d.webp?v=1762744582","width":2000},{"alt":null,"id":26347040374883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd398ebad4fd2cbc822018cea4d9d45d1958c00c.webp?v=1762744583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd398ebad4fd2cbc822018cea4d9d45d1958c00c.webp?v=1762744583","width":2000},{"alt":null,"id":26347040604259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af0d7b2ab28b1d343c89b91bb5897f0a201ef75e.webp?v=1762744584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af0d7b2ab28b1d343c89b91bb5897f0a201ef75e.webp?v=1762744584","width":2000},{"alt":null,"id":27728694018147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513_50229fe2-2ce8-402e-9db2-6ef013b73630.webp?v=1783559029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513_50229fe2-2ce8-402e-9db2-6ef013b73630.webp?v=1783559029","width":2000},{"alt":null,"id":27728694935651,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639_5bd88497-8332-4f2b-b687-226efdf0a0f5.webp?v=1783559030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639_5bd88497-8332-4f2b-b687-226efdf0a0f5.webp?v=1783559030","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828472152163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":36223907987555,"product_id":7920394305635,"position":11,"created_at":"2026-07-09T09:03:47+08:00","updated_at":"2026-07-09T09:03:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513_50229fe2-2ce8-402e-9db2-6ef013b73630.webp?v=1783559029","variant_ids":[43828472152163]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-LTC03","featured_media":{"alt":null,"id":27728694018147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513_50229fe2-2ce8-402e-9db2-6ef013b73630.webp?v=1783559029"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828472217699,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":36223908905059,"product_id":7920394305635,"position":12,"created_at":"2026-07-09T09:03:48+08:00","updated_at":"2026-07-09T09:03:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639_5bd88497-8332-4f2b-b687-226efdf0a0f5.webp?v=1783559030","variant_ids":[43828472217699]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-LTC03","featured_media":{"alt":null,"id":27728694935651,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f414f65219e7c21f394a99c49ebcbdf6a298a639_5bd88497-8332-4f2b-b687-226efdf0a0f5.webp?v=1783559030"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828472152163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":36223907987555,"product_id":7920394305635,"position":11,"created_at":"2026-07-09T09:03:47+08:00","updated_at":"2026-07-09T09:03:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513_50229fe2-2ce8-402e-9db2-6ef013b73630.webp?v=1783559029","variant_ids":[43828472152163]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-LTC03","featured_media":{"alt":null,"id":27728694018147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2bab589d3ef5c9bcf82b7e568cd5ac61652513_50229fe2-2ce8-402e-9db2-6ef013b73630.webp?v=1783559029"}},"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: "停產" }