$product = {"id":7920312287331,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Companionship","handle":"iphone-13-mini-mod-nx-magsafe-ltc09","description":null,"published_at":"2025-11-11T09:33:45+08:00","created_at":"2025-11-10T10:57:05+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":43828162232419,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-LTC09","requires_shipping":true,"taxable":true,"featured_image":{"id":34780573007971,"product_id":7920312287331,"position":1,"created_at":"2025-11-10T10:57:09+08:00","updated_at":"2025-11-10T10:57:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431","variant_ids":[43828162232419]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Companionship - 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-LTC09","featured_media":{"alt":null,"id":26346709385315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828162265187,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-LTC09","requires_shipping":true,"taxable":true,"featured_image":{"id":34780574646371,"product_id":7920312287331,"position":7,"created_at":"2025-11-10T10:57:13+08:00","updated_at":"2025-11-10T10:57:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d999cc77eba3963aceb40aa492e0de01f5271fb.webp?v=1762743435","variant_ids":[43828162265187]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Companionship - 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-LTC09","featured_media":{"alt":null,"id":26346710925411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d999cc77eba3963aceb40aa492e0de01f5271fb.webp?v=1762743435"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828162461795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-LTC09","requires_shipping":true,"taxable":true,"featured_image":{"id":34780574941283,"product_id":7920312287331,"position":8,"created_at":"2025-11-10T10:57:14+08:00","updated_at":"2025-11-10T10:57:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3091b294e8c904cc017c8a37f4c2495b0347b1e.webp?v=1762743436","variant_ids":[43828162461795]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Companionship - 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-LTC09","featured_media":{"alt":null,"id":26346711154787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3091b294e8c904cc017c8a37f4c2495b0347b1e.webp?v=1762743436"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1cc5e9ba1a1b5cffbd06a91fd39498df4b5b2cd.webp?v=1762743432","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/140d48921d8a46b5b4e8ca69e9dd2797062e5c61.webp?v=1762743432","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335eb97e4ea12c173618baddfef3d664fd565908.webp?v=1762743433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689b025d03475079629adfced9af43ef3a62077f.webp?v=1762743434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022bd67c271f13a14fa791ead101e571326a44a7.webp?v=1762743434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d999cc77eba3963aceb40aa492e0de01f5271fb.webp?v=1762743435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3091b294e8c904cc017c8a37f4c2495b0347b1e.webp?v=1762743436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87667906f124eeb9b2ba4d9badc5ec031127dbf9.webp?v=1762743436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bae82f8271cdf6438cbcdd26c9bbaf9b12afb54.webp?v=1762743437"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431","options":["color"],"media":[{"alt":null,"id":26346709385315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431","width":2000},{"alt":null,"id":26346709581923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1cc5e9ba1a1b5cffbd06a91fd39498df4b5b2cd.webp?v=1762743432"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1cc5e9ba1a1b5cffbd06a91fd39498df4b5b2cd.webp?v=1762743432","width":2000},{"alt":null,"id":26346709778531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/140d48921d8a46b5b4e8ca69e9dd2797062e5c61.webp?v=1762743432"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/140d48921d8a46b5b4e8ca69e9dd2797062e5c61.webp?v=1762743432","width":2000},{"alt":null,"id":26346709975139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335eb97e4ea12c173618baddfef3d664fd565908.webp?v=1762743433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/335eb97e4ea12c173618baddfef3d664fd565908.webp?v=1762743433","width":2000},{"alt":null,"id":26346710302819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689b025d03475079629adfced9af43ef3a62077f.webp?v=1762743434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/689b025d03475079629adfced9af43ef3a62077f.webp?v=1762743434","width":2000},{"alt":null,"id":26346710630499,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022bd67c271f13a14fa791ead101e571326a44a7.webp?v=1762743434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022bd67c271f13a14fa791ead101e571326a44a7.webp?v=1762743434","width":2000},{"alt":null,"id":26346710925411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d999cc77eba3963aceb40aa492e0de01f5271fb.webp?v=1762743435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d999cc77eba3963aceb40aa492e0de01f5271fb.webp?v=1762743435","width":2000},{"alt":null,"id":26346711154787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3091b294e8c904cc017c8a37f4c2495b0347b1e.webp?v=1762743436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3091b294e8c904cc017c8a37f4c2495b0347b1e.webp?v=1762743436","width":2000},{"alt":null,"id":26346711548003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87667906f124eeb9b2ba4d9badc5ec031127dbf9.webp?v=1762743436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87667906f124eeb9b2ba4d9badc5ec031127dbf9.webp?v=1762743436","width":2000},{"alt":null,"id":26346711777379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bae82f8271cdf6438cbcdd26c9bbaf9b12afb54.webp?v=1762743437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bae82f8271cdf6438cbcdd26c9bbaf9b12afb54.webp?v=1762743437","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828162232419,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-LTC09","requires_shipping":true,"taxable":true,"featured_image":{"id":34780573007971,"product_id":7920312287331,"position":1,"created_at":"2025-11-10T10:57:09+08:00","updated_at":"2025-11-10T10:57:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431","variant_ids":[43828162232419]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Companionship - 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-LTC09","featured_media":{"alt":null,"id":26346709385315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828162265187,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-LTC09","requires_shipping":true,"taxable":true,"featured_image":{"id":34780574646371,"product_id":7920312287331,"position":7,"created_at":"2025-11-10T10:57:13+08:00","updated_at":"2025-11-10T10:57:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d999cc77eba3963aceb40aa492e0de01f5271fb.webp?v=1762743435","variant_ids":[43828162265187]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Companionship - 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-LTC09","featured_media":{"alt":null,"id":26346710925411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d999cc77eba3963aceb40aa492e0de01f5271fb.webp?v=1762743435"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828162461795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-LTC09","requires_shipping":true,"taxable":true,"featured_image":{"id":34780574941283,"product_id":7920312287331,"position":8,"created_at":"2025-11-10T10:57:14+08:00","updated_at":"2025-11-10T10:57:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3091b294e8c904cc017c8a37f4c2495b0347b1e.webp?v=1762743436","variant_ids":[43828162461795]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Companionship - 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-LTC09","featured_media":{"alt":null,"id":26346711154787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3091b294e8c904cc017c8a37f4c2495b0347b1e.webp?v=1762743436"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828162232419,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-LTC09","requires_shipping":true,"taxable":true,"featured_image":{"id":34780573007971,"product_id":7920312287331,"position":1,"created_at":"2025-11-10T10:57:09+08:00","updated_at":"2025-11-10T10:57:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431","variant_ids":[43828162232419]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 小貓貓們 Little Cattos Companionship - 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-LTC09","featured_media":{"alt":null,"id":26346709385315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d62faae29ebb5b39c29b046a9727b5d74f20ac4.webp?v=1762743431"}},"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: "停產" }