$product = {"id":6987945312355,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 涼丰 京野菜","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-gd15","description":null,"published_at":"2023-08-03T02:15:49+08:00","created_at":"2023-07-30T19:52:30+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":43103891619939,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD15","requires_shipping":true,"taxable":true,"featured_image":{"id":30287588786275,"product_id":6987945312355,"position":1,"created_at":"2023-07-30T19:52:32+08:00","updated_at":"2023-07-30T19:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952","variant_ids":[43103891619939,43103891816547,43103891947619]},"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-GD15","featured_media":{"alt":null,"id":22646298542179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103891816547,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD15","requires_shipping":true,"taxable":true,"featured_image":{"id":30287588786275,"product_id":6987945312355,"position":1,"created_at":"2023-07-30T19:52:32+08:00","updated_at":"2023-07-30T19:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952","variant_ids":[43103891619939,43103891816547,43103891947619]},"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-GD15","featured_media":{"alt":null,"id":22646298542179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103891947619,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD15","requires_shipping":true,"taxable":true,"featured_image":{"id":30287588786275,"product_id":6987945312355,"position":1,"created_at":"2023-07-30T19:52:32+08:00","updated_at":"2023-07-30T19:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952","variant_ids":[43103891619939,43103891816547,43103891947619]},"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-GD15","featured_media":{"alt":null,"id":22646298542179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952"}},"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-GD15.png?v=1690717952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf.webp?v=1784014483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6.webp?v=1784014489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6.webp?v=1784014492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414.webp?v=1784014494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf_f824370d-77ef-4d6d-be8c-2d57b8b326a7.webp?v=1784018408","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6_e461a8f3-af37-415c-aa55-1e2ed88f64f6.webp?v=1784018412","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6_0c352d1b-8a33-45ee-ae39-b807b83f4981.webp?v=1784018416","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414_4b595b72-b000-44ca-a12e-bacd3b7e81a2.webp?v=1784018422","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf_3912caa7-3fec-4313-8cf3-59eafe5c585b.webp?v=1784018643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6_34dcec06-9ec0-4f2c-a3c4-845e9eb75538.webp?v=1784018644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6_16bee73f-d897-41f3-a986-92152209dea2.webp?v=1784018644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414_c414b663-5717-4d63-a09d-958eb361d89c.webp?v=1784018645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf_8ba4de2b-5154-4a57-8077-103dea175f15.webp?v=1784018731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6_5c025196-f6dd-4ee4-a948-6252914661dd.webp?v=1784018731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6_5f650a6e-94f6-4fd3-a3f7-33a0a0fe5cd2.webp?v=1784018734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414_9b16c474-3d02-4caf-9b6a-a5874db32f98.webp?v=1784018736"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952","options":["color","Types"],"media":[{"alt":null,"id":22646298542179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952","width":2000},{"alt":null,"id":27761820467299,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf.webp?v=1784014483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf.webp?v=1784014483","width":2000},{"alt":null,"id":27761821876323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6.webp?v=1784014489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6.webp?v=1784014489","width":2000},{"alt":null,"id":27761822629987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6.webp?v=1784014492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6.webp?v=1784014492","width":2000},{"alt":null,"id":27761823809635,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414.webp?v=1784014494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414.webp?v=1784014494","width":2000},{"alt":null,"id":27762610208867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf_f824370d-77ef-4d6d-be8c-2d57b8b326a7.webp?v=1784018408"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf_f824370d-77ef-4d6d-be8c-2d57b8b326a7.webp?v=1784018408","width":2000},{"alt":null,"id":27762611093603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6_e461a8f3-af37-415c-aa55-1e2ed88f64f6.webp?v=1784018412"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6_e461a8f3-af37-415c-aa55-1e2ed88f64f6.webp?v=1784018412","width":2000},{"alt":null,"id":27762611880035,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6_0c352d1b-8a33-45ee-ae39-b807b83f4981.webp?v=1784018416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6_0c352d1b-8a33-45ee-ae39-b807b83f4981.webp?v=1784018416","width":2000},{"alt":null,"id":27762612994147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414_4b595b72-b000-44ca-a12e-bacd3b7e81a2.webp?v=1784018422"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414_4b595b72-b000-44ca-a12e-bacd3b7e81a2.webp?v=1784018422","width":2000},{"alt":null,"id":27762633605219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf_3912caa7-3fec-4313-8cf3-59eafe5c585b.webp?v=1784018643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf_3912caa7-3fec-4313-8cf3-59eafe5c585b.webp?v=1784018643","width":2000},{"alt":null,"id":27762633834595,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6_34dcec06-9ec0-4f2c-a3c4-845e9eb75538.webp?v=1784018644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6_34dcec06-9ec0-4f2c-a3c4-845e9eb75538.webp?v=1784018644","width":2000},{"alt":null,"id":27762634129507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6_16bee73f-d897-41f3-a986-92152209dea2.webp?v=1784018644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6_16bee73f-d897-41f3-a986-92152209dea2.webp?v=1784018644","width":2000},{"alt":null,"id":27762634621027,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414_c414b663-5717-4d63-a09d-958eb361d89c.webp?v=1784018645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414_c414b663-5717-4d63-a09d-958eb361d89c.webp?v=1784018645","width":2000},{"alt":null,"id":27762654150755,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf_8ba4de2b-5154-4a57-8077-103dea175f15.webp?v=1784018731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499e88d9a1d64edce1f1311f777054a2b41d32cf_8ba4de2b-5154-4a57-8077-103dea175f15.webp?v=1784018731","width":2000},{"alt":null,"id":27762654642275,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6_5c025196-f6dd-4ee4-a948-6252914661dd.webp?v=1784018731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/983a8695cee3973f95ff27891b56bfff4523d9d6_5c025196-f6dd-4ee4-a948-6252914661dd.webp?v=1784018731","width":2000},{"alt":null,"id":27762655527011,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6_5f650a6e-94f6-4fd3-a3f7-33a0a0fe5cd2.webp?v=1784018734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/600910cf9dca15ef73c25a030ee172dcc3cf5de6_5f650a6e-94f6-4fd3-a3f7-33a0a0fe5cd2.webp?v=1784018734","width":2000},{"alt":null,"id":27762656575587,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414_9b16c474-3d02-4caf-9b6a-a5874db32f98.webp?v=1784018736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a555e3f3da1982c40603929de1e8433ac6bf414_9b16c474-3d02-4caf-9b6a-a5874db32f98.webp?v=1784018736","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43103891619939,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD15","requires_shipping":true,"taxable":true,"featured_image":{"id":30287588786275,"product_id":6987945312355,"position":1,"created_at":"2023-07-30T19:52:32+08:00","updated_at":"2023-07-30T19:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952","variant_ids":[43103891619939,43103891816547,43103891947619]},"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-GD15","featured_media":{"alt":null,"id":22646298542179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103891816547,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-GD15","requires_shipping":true,"taxable":true,"featured_image":{"id":30287588786275,"product_id":6987945312355,"position":1,"created_at":"2023-07-30T19:52:32+08:00","updated_at":"2023-07-30T19:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952","variant_ids":[43103891619939,43103891816547,43103891947619]},"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-GD15","featured_media":{"alt":null,"id":22646298542179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103891947619,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-GD15","requires_shipping":true,"taxable":true,"featured_image":{"id":30287588786275,"product_id":6987945312355,"position":1,"created_at":"2023-07-30T19:52:32+08:00","updated_at":"2023-07-30T19:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952","variant_ids":[43103891619939,43103891816547,43103891947619]},"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-GD15","featured_media":{"alt":null,"id":22646298542179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43103891619939,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-GD15","requires_shipping":true,"taxable":true,"featured_image":{"id":30287588786275,"product_id":6987945312355,"position":1,"created_at":"2023-07-30T19:52:32+08:00","updated_at":"2023-07-30T19:52:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952","variant_ids":[43103891619939,43103891816547,43103891947619]},"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-GD15","featured_media":{"alt":null,"id":22646298542179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-GD15.png?v=1690717952"}},"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: "停產" }