$product = {"id":7297134854243,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-ym04","description":null,"published_at":"2024-04-12T10:20:07+08:00","created_at":"2024-04-10T16:54:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-Discovery","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-discovery","device-iPhone 13 Pro Max","merge","reseller-discovery"],"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":41628181659747,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0123252-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":36142055882851,"product_id":7297134854243,"position":2,"created_at":"2026-07-01T12:39:41+08:00","updated_at":"2026-07-01T12:39:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b44b4cacfeb5472bb7c28e6a609b2c8b9a834c6.webp?v=1782880783","variant_ids":[41628181659747]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-YM04","featured_media":{"alt":null,"id":27646946115683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b44b4cacfeb5472bb7c28e6a609b2c8b9a834c6.webp?v=1782880783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41628182315107,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012320B-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":36142057226339,"product_id":7297134854243,"position":6,"created_at":"2026-07-01T12:39:43+08:00","updated_at":"2026-07-01T12:39:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df499d19528a240a55881fe0471a6c02c9856870.webp?v=1782880785","variant_ids":[41628182315107]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-YM04","featured_media":{"alt":null,"id":27646947459171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df499d19528a240a55881fe0471a6c02c9856870.webp?v=1782880785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41628182413411,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012320F-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":31248870146147,"product_id":7297134854243,"position":1,"created_at":"2024-04-10T16:54:08+08:00","updated_at":"2024-04-10T16:54:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff878abf5a4234fe532f7eb923c2a4b221df3ec6.webp?v=1712739248","variant_ids":[41628182413411]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320F-YM04","featured_media":{"alt":null,"id":23635186155619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff878abf5a4234fe532f7eb923c2a4b221df3ec6.webp?v=1712739248"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41628182446179,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012320C-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":36142056636515,"product_id":7297134854243,"position":4,"created_at":"2026-07-01T12:39:42+08:00","updated_at":"2026-07-01T12:39:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d723daf5225caf9e1ef49945413c833e05a305.webp?v=1782880784","variant_ids":[41628182446179]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-YM04","featured_media":{"alt":null,"id":27646946869347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d723daf5225caf9e1ef49945413c833e05a305.webp?v=1782880784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41628182511715,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012320E-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":36142056996963,"product_id":7297134854243,"position":5,"created_at":"2026-07-01T12:39:42+08:00","updated_at":"2026-07-01T12:39:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e566df509fcbe2ca2b55fb764914e3106509655a.webp?v=1782880785","variant_ids":[41628182511715]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-YM04","featured_media":{"alt":null,"id":27646947229795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e566df509fcbe2ca2b55fb764914e3106509655a.webp?v=1782880785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff878abf5a4234fe532f7eb923c2a4b221df3ec6.webp?v=1712739248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b44b4cacfeb5472bb7c28e6a609b2c8b9a834c6.webp?v=1782880783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/296e31b8efc49fa4c05a72698406909b3d898728.webp?v=1782880783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d723daf5225caf9e1ef49945413c833e05a305.webp?v=1782880784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e566df509fcbe2ca2b55fb764914e3106509655a.webp?v=1782880785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df499d19528a240a55881fe0471a6c02c9856870.webp?v=1782880785"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff878abf5a4234fe532f7eb923c2a4b221df3ec6.webp?v=1712739248","options":["color"],"media":[{"alt":null,"id":23635186155619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff878abf5a4234fe532f7eb923c2a4b221df3ec6.webp?v=1712739248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff878abf5a4234fe532f7eb923c2a4b221df3ec6.webp?v=1712739248","width":2000},{"alt":null,"id":27646946115683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b44b4cacfeb5472bb7c28e6a609b2c8b9a834c6.webp?v=1782880783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b44b4cacfeb5472bb7c28e6a609b2c8b9a834c6.webp?v=1782880783","width":2000},{"alt":null,"id":27646946443363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/296e31b8efc49fa4c05a72698406909b3d898728.webp?v=1782880783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/296e31b8efc49fa4c05a72698406909b3d898728.webp?v=1782880783","width":2000},{"alt":null,"id":27646946869347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d723daf5225caf9e1ef49945413c833e05a305.webp?v=1782880784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d723daf5225caf9e1ef49945413c833e05a305.webp?v=1782880784","width":2000},{"alt":null,"id":27646947229795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e566df509fcbe2ca2b55fb764914e3106509655a.webp?v=1782880785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e566df509fcbe2ca2b55fb764914e3106509655a.webp?v=1782880785","width":2000},{"alt":null,"id":27646947459171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df499d19528a240a55881fe0471a6c02c9856870.webp?v=1782880785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df499d19528a240a55881fe0471a6c02c9856870.webp?v=1782880785","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41628181659747,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0123252-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":36142055882851,"product_id":7297134854243,"position":2,"created_at":"2026-07-01T12:39:41+08:00","updated_at":"2026-07-01T12:39:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b44b4cacfeb5472bb7c28e6a609b2c8b9a834c6.webp?v=1782880783","variant_ids":[41628181659747]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-YM04","featured_media":{"alt":null,"id":27646946115683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b44b4cacfeb5472bb7c28e6a609b2c8b9a834c6.webp?v=1782880783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41628182315107,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012320B-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":36142057226339,"product_id":7297134854243,"position":6,"created_at":"2026-07-01T12:39:43+08:00","updated_at":"2026-07-01T12:39:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df499d19528a240a55881fe0471a6c02c9856870.webp?v=1782880785","variant_ids":[41628182315107]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-YM04","featured_media":{"alt":null,"id":27646947459171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df499d19528a240a55881fe0471a6c02c9856870.webp?v=1782880785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41628182413411,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012320F-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":31248870146147,"product_id":7297134854243,"position":1,"created_at":"2024-04-10T16:54:08+08:00","updated_at":"2024-04-10T16:54:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff878abf5a4234fe532f7eb923c2a4b221df3ec6.webp?v=1712739248","variant_ids":[41628182413411]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320F-YM04","featured_media":{"alt":null,"id":23635186155619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff878abf5a4234fe532f7eb923c2a4b221df3ec6.webp?v=1712739248"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41628182446179,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012320C-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":36142056636515,"product_id":7297134854243,"position":4,"created_at":"2026-07-01T12:39:42+08:00","updated_at":"2026-07-01T12:39:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d723daf5225caf9e1ef49945413c833e05a305.webp?v=1782880784","variant_ids":[41628182446179]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-YM04","featured_media":{"alt":null,"id":27646946869347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d723daf5225caf9e1ef49945413c833e05a305.webp?v=1782880784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41628182511715,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012320E-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":36142056996963,"product_id":7297134854243,"position":5,"created_at":"2026-07-01T12:39:42+08:00","updated_at":"2026-07-01T12:39:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e566df509fcbe2ca2b55fb764914e3106509655a.webp?v=1782880785","variant_ids":[41628182511715]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-YM04","featured_media":{"alt":null,"id":27646947229795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e566df509fcbe2ca2b55fb764914e3106509655a.webp?v=1782880785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41628181659747,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0123252-YM04","requires_shipping":true,"taxable":true,"featured_image":{"id":36142055882851,"product_id":7297134854243,"position":2,"created_at":"2026-07-01T12:39:41+08:00","updated_at":"2026-07-01T12:39:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b44b4cacfeb5472bb7c28e6a609b2c8b9a834c6.webp?v=1782880783","variant_ids":[41628181659747]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) Discovery 麓 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-YM04","featured_media":{"alt":null,"id":27646946115683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b44b4cacfeb5472bb7c28e6a609b2c8b9a834c6.webp?v=1782880783"}},"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: "停產" }