$product = {"id":6987941675107,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 甜點 開動了!","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-gd29","description":null,"published_at":"2023-08-03T02:15:33+08:00","created_at":"2023-07-30T19:51:58+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":43103075991651,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD29","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584985187,"product_id":6987941675107,"position":1,"created_at":"2023-07-30T19:52:01+08:00","updated_at":"2023-07-30T19:52:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921","variant_ids":[43103075991651,43103076188259,43103076319331]},"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-GD29","featured_media":{"alt":null,"id":22646294741091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103076188259,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD29","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584985187,"product_id":6987941675107,"position":1,"created_at":"2023-07-30T19:52:01+08:00","updated_at":"2023-07-30T19:52:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921","variant_ids":[43103075991651,43103076188259,43103076319331]},"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-GD29","featured_media":{"alt":null,"id":22646294741091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103076319331,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD29","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584985187,"product_id":6987941675107,"position":1,"created_at":"2023-07-30T19:52:01+08:00","updated_at":"2023-07-30T19:52:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921","variant_ids":[43103075991651,43103076188259,43103076319331]},"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-GD29","featured_media":{"alt":null,"id":22646294741091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921"}},"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-GD29.png?v=1690717921","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e.webp?v=1784014492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4.webp?v=1784014494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04.webp?v=1784014495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af.webp?v=1784014497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e_193edec3-e832-4e17-a43b-a4207514473d.webp?v=1784018407","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4_d61aaea1-751d-4468-9f11-d35fcfad1c27.webp?v=1784018409","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04_8bad3ca1-bb56-4320-b9bc-172ba5aaee93.webp?v=1784018413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af_5529c9d8-02bd-4bd3-ae6d-71e350c07e0b.webp?v=1784018416","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e_26f96fa0-5369-425c-87f6-9d9bc379e7be.webp?v=1784018646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4_d4f71656-68da-4b51-b32b-891ef869a353.webp?v=1784018647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04_3e3431ad-75e8-4bab-a099-ca63f19acb95.webp?v=1784018647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af_6914300f-3257-40e0-a462-d04bb4cc78a7.webp?v=1784018648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e_bad8545d-e20c-49aa-a6cb-d03438338317.webp?v=1784018731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4_0f40833c-ca61-44fa-95b5-35fc540b42d5.webp?v=1784018733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04_6c95d767-32ca-4f06-b5f6-cf7c92666ebb.webp?v=1784018736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af_aad64bfb-1786-431f-bfe0-0f4b8ae2a85d.webp?v=1784018737"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921","options":["color","Types"],"media":[{"alt":null,"id":22646294741091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921","width":2000},{"alt":null,"id":27761822957667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e.webp?v=1784014492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e.webp?v=1784014492","width":2000},{"alt":null,"id":27761823907939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4.webp?v=1784014494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4.webp?v=1784014494","width":2000},{"alt":null,"id":27761824989283,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04.webp?v=1784014495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04.webp?v=1784014495","width":2000},{"alt":null,"id":27761826005091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af.webp?v=1784014497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af.webp?v=1784014497","width":2000},{"alt":null,"id":27762609586275,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e_193edec3-e832-4e17-a43b-a4207514473d.webp?v=1784018407"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e_193edec3-e832-4e17-a43b-a4207514473d.webp?v=1784018407","width":2000},{"alt":null,"id":27762610765923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4_d61aaea1-751d-4468-9f11-d35fcfad1c27.webp?v=1784018409"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4_d61aaea1-751d-4468-9f11-d35fcfad1c27.webp?v=1784018409","width":2000},{"alt":null,"id":27762611191907,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04_8bad3ca1-bb56-4320-b9bc-172ba5aaee93.webp?v=1784018413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04_8bad3ca1-bb56-4320-b9bc-172ba5aaee93.webp?v=1784018413","width":2000},{"alt":null,"id":27762612043875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af_5529c9d8-02bd-4bd3-ae6d-71e350c07e0b.webp?v=1784018416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af_5529c9d8-02bd-4bd3-ae6d-71e350c07e0b.webp?v=1784018416","width":2000},{"alt":null,"id":27762634653795,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e_26f96fa0-5369-425c-87f6-9d9bc379e7be.webp?v=1784018646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e_26f96fa0-5369-425c-87f6-9d9bc379e7be.webp?v=1784018646","width":2000},{"alt":null,"id":27762635341923,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4_d4f71656-68da-4b51-b32b-891ef869a353.webp?v=1784018647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4_d4f71656-68da-4b51-b32b-891ef869a353.webp?v=1784018647","width":2000},{"alt":null,"id":27762636161123,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04_3e3431ad-75e8-4bab-a099-ca63f19acb95.webp?v=1784018647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04_3e3431ad-75e8-4bab-a099-ca63f19acb95.webp?v=1784018647","width":2000},{"alt":null,"id":27762637045859,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af_6914300f-3257-40e0-a462-d04bb4cc78a7.webp?v=1784018648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af_6914300f-3257-40e0-a462-d04bb4cc78a7.webp?v=1784018648","width":2000},{"alt":null,"id":27762654609507,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e_bad8545d-e20c-49aa-a6cb-d03438338317.webp?v=1784018731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b151995a43c69c09011ab1b14a942c0c1ce89e_bad8545d-e20c-49aa-a6cb-d03438338317.webp?v=1784018731","width":2000},{"alt":null,"id":27762655068259,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4_0f40833c-ca61-44fa-95b5-35fc540b42d5.webp?v=1784018733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9dc7714ec60154706bdc9f5c6d6f51d4d2ee2b4_0f40833c-ca61-44fa-95b5-35fc540b42d5.webp?v=1784018733","width":2000},{"alt":null,"id":27762656247907,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04_6c95d767-32ca-4f06-b5f6-cf7c92666ebb.webp?v=1784018736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aecf52d1f0a7694c914bf2275c317e4e57329e04_6c95d767-32ca-4f06-b5f6-cf7c92666ebb.webp?v=1784018736","width":2000},{"alt":null,"id":27762656739427,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af_aad64bfb-1786-431f-bfe0-0f4b8ae2a85d.webp?v=1784018737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/055272c20e28deb5d4d0ab6de1f18338388242af_aad64bfb-1786-431f-bfe0-0f4b8ae2a85d.webp?v=1784018737","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43103075991651,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD29","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584985187,"product_id":6987941675107,"position":1,"created_at":"2023-07-30T19:52:01+08:00","updated_at":"2023-07-30T19:52:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921","variant_ids":[43103075991651,43103076188259,43103076319331]},"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-GD29","featured_media":{"alt":null,"id":22646294741091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103076188259,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD29","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584985187,"product_id":6987941675107,"position":1,"created_at":"2023-07-30T19:52:01+08:00","updated_at":"2023-07-30T19:52:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921","variant_ids":[43103075991651,43103076188259,43103076319331]},"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-GD29","featured_media":{"alt":null,"id":22646294741091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103076319331,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD29","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584985187,"product_id":6987941675107,"position":1,"created_at":"2023-07-30T19:52:01+08:00","updated_at":"2023-07-30T19:52:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921","variant_ids":[43103075991651,43103076188259,43103076319331]},"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-GD29","featured_media":{"alt":null,"id":22646294741091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43103075991651,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD29","requires_shipping":true,"taxable":true,"featured_image":{"id":30287584985187,"product_id":6987941675107,"position":1,"created_at":"2023-07-30T19:52:01+08:00","updated_at":"2023-07-30T19:52:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921","variant_ids":[43103075991651,43103076188259,43103076319331]},"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-GD29","featured_media":{"alt":null,"id":22646294741091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD29.png?v=1690717921"}},"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: "停產" }