$product = {"id":7920389685347,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto","handle":"iphone-13-mini-mod-nx-magsafe-ltc03","description":null,"published_at":"2025-11-11T09:19:33+08:00","created_at":"2025-11-10T11:15:13+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":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":43828454391907,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780884631651,"product_id":7920389685347,"position":3,"created_at":"2025-11-10T11:15:16+08:00","updated_at":"2025-11-10T11:15:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9031b4b47f28ab9236c14d77428db4db72ea804.webp?v=1762744518","variant_ids":[43828454391907]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - 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-LTC03","featured_media":{"alt":null,"id":26347020255331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9031b4b47f28ab9236c14d77428db4db72ea804.webp?v=1762744518"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828454424675,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780886073443,"product_id":7920389685347,"position":8,"created_at":"2025-11-10T11:15:20+08:00","updated_at":"2025-11-10T11:15:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd93742b6fb889194e2a66518892d07d0187df0.webp?v=1762744522","variant_ids":[43828454424675]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - 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-LTC03","featured_media":{"alt":null,"id":26347021664355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd93742b6fb889194e2a66518892d07d0187df0.webp?v=1762744522"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828454621283,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780884861027,"product_id":7920389685347,"position":4,"created_at":"2025-11-10T11:15:17+08:00","updated_at":"2025-11-10T11:15:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd6383edce9bb9e2e4acde0d082b824e88e3eb16.webp?v=1762744519","variant_ids":[43828454621283]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - 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-LTC03","featured_media":{"alt":null,"id":26347020451939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd6383edce9bb9e2e4acde0d082b824e88e3eb16.webp?v=1762744519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbc2353ad12599ddd8afc8f980e53776aa53c189.webp?v=1762744519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47377747ac34a512ae3945a8a8e2e02343e5a5d7.webp?v=1762744517","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9031b4b47f28ab9236c14d77428db4db72ea804.webp?v=1762744518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd6383edce9bb9e2e4acde0d082b824e88e3eb16.webp?v=1762744519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02d0f1b6b35d2d6566096636005ba828a6a5000b.webp?v=1762744520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7cef653a9ae8db5d02c749ffc2137c58c032191.webp?v=1762744520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8722665a7c09a9ebfdc544c5804bc6d463e1115.webp?v=1762744521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd93742b6fb889194e2a66518892d07d0187df0.webp?v=1762744522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/543c60f9a42c4b92e68f0196ea8a7cf3d7c4679e.webp?v=1762744522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d65f458e0a3cbb5d01c0cf631f82f9a18c3f050.webp?v=1762744523"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbc2353ad12599ddd8afc8f980e53776aa53c189.webp?v=1762744519","options":["color"],"media":[{"alt":null,"id":26347019894883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbc2353ad12599ddd8afc8f980e53776aa53c189.webp?v=1762744519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbc2353ad12599ddd8afc8f980e53776aa53c189.webp?v=1762744519","width":2000},{"alt":null,"id":26347020091491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47377747ac34a512ae3945a8a8e2e02343e5a5d7.webp?v=1762744517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47377747ac34a512ae3945a8a8e2e02343e5a5d7.webp?v=1762744517","width":2000},{"alt":null,"id":26347020255331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9031b4b47f28ab9236c14d77428db4db72ea804.webp?v=1762744518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9031b4b47f28ab9236c14d77428db4db72ea804.webp?v=1762744518","width":2000},{"alt":null,"id":26347020451939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd6383edce9bb9e2e4acde0d082b824e88e3eb16.webp?v=1762744519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd6383edce9bb9e2e4acde0d082b824e88e3eb16.webp?v=1762744519","width":2000},{"alt":null,"id":26347020714083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02d0f1b6b35d2d6566096636005ba828a6a5000b.webp?v=1762744520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02d0f1b6b35d2d6566096636005ba828a6a5000b.webp?v=1762744520","width":2000},{"alt":null,"id":26347020943459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7cef653a9ae8db5d02c749ffc2137c58c032191.webp?v=1762744520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7cef653a9ae8db5d02c749ffc2137c58c032191.webp?v=1762744520","width":2000},{"alt":null,"id":26347021303907,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8722665a7c09a9ebfdc544c5804bc6d463e1115.webp?v=1762744521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8722665a7c09a9ebfdc544c5804bc6d463e1115.webp?v=1762744521","width":2000},{"alt":null,"id":26347021664355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd93742b6fb889194e2a66518892d07d0187df0.webp?v=1762744522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd93742b6fb889194e2a66518892d07d0187df0.webp?v=1762744522","width":2000},{"alt":null,"id":26347022024803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/543c60f9a42c4b92e68f0196ea8a7cf3d7c4679e.webp?v=1762744522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/543c60f9a42c4b92e68f0196ea8a7cf3d7c4679e.webp?v=1762744522","width":2000},{"alt":null,"id":26347022286947,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d65f458e0a3cbb5d01c0cf631f82f9a18c3f050.webp?v=1762744523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d65f458e0a3cbb5d01c0cf631f82f9a18c3f050.webp?v=1762744523","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828454391907,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780884631651,"product_id":7920389685347,"position":3,"created_at":"2025-11-10T11:15:16+08:00","updated_at":"2025-11-10T11:15:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9031b4b47f28ab9236c14d77428db4db72ea804.webp?v=1762744518","variant_ids":[43828454391907]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - 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-LTC03","featured_media":{"alt":null,"id":26347020255331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9031b4b47f28ab9236c14d77428db4db72ea804.webp?v=1762744518"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828454424675,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780886073443,"product_id":7920389685347,"position":8,"created_at":"2025-11-10T11:15:20+08:00","updated_at":"2025-11-10T11:15:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd93742b6fb889194e2a66518892d07d0187df0.webp?v=1762744522","variant_ids":[43828454424675]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - 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-LTC03","featured_media":{"alt":null,"id":26347021664355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd93742b6fb889194e2a66518892d07d0187df0.webp?v=1762744522"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828454621283,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780884861027,"product_id":7920389685347,"position":4,"created_at":"2025-11-10T11:15:17+08:00","updated_at":"2025-11-10T11:15:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd6383edce9bb9e2e4acde0d082b824e88e3eb16.webp?v=1762744519","variant_ids":[43828454621283]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - 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-LTC03","featured_media":{"alt":null,"id":26347020451939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd6383edce9bb9e2e4acde0d082b824e88e3eb16.webp?v=1762744519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828454391907,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-LTC03","requires_shipping":true,"taxable":true,"featured_image":{"id":34780884631651,"product_id":7920389685347,"position":3,"created_at":"2025-11-10T11:15:16+08:00","updated_at":"2025-11-10T11:15:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9031b4b47f28ab9236c14d77428db4db72ea804.webp?v=1762744518","variant_ids":[43828454391907]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Big Catto - 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-LTC03","featured_media":{"alt":null,"id":26347020255331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9031b4b47f28ab9236c14d77428db4db72ea804.webp?v=1762744518"}},"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: "停產" }