$product = {"id":6987979817059,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 驢子","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-gd34","description":null,"published_at":"2023-08-03T02:18:16+08:00","created_at":"2023-07-30T19:57:21+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區哈利波特 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":43103111479395,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD34","requires_shipping":true,"taxable":true,"featured_image":{"id":30287625093219,"product_id":6987979817059,"position":1,"created_at":"2023-07-30T19:57:24+08:00","updated_at":"2023-07-30T19:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","variant_ids":[43103111479395,43103111676003,43103111807075]},"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-GD34","featured_media":{"alt":null,"id":22646334849123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103111676003,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD34","requires_shipping":true,"taxable":true,"featured_image":{"id":30287625093219,"product_id":6987979817059,"position":1,"created_at":"2023-07-30T19:57:24+08:00","updated_at":"2023-07-30T19:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","variant_ids":[43103111479395,43103111676003,43103111807075]},"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-GD34","featured_media":{"alt":null,"id":22646334849123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103111807075,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD34","requires_shipping":true,"taxable":true,"featured_image":{"id":30287625093219,"product_id":6987979817059,"position":1,"created_at":"2023-07-30T19:57:24+08:00","updated_at":"2023-07-30T19:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","variant_ids":[43103111479395,43103111676003,43103111807075]},"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-GD34","featured_media":{"alt":null,"id":22646334849123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244"}},"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-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a14f217de0f9e05f3bfddc38befb1ceef6096fa8.webp?v=1784014494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f.webp?v=1784014496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8.webp?v=1784014498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53.webp?v=1784014500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f_746973b8-422b-4ea8-973f-e1a7a3e2b691.webp?v=1784018409","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8_c0a5f2b7-b9ca-4736-a291-04c07c9a7a6b.webp?v=1784018412","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53_2178b587-2df2-4902-9961-070e0849f773.webp?v=1784018415","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a14f217de0f9e05f3bfddc38befb1ceef6096fa8_a6bd696f-0278-4976-8b4d-1d888cf3662e.webp?v=1784018645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f_6703687d-5501-420c-bfa3-6877ead73555.webp?v=1784018646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8_8f22b45a-3100-489e-8cd7-af7424b90db0.webp?v=1784018647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53_63a50528-a8cd-4de6-b16a-b62c39d70cdb.webp?v=1784018648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a14f217de0f9e05f3bfddc38befb1ceef6096fa8_f578353b-78ea-4525-a509-ce82e10f9269.webp?v=1784018733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f_1cfc15d8-657b-4396-b2aa-c7ed25bbd587.webp?v=1784018735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8_36d9fced-db9f-4bf2-9c00-74fb63f11915.webp?v=1784018736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53_2682398b-f4ec-45a9-9476-33d834fccf88.webp?v=1784018737"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","options":["color","Types"],"media":[{"alt":null,"id":22646334849123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","width":2000},{"alt":null,"id":27761824694371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a14f217de0f9e05f3bfddc38befb1ceef6096fa8.webp?v=1784014494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a14f217de0f9e05f3bfddc38befb1ceef6096fa8.webp?v=1784014494","width":2000},{"alt":null,"id":27761825710179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f.webp?v=1784014496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f.webp?v=1784014496","width":2000},{"alt":null,"id":27761826725987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8.webp?v=1784014498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8.webp?v=1784014498","width":2000},{"alt":null,"id":27761827348579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53.webp?v=1784014500"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53.webp?v=1784014500","width":2000},{"alt":null,"id":27762610503779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f_746973b8-422b-4ea8-973f-e1a7a3e2b691.webp?v=1784018409"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f_746973b8-422b-4ea8-973f-e1a7a3e2b691.webp?v=1784018409","width":2000},{"alt":null,"id":27762611224675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8_c0a5f2b7-b9ca-4736-a291-04c07c9a7a6b.webp?v=1784018412"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8_c0a5f2b7-b9ca-4736-a291-04c07c9a7a6b.webp?v=1784018412","width":2000},{"alt":null,"id":27762612109411,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53_2178b587-2df2-4902-9961-070e0849f773.webp?v=1784018415"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53_2178b587-2df2-4902-9961-070e0849f773.webp?v=1784018415","width":2000},{"alt":null,"id":27762634850403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a14f217de0f9e05f3bfddc38befb1ceef6096fa8_a6bd696f-0278-4976-8b4d-1d888cf3662e.webp?v=1784018645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a14f217de0f9e05f3bfddc38befb1ceef6096fa8_a6bd696f-0278-4976-8b4d-1d888cf3662e.webp?v=1784018645","width":2000},{"alt":null,"id":27762635538531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f_6703687d-5501-420c-bfa3-6877ead73555.webp?v=1784018646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f_6703687d-5501-420c-bfa3-6877ead73555.webp?v=1784018646","width":2000},{"alt":null,"id":27762636324963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8_8f22b45a-3100-489e-8cd7-af7424b90db0.webp?v=1784018647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8_8f22b45a-3100-489e-8cd7-af7424b90db0.webp?v=1784018647","width":2000},{"alt":null,"id":27762637275235,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53_63a50528-a8cd-4de6-b16a-b62c39d70cdb.webp?v=1784018648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53_63a50528-a8cd-4de6-b16a-b62c39d70cdb.webp?v=1784018648","width":2000},{"alt":null,"id":27762655166563,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a14f217de0f9e05f3bfddc38befb1ceef6096fa8_f578353b-78ea-4525-a509-ce82e10f9269.webp?v=1784018733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a14f217de0f9e05f3bfddc38befb1ceef6096fa8_f578353b-78ea-4525-a509-ce82e10f9269.webp?v=1784018733","width":2000},{"alt":null,"id":27762655985763,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f_1cfc15d8-657b-4396-b2aa-c7ed25bbd587.webp?v=1784018735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9adcba0cf71ebd6808a99816d2f87b4d5d72ec5f_1cfc15d8-657b-4396-b2aa-c7ed25bbd587.webp?v=1784018735","width":2000},{"alt":null,"id":27762656608355,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8_36d9fced-db9f-4bf2-9c00-74fb63f11915.webp?v=1784018736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baf327a5be2229070fafbc961c6cfadcb5fd62f8_36d9fced-db9f-4bf2-9c00-74fb63f11915.webp?v=1784018736","width":2000},{"alt":null,"id":27762657230947,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53_2682398b-f4ec-45a9-9476-33d834fccf88.webp?v=1784018737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/960438453a44944f9ed34db97442889da4609b53_2682398b-f4ec-45a9-9476-33d834fccf88.webp?v=1784018737","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43103111479395,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD34","requires_shipping":true,"taxable":true,"featured_image":{"id":30287625093219,"product_id":6987979817059,"position":1,"created_at":"2023-07-30T19:57:24+08:00","updated_at":"2023-07-30T19:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","variant_ids":[43103111479395,43103111676003,43103111807075]},"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-GD34","featured_media":{"alt":null,"id":22646334849123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103111676003,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD34","requires_shipping":true,"taxable":true,"featured_image":{"id":30287625093219,"product_id":6987979817059,"position":1,"created_at":"2023-07-30T19:57:24+08:00","updated_at":"2023-07-30T19:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","variant_ids":[43103111479395,43103111676003,43103111807075]},"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-GD34","featured_media":{"alt":null,"id":22646334849123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103111807075,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD34","requires_shipping":true,"taxable":true,"featured_image":{"id":30287625093219,"product_id":6987979817059,"position":1,"created_at":"2023-07-30T19:57:24+08:00","updated_at":"2023-07-30T19:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","variant_ids":[43103111479395,43103111676003,43103111807075]},"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-GD34","featured_media":{"alt":null,"id":22646334849123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43103111479395,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD34","requires_shipping":true,"taxable":true,"featured_image":{"id":30287625093219,"product_id":6987979817059,"position":1,"created_at":"2023-07-30T19:57:24+08:00","updated_at":"2023-07-30T19:57:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244","variant_ids":[43103111479395,43103111676003,43103111807075]},"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-GD34","featured_media":{"alt":null,"id":22646334849123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD34_846b3868-5f5e-41b8-a536-9138e7bdb4fe.png?v=1690718244"}},"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: "停產" }