$product = {"id":7998362517603,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-xk48","description":null,"published_at":"2026-04-20T12:04:48+08:00","created_at":"2026-04-20T09:50:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nasa","device-iPhone 13 Pro Max","merge","reseller-nasa"],"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":44126134501475,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012320C-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673448448099,"product_id":7998362517603,"position":2,"created_at":"2026-04-20T09:51:24+08:00","updated_at":"2026-04-20T09:51:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5173deb129b2cdba4149d4d0757deb0c85f79e.webp?v=1776649886","variant_ids":[44126134501475]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-XK48","featured_media":{"alt":null,"id":27200719585379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5173deb129b2cdba4149d4d0757deb0c85f79e.webp?v=1776649886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126139285603,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012320E-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673449005155,"product_id":7998362517603,"position":6,"created_at":"2026-04-20T09:51:27+08:00","updated_at":"2026-04-20T09:51:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2b766828dfdab9f5bd14dc131220e8b3b94295e.webp?v=1776649889","variant_ids":[44126139285603]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-XK48","featured_media":{"alt":null,"id":27200720175203,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2b766828dfdab9f5bd14dc131220e8b3b94295e.webp?v=1776649889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126139351139,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012320B-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673448218723,"product_id":7998362517603,"position":1,"created_at":"2026-04-20T09:51:24+08:00","updated_at":"2026-04-20T09:51:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3045a67ef8db51cc2cbd90f1842a8d59f38371ca.webp?v=1776649886","variant_ids":[44126139351139]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-XK48","featured_media":{"alt":null,"id":27200719388771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3045a67ef8db51cc2cbd90f1842a8d59f38371ca.webp?v=1776649886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126139580515,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01232Z9-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673448874083,"product_id":7998362517603,"position":5,"created_at":"2026-04-20T09:51:26+08:00","updated_at":"2026-04-20T09:51:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba52839035c15249239027a097112eede0771d0.webp?v=1776649888","variant_ids":[44126139580515]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01232Z9-XK48","featured_media":{"alt":null,"id":27200720044131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba52839035c15249239027a097112eede0771d0.webp?v=1776649888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126139777123,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01232Z7-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673448546403,"product_id":7998362517603,"position":3,"created_at":"2026-04-20T09:51:25+08:00","updated_at":"2026-04-20T09:51:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb24deef8c3637ab6efb1f3d0794bec0426949b.webp?v=1776649886","variant_ids":[44126139777123]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01232Z7-XK48","featured_media":{"alt":null,"id":27200719716451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb24deef8c3637ab6efb1f3d0794bec0426949b.webp?v=1776649886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126140039267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0123252-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673449103459,"product_id":7998362517603,"position":7,"created_at":"2026-04-20T09:51:27+08:00","updated_at":"2026-04-20T09:51:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1700dbc989231efa76cbf61b5f72dbe925d47454.webp?v=1776649889","variant_ids":[44126140039267]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-XK48","featured_media":{"alt":null,"id":27200720273507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1700dbc989231efa76cbf61b5f72dbe925d47454.webp?v=1776649889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3045a67ef8db51cc2cbd90f1842a8d59f38371ca.webp?v=1776649886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5173deb129b2cdba4149d4d0757deb0c85f79e.webp?v=1776649886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb24deef8c3637ab6efb1f3d0794bec0426949b.webp?v=1776649886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a992a1d2f60f78e65721cffbf2c56c76f911f9.webp?v=1776649887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba52839035c15249239027a097112eede0771d0.webp?v=1776649888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2b766828dfdab9f5bd14dc131220e8b3b94295e.webp?v=1776649889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1700dbc989231efa76cbf61b5f72dbe925d47454.webp?v=1776649889"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3045a67ef8db51cc2cbd90f1842a8d59f38371ca.webp?v=1776649886","options":["color"],"media":[{"alt":null,"id":27200719388771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3045a67ef8db51cc2cbd90f1842a8d59f38371ca.webp?v=1776649886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3045a67ef8db51cc2cbd90f1842a8d59f38371ca.webp?v=1776649886","width":2000},{"alt":null,"id":27200719585379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5173deb129b2cdba4149d4d0757deb0c85f79e.webp?v=1776649886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5173deb129b2cdba4149d4d0757deb0c85f79e.webp?v=1776649886","width":2000},{"alt":null,"id":27200719716451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb24deef8c3637ab6efb1f3d0794bec0426949b.webp?v=1776649886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb24deef8c3637ab6efb1f3d0794bec0426949b.webp?v=1776649886","width":2000},{"alt":null,"id":27200719913059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a992a1d2f60f78e65721cffbf2c56c76f911f9.webp?v=1776649887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a992a1d2f60f78e65721cffbf2c56c76f911f9.webp?v=1776649887","width":2000},{"alt":null,"id":27200720044131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba52839035c15249239027a097112eede0771d0.webp?v=1776649888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba52839035c15249239027a097112eede0771d0.webp?v=1776649888","width":2000},{"alt":null,"id":27200720175203,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2b766828dfdab9f5bd14dc131220e8b3b94295e.webp?v=1776649889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2b766828dfdab9f5bd14dc131220e8b3b94295e.webp?v=1776649889","width":2000},{"alt":null,"id":27200720273507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1700dbc989231efa76cbf61b5f72dbe925d47454.webp?v=1776649889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1700dbc989231efa76cbf61b5f72dbe925d47454.webp?v=1776649889","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":44126134501475,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012320C-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673448448099,"product_id":7998362517603,"position":2,"created_at":"2026-04-20T09:51:24+08:00","updated_at":"2026-04-20T09:51:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5173deb129b2cdba4149d4d0757deb0c85f79e.webp?v=1776649886","variant_ids":[44126134501475]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-XK48","featured_media":{"alt":null,"id":27200719585379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5173deb129b2cdba4149d4d0757deb0c85f79e.webp?v=1776649886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126139285603,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012320E-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673449005155,"product_id":7998362517603,"position":6,"created_at":"2026-04-20T09:51:27+08:00","updated_at":"2026-04-20T09:51:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2b766828dfdab9f5bd14dc131220e8b3b94295e.webp?v=1776649889","variant_ids":[44126139285603]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-XK48","featured_media":{"alt":null,"id":27200720175203,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2b766828dfdab9f5bd14dc131220e8b3b94295e.webp?v=1776649889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126139351139,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012320B-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673448218723,"product_id":7998362517603,"position":1,"created_at":"2026-04-20T09:51:24+08:00","updated_at":"2026-04-20T09:51:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3045a67ef8db51cc2cbd90f1842a8d59f38371ca.webp?v=1776649886","variant_ids":[44126139351139]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-XK48","featured_media":{"alt":null,"id":27200719388771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3045a67ef8db51cc2cbd90f1842a8d59f38371ca.webp?v=1776649886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126139580515,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01232Z9-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673448874083,"product_id":7998362517603,"position":5,"created_at":"2026-04-20T09:51:26+08:00","updated_at":"2026-04-20T09:51:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba52839035c15249239027a097112eede0771d0.webp?v=1776649888","variant_ids":[44126139580515]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01232Z9-XK48","featured_media":{"alt":null,"id":27200720044131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba52839035c15249239027a097112eede0771d0.webp?v=1776649888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126139777123,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01232Z7-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673448546403,"product_id":7998362517603,"position":3,"created_at":"2026-04-20T09:51:25+08:00","updated_at":"2026-04-20T09:51:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb24deef8c3637ab6efb1f3d0794bec0426949b.webp?v=1776649886","variant_ids":[44126139777123]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01232Z7-XK48","featured_media":{"alt":null,"id":27200719716451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efb24deef8c3637ab6efb1f3d0794bec0426949b.webp?v=1776649886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44126140039267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0123252-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673449103459,"product_id":7998362517603,"position":7,"created_at":"2026-04-20T09:51:27+08:00","updated_at":"2026-04-20T09:51:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1700dbc989231efa76cbf61b5f72dbe925d47454.webp?v=1776649889","variant_ids":[44126140039267]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-XK48","featured_media":{"alt":null,"id":27200720273507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1700dbc989231efa76cbf61b5f72dbe925d47454.webp?v=1776649889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44126134501475,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012320C-XK48","requires_shipping":true,"taxable":true,"featured_image":{"id":35673448448099,"product_id":7998362517603,"position":2,"created_at":"2026-04-20T09:51:24+08:00","updated_at":"2026-04-20T09:51:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5173deb129b2cdba4149d4d0757deb0c85f79e.webp?v=1776649886","variant_ids":[44126134501475]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 太空 Astronaut Hoften Tracks The Distant Syncom IV-3 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-XK48","featured_media":{"alt":null,"id":27200719585379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5173deb129b2cdba4149d4d0757deb0c85f79e.webp?v=1776649886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }