$product = {"id":6987884986467,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 灰色大象","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-gd06","description":null,"published_at":"2023-08-03T02:11:39+08:00","created_at":"2023-07-30T19:43:56+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-哈利波特 Harry Potter","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-liang-feng","device-iPhone 13 Pro Max","merge","reseller-liang-feng"],"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":43102103273571,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD06","requires_shipping":true,"taxable":true,"featured_image":{"id":30287525150819,"product_id":6987884986467,"position":1,"created_at":"2023-07-30T19:43:59+08:00","updated_at":"2023-07-30T19:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","variant_ids":[43102103273571,43102103470179,43102103601251]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 灰色大象 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-GD06","featured_media":{"alt":null,"id":22646234906723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102103470179,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD06","requires_shipping":true,"taxable":true,"featured_image":{"id":30287525150819,"product_id":6987884986467,"position":1,"created_at":"2023-07-30T19:43:59+08:00","updated_at":"2023-07-30T19:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","variant_ids":[43102103273571,43102103470179,43102103601251]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 灰色大象 - Shell Beige \/ Classic","public_title":"Shell Beige \/ Classic","options":["Shell Beige","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-GD06","featured_media":{"alt":null,"id":22646234906723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102103601251,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD06","requires_shipping":true,"taxable":true,"featured_image":{"id":30287525150819,"product_id":6987884986467,"position":1,"created_at":"2023-07-30T19:43:59+08:00","updated_at":"2023-07-30T19:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","variant_ids":[43102103273571,43102103470179,43102103601251]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 灰色大象 - Parakeet Green \/ Classic","public_title":"Parakeet Green \/ Classic","options":["Parakeet Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-GD06","featured_media":{"alt":null,"id":22646234906723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487.webp?v=1784011599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489.webp?v=1784011600","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563.webp?v=1784011601","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c.webp?v=1784011601","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487_ddeed952-47d1-432b-966c-1cf5572e9fac.webp?v=1784013354","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489_9a30eaf4-76d1-4f19-95ae-e4c9aad1ebfe.webp?v=1784013355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563_d698ccbb-c31f-4b4f-9941-ba188e9eac87.webp?v=1784013356","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c_d00c08ca-883a-4bca-84f0-f9089b77149c.webp?v=1784013358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487_e5d285f1-7517-49a7-a4b5-49cb366f43a8.webp?v=1784013470","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489_6fd30970-790b-4e87-b465-fb07a8436421.webp?v=1784013471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563_f3952dd8-16eb-42fd-ab87-d53449cc67bb.webp?v=1784013472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c_36a70297-6465-453a-b77a-da65178fc46f.webp?v=1784013473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487_5977a759-af8e-4ba6-aabb-cccf303b1321.webp?v=1784013531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489_24e03abe-62aa-436f-bf50-a99b8ec6effd.webp?v=1784013531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563_6235f054-103b-4c10-852a-c1077af61c38.webp?v=1784013532","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c_38362fd2-6159-46c5-8667-35ee56f1ce68.webp?v=1784013535"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","options":["color","Types"],"media":[{"alt":null,"id":22646234906723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","width":2000},{"alt":null,"id":27761313513571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487.webp?v=1784011599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487.webp?v=1784011599","width":2000},{"alt":null,"id":27761313710179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489.webp?v=1784011600"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489.webp?v=1784011600","width":2000},{"alt":null,"id":27761313874019,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563.webp?v=1784011601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563.webp?v=1784011601","width":2000},{"alt":null,"id":27761314136163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c.webp?v=1784011601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c.webp?v=1784011601","width":2000},{"alt":null,"id":27761655185507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487_ddeed952-47d1-432b-966c-1cf5572e9fac.webp?v=1784013354"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487_ddeed952-47d1-432b-966c-1cf5572e9fac.webp?v=1784013354","width":2000},{"alt":null,"id":27761655382115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489_9a30eaf4-76d1-4f19-95ae-e4c9aad1ebfe.webp?v=1784013355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489_9a30eaf4-76d1-4f19-95ae-e4c9aad1ebfe.webp?v=1784013355","width":2000},{"alt":null,"id":27761655480419,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563_d698ccbb-c31f-4b4f-9941-ba188e9eac87.webp?v=1784013356"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563_d698ccbb-c31f-4b4f-9941-ba188e9eac87.webp?v=1784013356","width":2000},{"alt":null,"id":27761655808099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c_d00c08ca-883a-4bca-84f0-f9089b77149c.webp?v=1784013358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c_d00c08ca-883a-4bca-84f0-f9089b77149c.webp?v=1784013358","width":2000},{"alt":null,"id":27761665212515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487_e5d285f1-7517-49a7-a4b5-49cb366f43a8.webp?v=1784013470"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487_e5d285f1-7517-49a7-a4b5-49cb366f43a8.webp?v=1784013470","width":2000},{"alt":null,"id":27761665376355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489_6fd30970-790b-4e87-b465-fb07a8436421.webp?v=1784013471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489_6fd30970-790b-4e87-b465-fb07a8436421.webp?v=1784013471","width":2000},{"alt":null,"id":27761665867875,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563_f3952dd8-16eb-42fd-ab87-d53449cc67bb.webp?v=1784013472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563_f3952dd8-16eb-42fd-ab87-d53449cc67bb.webp?v=1784013472","width":2000},{"alt":null,"id":27761666261091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c_36a70297-6465-453a-b77a-da65178fc46f.webp?v=1784013473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c_36a70297-6465-453a-b77a-da65178fc46f.webp?v=1784013473","width":2000},{"alt":null,"id":27761675206755,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487_5977a759-af8e-4ba6-aabb-cccf303b1321.webp?v=1784013531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/382c11f8aa791e552d876e11d420b0b6c361e487_5977a759-af8e-4ba6-aabb-cccf303b1321.webp?v=1784013531","width":2000},{"alt":null,"id":27761675960419,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489_24e03abe-62aa-436f-bf50-a99b8ec6effd.webp?v=1784013531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d2902f2d2b04b00abfa1d90570a571f10df489_24e03abe-62aa-436f-bf50-a99b8ec6effd.webp?v=1784013531","width":2000},{"alt":null,"id":27761676517475,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563_6235f054-103b-4c10-852a-c1077af61c38.webp?v=1784013532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d353c5741d7f36c454f1325063aff55d1c08563_6235f054-103b-4c10-852a-c1077af61c38.webp?v=1784013532","width":2000},{"alt":null,"id":27761677008995,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c_38362fd2-6159-46c5-8667-35ee56f1ce68.webp?v=1784013535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13223b44c907614dd62e66188e028983557d824c_38362fd2-6159-46c5-8667-35ee56f1ce68.webp?v=1784013535","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43102103273571,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD06","requires_shipping":true,"taxable":true,"featured_image":{"id":30287525150819,"product_id":6987884986467,"position":1,"created_at":"2023-07-30T19:43:59+08:00","updated_at":"2023-07-30T19:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","variant_ids":[43102103273571,43102103470179,43102103601251]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 灰色大象 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-GD06","featured_media":{"alt":null,"id":22646234906723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102103470179,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD06","requires_shipping":true,"taxable":true,"featured_image":{"id":30287525150819,"product_id":6987884986467,"position":1,"created_at":"2023-07-30T19:43:59+08:00","updated_at":"2023-07-30T19:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","variant_ids":[43102103273571,43102103470179,43102103601251]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 灰色大象 - Shell Beige \/ Classic","public_title":"Shell Beige \/ Classic","options":["Shell Beige","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-GD06","featured_media":{"alt":null,"id":22646234906723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102103601251,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD06","requires_shipping":true,"taxable":true,"featured_image":{"id":30287525150819,"product_id":6987884986467,"position":1,"created_at":"2023-07-30T19:43:59+08:00","updated_at":"2023-07-30T19:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","variant_ids":[43102103273571,43102103470179,43102103601251]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 灰色大象 - Parakeet Green \/ Classic","public_title":"Parakeet Green \/ Classic","options":["Parakeet Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-GD06","featured_media":{"alt":null,"id":22646234906723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43102103273571,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD06","requires_shipping":true,"taxable":true,"featured_image":{"id":30287525150819,"product_id":6987884986467,"position":1,"created_at":"2023-07-30T19:43:59+08:00","updated_at":"2023-07-30T19:43:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439","variant_ids":[43102103273571,43102103470179,43102103601251]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 灰色大象 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-GD06","featured_media":{"alt":null,"id":22646234906723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD06.png?v=1690717439"}},"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: "停產" }