$product = {"id":6987941380195,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 芙蘿拉","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-gd03","description":null,"published_at":"2023-08-03T02:15:32+08:00","created_at":"2023-07-30T19:51:55+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":43102597546083,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD03","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584624739,"product_id":6987941380195,"position":1,"created_at":"2023-07-30T19:51:58+08:00","updated_at":"2023-07-30T19:51:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918","variant_ids":[43102597546083,43102597742691,43102597873763]},"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-GD03","featured_media":{"alt":null,"id":22646294380643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102597742691,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD03","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584624739,"product_id":6987941380195,"position":1,"created_at":"2023-07-30T19:51:58+08:00","updated_at":"2023-07-30T19:51:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918","variant_ids":[43102597546083,43102597742691,43102597873763]},"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-GD03","featured_media":{"alt":null,"id":22646294380643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102597873763,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD03","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584624739,"product_id":6987941380195,"position":1,"created_at":"2023-07-30T19:51:58+08:00","updated_at":"2023-07-30T19:51:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918","variant_ids":[43102597546083,43102597742691,43102597873763]},"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-GD03","featured_media":{"alt":null,"id":22646294380643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918"}},"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-GD03.png?v=1690717918","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776.webp?v=1784011599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710.webp?v=1784011599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf.webp?v=1784011600","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511.webp?v=1784011601","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776_49246c15-49eb-42b0-a56b-88c957b89c53.webp?v=1784013353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710_8c15011a-cda8-449d-84a8-693ecfe4cf3b.webp?v=1784013353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf_d16e39d7-7bca-4272-8d5a-b1d020f20fca.webp?v=1784013354","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511_906cd813-9247-4c0b-8e6b-7272ab68088c.webp?v=1784013355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776_43ef7a19-2406-4411-b559-d44ede44e5b1.webp?v=1784013471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710_f7a51425-1ce2-4c0e-9590-608bacc1c11d.webp?v=1784013473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf_3fd9008a-fcda-451a-9491-af210280f9ae.webp?v=1784013475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511_33ea8fb7-e067-4de0-83e1-2bb2eb2adcb5.webp?v=1784013483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776_e4c55b76-2eda-4a2b-8038-e278098095ec.webp?v=1784013531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710_cea2dfb9-3f38-4bd1-8321-b4d8bf6fec0d.webp?v=1784013531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf_9908a783-3f6d-4119-b62b-18e3a46503b3.webp?v=1784013531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511_e1248369-ccbe-42db-80ce-c831b555d063.webp?v=1784013535"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918","options":["color","Types"],"media":[{"alt":null,"id":22646294380643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918","width":2000},{"alt":null,"id":27761313349731,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776.webp?v=1784011599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776.webp?v=1784011599","width":2000},{"alt":null,"id":27761313448035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710.webp?v=1784011599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710.webp?v=1784011599","width":2000},{"alt":null,"id":27761313677411,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf.webp?v=1784011600"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf.webp?v=1784011600","width":2000},{"alt":null,"id":27761313841251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511.webp?v=1784011601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511.webp?v=1784011601","width":2000},{"alt":null,"id":27761654890595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776_49246c15-49eb-42b0-a56b-88c957b89c53.webp?v=1784013353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776_49246c15-49eb-42b0-a56b-88c957b89c53.webp?v=1784013353","width":2000},{"alt":null,"id":27761654988899,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710_8c15011a-cda8-449d-84a8-693ecfe4cf3b.webp?v=1784013353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710_8c15011a-cda8-449d-84a8-693ecfe4cf3b.webp?v=1784013353","width":2000},{"alt":null,"id":27761655152739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf_d16e39d7-7bca-4272-8d5a-b1d020f20fca.webp?v=1784013354"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf_d16e39d7-7bca-4272-8d5a-b1d020f20fca.webp?v=1784013354","width":2000},{"alt":null,"id":27761655251043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511_906cd813-9247-4c0b-8e6b-7272ab68088c.webp?v=1784013355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511_906cd813-9247-4c0b-8e6b-7272ab68088c.webp?v=1784013355","width":2000},{"alt":null,"id":27761665605731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776_43ef7a19-2406-4411-b559-d44ede44e5b1.webp?v=1784013471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776_43ef7a19-2406-4411-b559-d44ede44e5b1.webp?v=1784013471","width":2000},{"alt":null,"id":27761666195555,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710_f7a51425-1ce2-4c0e-9590-608bacc1c11d.webp?v=1784013473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710_f7a51425-1ce2-4c0e-9590-608bacc1c11d.webp?v=1784013473","width":2000},{"alt":null,"id":27761666687075,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf_3fd9008a-fcda-451a-9491-af210280f9ae.webp?v=1784013475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf_3fd9008a-fcda-451a-9491-af210280f9ae.webp?v=1784013475","width":2000},{"alt":null,"id":27761667309667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511_33ea8fb7-e067-4de0-83e1-2bb2eb2adcb5.webp?v=1784013483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511_33ea8fb7-e067-4de0-83e1-2bb2eb2adcb5.webp?v=1784013483","width":2000},{"alt":null,"id":27761674813539,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776_e4c55b76-2eda-4a2b-8038-e278098095ec.webp?v=1784013531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2481c9b8bb20923c59d29805fc20c887fc70776_e4c55b76-2eda-4a2b-8038-e278098095ec.webp?v=1784013531","width":2000},{"alt":null,"id":27761675403363,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710_cea2dfb9-3f38-4bd1-8321-b4d8bf6fec0d.webp?v=1784013531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57bcd19fffa00e15bdaa99aaae1bd1417e730710_cea2dfb9-3f38-4bd1-8321-b4d8bf6fec0d.webp?v=1784013531","width":2000},{"alt":null,"id":27761676124259,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf_9908a783-3f6d-4119-b62b-18e3a46503b3.webp?v=1784013531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2efdd9e88cc1c142ba10e520a932aadf38b7daf_9908a783-3f6d-4119-b62b-18e3a46503b3.webp?v=1784013531","width":2000},{"alt":null,"id":27761676746851,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511_e1248369-ccbe-42db-80ce-c831b555d063.webp?v=1784013535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce22cda29465f9cd40c3aa898212fceb9453511_e1248369-ccbe-42db-80ce-c831b555d063.webp?v=1784013535","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43102597546083,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD03","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584624739,"product_id":6987941380195,"position":1,"created_at":"2023-07-30T19:51:58+08:00","updated_at":"2023-07-30T19:51:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918","variant_ids":[43102597546083,43102597742691,43102597873763]},"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-GD03","featured_media":{"alt":null,"id":22646294380643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102597742691,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD03","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584624739,"product_id":6987941380195,"position":1,"created_at":"2023-07-30T19:51:58+08:00","updated_at":"2023-07-30T19:51:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918","variant_ids":[43102597546083,43102597742691,43102597873763]},"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-GD03","featured_media":{"alt":null,"id":22646294380643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102597873763,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD03","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584624739,"product_id":6987941380195,"position":1,"created_at":"2023-07-30T19:51:58+08:00","updated_at":"2023-07-30T19:51:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918","variant_ids":[43102597546083,43102597742691,43102597873763]},"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-GD03","featured_media":{"alt":null,"id":22646294380643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43102597546083,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD03","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584624739,"product_id":6987941380195,"position":1,"created_at":"2023-07-30T19:51:58+08:00","updated_at":"2023-07-30T19:51:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918","variant_ids":[43102597546083,43102597742691,43102597873763]},"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-GD03","featured_media":{"alt":null,"id":22646294380643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD03.png?v=1690717918"}},"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: "停產" }