$product = {"id":6987979096163,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 西西里","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-gd04","description":null,"published_at":"2023-08-03T02:18:13+08:00","created_at":"2023-07-30T19:57:15+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":43103265652835,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD04","requires_shipping":true,"taxable":true,"featured_image":{"id":30287624372323,"product_id":6987979096163,"position":1,"created_at":"2023-07-30T19:57:17+08:00","updated_at":"2023-07-30T19:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238","variant_ids":[43103265652835,43103265849443,43103265980515]},"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-GD04","featured_media":{"alt":null,"id":22646334128227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103265849443,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD04","requires_shipping":true,"taxable":true,"featured_image":{"id":30287624372323,"product_id":6987979096163,"position":1,"created_at":"2023-07-30T19:57:17+08:00","updated_at":"2023-07-30T19:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238","variant_ids":[43103265652835,43103265849443,43103265980515]},"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-GD04","featured_media":{"alt":null,"id":22646334128227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103265980515,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD04","requires_shipping":true,"taxable":true,"featured_image":{"id":30287624372323,"product_id":6987979096163,"position":1,"created_at":"2023-07-30T19:57:17+08:00","updated_at":"2023-07-30T19:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238","variant_ids":[43103265652835,43103265849443,43103265980515]},"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-GD04","featured_media":{"alt":null,"id":22646334128227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238"}},"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-GD04.png?v=1690718238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b.webp?v=1784011621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85.webp?v=1784011621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100.webp?v=1784011622","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8.webp?v=1784011622","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b_7589ebbe-3932-4547-ab7f-453aca64288b.webp?v=1784013354","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85_7e296651-81e9-4185-89da-f9db9748ecdb.webp?v=1784013355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100_b1281b8f-ec5a-4588-a0cb-d80561c18b93.webp?v=1784013356","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8_23442802-4431-4260-be06-e8154652116a.webp?v=1784013358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b_a5470bdb-a628-4e9b-b246-7021cc33b839.webp?v=1784013464","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85_6038775c-3092-4493-a822-ba1a927869d4.webp?v=1784013465","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100_bf008407-934e-4a97-b92f-c0950f72c901.webp?v=1784013466","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8_b73baa8b-aa87-4b9b-a7ec-6f22cff61aa1.webp?v=1784013466","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b_16fb32a9-b69d-4e7e-b7f9-03690670ca96.webp?v=1784013530","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85_0b6cdb11-08e6-4987-89ee-c45eabcca69a.webp?v=1784013531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100_b640375a-fe73-4f6e-8052-28971cd8800d.webp?v=1784013531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8_7138701b-4810-40dd-8438-98a32e19c8a2.webp?v=1784013532"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238","options":["color","Types"],"media":[{"alt":null,"id":22646334128227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238","width":2000},{"alt":null,"id":27761316167779,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b.webp?v=1784011621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b.webp?v=1784011621","width":2000},{"alt":null,"id":27761316233315,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85.webp?v=1784011621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85.webp?v=1784011621","width":2000},{"alt":null,"id":27761316298851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100.webp?v=1784011622"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100.webp?v=1784011622","width":2000},{"alt":null,"id":27761316364387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8.webp?v=1784011622"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8.webp?v=1784011622","width":2000},{"alt":null,"id":27761655087203,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b_7589ebbe-3932-4547-ab7f-453aca64288b.webp?v=1784013354"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b_7589ebbe-3932-4547-ab7f-453aca64288b.webp?v=1784013354","width":2000},{"alt":null,"id":27761655414883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85_7e296651-81e9-4185-89da-f9db9748ecdb.webp?v=1784013355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85_7e296651-81e9-4185-89da-f9db9748ecdb.webp?v=1784013355","width":2000},{"alt":null,"id":27761655545955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100_b1281b8f-ec5a-4588-a0cb-d80561c18b93.webp?v=1784013356"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100_b1281b8f-ec5a-4588-a0cb-d80561c18b93.webp?v=1784013356","width":2000},{"alt":null,"id":27761655742563,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8_23442802-4431-4260-be06-e8154652116a.webp?v=1784013358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8_23442802-4431-4260-be06-e8154652116a.webp?v=1784013358","width":2000},{"alt":null,"id":27761664458851,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b_a5470bdb-a628-4e9b-b246-7021cc33b839.webp?v=1784013464"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b_a5470bdb-a628-4e9b-b246-7021cc33b839.webp?v=1784013464","width":2000},{"alt":null,"id":27761664655459,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85_6038775c-3092-4493-a822-ba1a927869d4.webp?v=1784013465"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85_6038775c-3092-4493-a822-ba1a927869d4.webp?v=1784013465","width":2000},{"alt":null,"id":27761664819299,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100_bf008407-934e-4a97-b92f-c0950f72c901.webp?v=1784013466"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100_bf008407-934e-4a97-b92f-c0950f72c901.webp?v=1784013466","width":2000},{"alt":null,"id":27761664983139,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8_b73baa8b-aa87-4b9b-a7ec-6f22cff61aa1.webp?v=1784013466"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8_b73baa8b-aa87-4b9b-a7ec-6f22cff61aa1.webp?v=1784013466","width":2000},{"alt":null,"id":27761674649699,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b_16fb32a9-b69d-4e7e-b7f9-03690670ca96.webp?v=1784013530"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfb16f5519f7e55309542f73ab48a703da54911b_16fb32a9-b69d-4e7e-b7f9-03690670ca96.webp?v=1784013530","width":2000},{"alt":null,"id":27761675173987,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85_0b6cdb11-08e6-4987-89ee-c45eabcca69a.webp?v=1784013531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/022ab876308d1c6519bcef64698224ccb312dc85_0b6cdb11-08e6-4987-89ee-c45eabcca69a.webp?v=1784013531","width":2000},{"alt":null,"id":27761675993187,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100_b640375a-fe73-4f6e-8052-28971cd8800d.webp?v=1784013531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/277932860fbd6262ddd54bb8c85fd21bdc894100_b640375a-fe73-4f6e-8052-28971cd8800d.webp?v=1784013531","width":2000},{"alt":null,"id":27761676583011,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8_7138701b-4810-40dd-8438-98a32e19c8a2.webp?v=1784013532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde19efcae4555ef4ea47466c4c0604f0d8a9f8_7138701b-4810-40dd-8438-98a32e19c8a2.webp?v=1784013532","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43103265652835,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD04","requires_shipping":true,"taxable":true,"featured_image":{"id":30287624372323,"product_id":6987979096163,"position":1,"created_at":"2023-07-30T19:57:17+08:00","updated_at":"2023-07-30T19:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238","variant_ids":[43103265652835,43103265849443,43103265980515]},"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-GD04","featured_media":{"alt":null,"id":22646334128227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103265849443,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD04","requires_shipping":true,"taxable":true,"featured_image":{"id":30287624372323,"product_id":6987979096163,"position":1,"created_at":"2023-07-30T19:57:17+08:00","updated_at":"2023-07-30T19:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238","variant_ids":[43103265652835,43103265849443,43103265980515]},"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-GD04","featured_media":{"alt":null,"id":22646334128227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103265980515,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD04","requires_shipping":true,"taxable":true,"featured_image":{"id":30287624372323,"product_id":6987979096163,"position":1,"created_at":"2023-07-30T19:57:17+08:00","updated_at":"2023-07-30T19:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238","variant_ids":[43103265652835,43103265849443,43103265980515]},"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-GD04","featured_media":{"alt":null,"id":22646334128227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43103265652835,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD04","requires_shipping":true,"taxable":true,"featured_image":{"id":30287624372323,"product_id":6987979096163,"position":1,"created_at":"2023-07-30T19:57:17+08:00","updated_at":"2023-07-30T19:57:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238","variant_ids":[43103265652835,43103265849443,43103265980515]},"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-GD04","featured_media":{"alt":null,"id":22646334128227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD04.png?v=1690718238"}},"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: "停產" }