$product = {"id":7888626090083,"title":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家","handle":"iphone-15-plus-solidx-magsafe-dm03","description":null,"published_at":"2025-09-22T17:03:36+08:00","created_at":"2025-09-22T16:53:13+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-dumplingcat","device-iPhone 15 Plus","merge","reseller-dumplingcat"],"price":145000,"price_min":145000,"price_max":145000,"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":43743819726947,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01296O8-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515794919523,"product_id":7888626090083,"position":6,"created_at":"2025-09-22T16:53:21+08:00","updated_at":"2025-09-22T16:53:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdebd92b9aee5c778324eb2c71efb645fa4cf5b3.webp?v=1758531203","variant_ids":[43743819726947]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296O8-DM03","featured_media":{"alt":null,"id":26086232784995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdebd92b9aee5c778324eb2c71efb645fa4cf5b3.webp?v=1758531203"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743819759715,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01296Z7-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515794296931,"product_id":7888626090083,"position":2,"created_at":"2025-09-22T16:53:18+08:00","updated_at":"2025-09-22T16:53:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf6d9fd07ad6997b13c2409cb1dd97ee70ec7fd.webp?v=1758531200","variant_ids":[43743819759715]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296Z7-DM03","featured_media":{"alt":null,"id":26086231965795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf6d9fd07ad6997b13c2409cb1dd97ee70ec7fd.webp?v=1758531200"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743819858019,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515794591843,"product_id":7888626090083,"position":4,"created_at":"2025-09-22T16:53:19+08:00","updated_at":"2025-09-22T16:53:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2dc81cb4a9113f4494fab384daf4d950017f46.webp?v=1758531201","variant_ids":[43743819858019]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-DM03","featured_media":{"alt":null,"id":26086232457315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2dc81cb4a9113f4494fab384daf4d950017f46.webp?v=1758531201"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743819956323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0129652-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515795869795,"product_id":7888626090083,"position":10,"created_at":"2025-09-22T16:53:23+08:00","updated_at":"2025-09-22T16:53:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4dde233ed737ecf4c1548e5773fdf6be6bee50f.webp?v=1758531204","variant_ids":[43743819956323]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129652-DM03","featured_media":{"alt":null,"id":26086233440355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4dde233ed737ecf4c1548e5773fdf6be6bee50f.webp?v=1758531204"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a54c48c50e1fd51098ed0ea32ac936025bee31b.webp?v=1758531200","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf6d9fd07ad6997b13c2409cb1dd97ee70ec7fd.webp?v=1758531200","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67681b2ff1e0d195c70d1c2d7b58250b2cf4b3f5.webp?v=1758531201","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2dc81cb4a9113f4494fab384daf4d950017f46.webp?v=1758531201","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d77396aca7300433090c93d5dddebc05f04c972.webp?v=1758531202","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdebd92b9aee5c778324eb2c71efb645fa4cf5b3.webp?v=1758531203","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95727f193b985df8732e16f5cfb1336bc61331b5.webp?v=1758531203","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d8ca384ee0658447ab60ff4cea49c9ad7e6145.webp?v=1758531204","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee03c8f420485850d897876ac863b8bd0236038.webp?v=1758531204","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4dde233ed737ecf4c1548e5773fdf6be6bee50f.webp?v=1758531204"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a54c48c50e1fd51098ed0ea32ac936025bee31b.webp?v=1758531200","options":["color"],"media":[{"alt":null,"id":26086231703651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a54c48c50e1fd51098ed0ea32ac936025bee31b.webp?v=1758531200"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a54c48c50e1fd51098ed0ea32ac936025bee31b.webp?v=1758531200","width":2000},{"alt":null,"id":26086231965795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf6d9fd07ad6997b13c2409cb1dd97ee70ec7fd.webp?v=1758531200"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf6d9fd07ad6997b13c2409cb1dd97ee70ec7fd.webp?v=1758531200","width":2000},{"alt":null,"id":26086232326243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67681b2ff1e0d195c70d1c2d7b58250b2cf4b3f5.webp?v=1758531201"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67681b2ff1e0d195c70d1c2d7b58250b2cf4b3f5.webp?v=1758531201","width":2000},{"alt":null,"id":26086232457315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2dc81cb4a9113f4494fab384daf4d950017f46.webp?v=1758531201"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2dc81cb4a9113f4494fab384daf4d950017f46.webp?v=1758531201","width":2000},{"alt":null,"id":26086232621155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d77396aca7300433090c93d5dddebc05f04c972.webp?v=1758531202"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d77396aca7300433090c93d5dddebc05f04c972.webp?v=1758531202","width":2000},{"alt":null,"id":26086232784995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdebd92b9aee5c778324eb2c71efb645fa4cf5b3.webp?v=1758531203"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdebd92b9aee5c778324eb2c71efb645fa4cf5b3.webp?v=1758531203","width":2000},{"alt":null,"id":26086232948835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95727f193b985df8732e16f5cfb1336bc61331b5.webp?v=1758531203"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95727f193b985df8732e16f5cfb1336bc61331b5.webp?v=1758531203","width":2000},{"alt":null,"id":26086233112675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d8ca384ee0658447ab60ff4cea49c9ad7e6145.webp?v=1758531204"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5d8ca384ee0658447ab60ff4cea49c9ad7e6145.webp?v=1758531204","width":2000},{"alt":null,"id":26086233276515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee03c8f420485850d897876ac863b8bd0236038.webp?v=1758531204"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee03c8f420485850d897876ac863b8bd0236038.webp?v=1758531204","width":2000},{"alt":null,"id":26086233440355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4dde233ed737ecf4c1548e5773fdf6be6bee50f.webp?v=1758531204"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4dde233ed737ecf4c1548e5773fdf6be6bee50f.webp?v=1758531204","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43743819726947,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01296O8-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515794919523,"product_id":7888626090083,"position":6,"created_at":"2025-09-22T16:53:21+08:00","updated_at":"2025-09-22T16:53:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdebd92b9aee5c778324eb2c71efb645fa4cf5b3.webp?v=1758531203","variant_ids":[43743819726947]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296O8-DM03","featured_media":{"alt":null,"id":26086232784995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdebd92b9aee5c778324eb2c71efb645fa4cf5b3.webp?v=1758531203"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743819759715,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01296Z7-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515794296931,"product_id":7888626090083,"position":2,"created_at":"2025-09-22T16:53:18+08:00","updated_at":"2025-09-22T16:53:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf6d9fd07ad6997b13c2409cb1dd97ee70ec7fd.webp?v=1758531200","variant_ids":[43743819759715]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296Z7-DM03","featured_media":{"alt":null,"id":26086231965795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf6d9fd07ad6997b13c2409cb1dd97ee70ec7fd.webp?v=1758531200"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743819858019,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515794591843,"product_id":7888626090083,"position":4,"created_at":"2025-09-22T16:53:19+08:00","updated_at":"2025-09-22T16:53:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2dc81cb4a9113f4494fab384daf4d950017f46.webp?v=1758531201","variant_ids":[43743819858019]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-DM03","featured_media":{"alt":null,"id":26086232457315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec2dc81cb4a9113f4494fab384daf4d950017f46.webp?v=1758531201"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743819956323,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0129652-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515795869795,"product_id":7888626090083,"position":10,"created_at":"2025-09-22T16:53:23+08:00","updated_at":"2025-09-22T16:53:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4dde233ed737ecf4c1548e5773fdf6be6bee50f.webp?v=1758531204","variant_ids":[43743819956323]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129652-DM03","featured_media":{"alt":null,"id":26086233440355,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4dde233ed737ecf4c1548e5773fdf6be6bee50f.webp?v=1758531204"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43743819726947,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01296O8-DM03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515794919523,"product_id":7888626090083,"position":6,"created_at":"2025-09-22T16:53:21+08:00","updated_at":"2025-09-22T16:53:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdebd92b9aee5c778324eb2c71efb645fa4cf5b3.webp?v=1758531203","variant_ids":[43743819726947]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 餃貓FAMILY 餃貓一家 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296O8-DM03","featured_media":{"alt":null,"id":26086232784995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdebd92b9aee5c778324eb2c71efb645fa4cf5b3.webp?v=1758531203"}},"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: "停產" }