$product = {"id":6982646890595,"title":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你","handle":"iphone-12-pro-solidsuit-classic-magsafe-fa23","description":null,"published_at":"2023-08-01T21:26:25+08:00","created_at":"2023-07-27T19:10:32+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-爽爽貓 Song Song Meow By SECOND","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bugcat-capoo","device-iPhone 12 Pro","merge","reseller-bugcat-capoo"],"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":43102057627747,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0118552-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582027595875,"product_id":6982646890595,"position":2,"created_at":"2026-04-02T16:01:41+08:00","updated_at":"2026-04-02T16:01:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14d0f9e64bc741289c2deb8d7c1b2be913d9817.webp?v=1775116903","variant_ids":[43102057627747]},"available":true,"name":"iPhone 12 \/ 12 Pro 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":"MST0118552-FA23","featured_media":{"alt":null,"id":27114647421027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14d0f9e64bc741289c2deb8d7c1b2be913d9817.webp?v=1775116903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057660515,"title":"White \/ Classic","option1":"White","option2":"Classic","option3":null,"sku":"MST0118553-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029529187,"product_id":6982646890595,"position":11,"created_at":"2026-04-02T16:01:46+08:00","updated_at":"2026-04-02T16:01:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5c0639bb229a7362acb5cb335637c1e6e619e8.webp?v=1775116908","variant_ids":[43102057660515]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - White \/ Classic","public_title":"White \/ Classic","options":["White","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118553-FA23","featured_media":{"alt":null,"id":27114648993891,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5c0639bb229a7362acb5cb335637c1e6e619e8.webp?v=1775116908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057693283,"title":"Blush Pink \/ Classic","option1":"Blush Pink","option2":"Classic","option3":null,"sku":"MST0118557-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029037667,"product_id":6982646890595,"position":8,"created_at":"2026-04-02T16:01:45+08:00","updated_at":"2026-04-02T16:01:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eda2d9854f8a67ce55688d89a10687bcbeb4924d.webp?v=1775116906","variant_ids":[43102057693283]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Blush Pink \/ Classic","public_title":"Blush Pink \/ Classic","options":["Blush Pink","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118557-FA23","featured_media":{"alt":null,"id":27114648502371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eda2d9854f8a67ce55688d89a10687bcbeb4924d.webp?v=1775116906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057726051,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"MST01185O8-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582027759715,"product_id":6982646890595,"position":3,"created_at":"2026-04-02T16:01:42+08:00","updated_at":"2026-04-02T16:01:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f5fbb42a656a421c8fd8cc537fd1d24bf8705d.webp?v=1775116904","variant_ids":[43102057726051]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Ash Grey \/ Classic","public_title":"Ash Grey \/ Classic","options":["Ash Grey","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185O8-FA23","featured_media":{"alt":null,"id":27114647617635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f5fbb42a656a421c8fd8cc537fd1d24bf8705d.webp?v=1775116904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057758819,"title":"Sage Green \/ Classic","option1":"Sage Green","option2":"Classic","option3":null,"sku":"MST01185P2-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582027858019,"product_id":6982646890595,"position":4,"created_at":"2026-04-02T16:01:42+08:00","updated_at":"2026-04-02T16:01:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09666b6bf372353b3734dd6ecf4ccaccce42dc76.webp?v=1775116904","variant_ids":[43102057758819]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Sage Green \/ Classic","public_title":"Sage Green \/ Classic","options":["Sage Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185P2-FA23","featured_media":{"alt":null,"id":27114647715939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09666b6bf372353b3734dd6ecf4ccaccce42dc76.webp?v=1775116904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057791587,"title":"Glacier Blue \/ Classic","option1":"Glacier Blue","option2":"Classic","option3":null,"sku":"MST01185Z7-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029824099,"product_id":6982646890595,"position":13,"created_at":"2026-04-02T16:01:48+08:00","updated_at":"2026-04-02T16:01:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcee48bfa234c70f72d2b3ba8bf6ef711b8ba334.webp?v=1775116909","variant_ids":[43102057791587]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Glacier Blue \/ Classic","public_title":"Glacier Blue \/ Classic","options":["Glacier Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z7-FA23","featured_media":{"alt":null,"id":27114649288803,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcee48bfa234c70f72d2b3ba8bf6ef711b8ba334.webp?v=1775116909"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057824355,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"MST01185Z8-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029234275,"product_id":6982646890595,"position":9,"created_at":"2026-04-02T16:01:45+08:00","updated_at":"2026-04-02T16:01:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a07d33da52a9e8f58be90a4ad6a1119c63d012.webp?v=1775116907","variant_ids":[43102057824355]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z8-FA23","featured_media":{"alt":null,"id":27114648666211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a07d33da52a9e8f58be90a4ad6a1119c63d012.webp?v=1775116907"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057857123,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"MST01185Z9-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029660259,"product_id":6982646890595,"position":12,"created_at":"2026-04-02T16:01:47+08:00","updated_at":"2026-04-02T16:01:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3829c50c1e38aafc3b5030b9fe175331ed74098.webp?v=1775116909","variant_ids":[43102057857123]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Tide Blue \/ Classic","public_title":"Tide Blue \/ Classic","options":["Tide Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z9-FA23","featured_media":{"alt":null,"id":27114649124963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3829c50c1e38aafc3b5030b9fe175331ed74098.webp?v=1775116909"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057889891,"title":"Ocean Blue \/ Classic","option1":"Ocean Blue","option2":"Classic","option3":null,"sku":"MST011850A-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029398115,"product_id":6982646890595,"position":10,"created_at":"2026-04-02T16:01:46+08:00","updated_at":"2026-04-02T16:01:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ff9f9385a4433905f38b8eb4bbc8325004728bd.webp?v=1775116908","variant_ids":[43102057889891]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Ocean Blue \/ Classic","public_title":"Ocean Blue \/ Classic","options":["Ocean Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850A-FA23","featured_media":{"alt":null,"id":27114648862819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ff9f9385a4433905f38b8eb4bbc8325004728bd.webp?v=1775116908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057955427,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST011850B-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582028939363,"product_id":6982646890595,"position":7,"created_at":"2026-04-02T16:01:44+08:00","updated_at":"2026-04-02T16:01:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70875d5d411475cc4d384946654fbc3f54899f02.webp?v=1775116906","variant_ids":[43102057955427]},"available":true,"name":"iPhone 12 \/ 12 Pro 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":"MST011850B-FA23","featured_media":{"alt":null,"id":27114648404067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70875d5d411475cc4d384946654fbc3f54899f02.webp?v=1775116906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057988195,"title":"Bordeaux Red \/ Classic","option1":"Bordeaux Red","option2":"Classic","option3":null,"sku":"MST011850D-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582028349539,"product_id":6982646890595,"position":6,"created_at":"2026-04-02T16:01:43+08:00","updated_at":"2026-04-02T16:01:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c196bbfab236726e91f52e595768089c5c02208.webp?v=1775116905","variant_ids":[43102057988195]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Bordeaux Red \/ Classic","public_title":"Bordeaux Red \/ Classic","options":["Bordeaux Red","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850D-FA23","featured_media":{"alt":null,"id":27114648207459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c196bbfab236726e91f52e595768089c5c02208.webp?v=1775116905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102058053731,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST011850E-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582028120163,"product_id":6982646890595,"position":5,"created_at":"2026-04-02T16:01:43+08:00","updated_at":"2026-04-02T16:01:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f34d7e58f33304b44d6445355d3356987c50a2.webp?v=1775116905","variant_ids":[43102058053731]},"available":true,"name":"iPhone 12 \/ 12 Pro 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":"MST011850E-FA23","featured_media":{"alt":null,"id":27114647978083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f34d7e58f33304b44d6445355d3356987c50a2.webp?v=1775116905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-185-FA23_f89edd87-a770-41cb-9a48-a818a1fc4a17.png?v=1690456235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14d0f9e64bc741289c2deb8d7c1b2be913d9817.webp?v=1775116903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f5fbb42a656a421c8fd8cc537fd1d24bf8705d.webp?v=1775116904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09666b6bf372353b3734dd6ecf4ccaccce42dc76.webp?v=1775116904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f34d7e58f33304b44d6445355d3356987c50a2.webp?v=1775116905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c196bbfab236726e91f52e595768089c5c02208.webp?v=1775116905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70875d5d411475cc4d384946654fbc3f54899f02.webp?v=1775116906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eda2d9854f8a67ce55688d89a10687bcbeb4924d.webp?v=1775116906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a07d33da52a9e8f58be90a4ad6a1119c63d012.webp?v=1775116907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ff9f9385a4433905f38b8eb4bbc8325004728bd.webp?v=1775116908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5c0639bb229a7362acb5cb335637c1e6e619e8.webp?v=1775116908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3829c50c1e38aafc3b5030b9fe175331ed74098.webp?v=1775116909","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcee48bfa234c70f72d2b3ba8bf6ef711b8ba334.webp?v=1775116909"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-185-FA23_f89edd87-a770-41cb-9a48-a818a1fc4a17.png?v=1690456235","options":["color","Types"],"media":[{"alt":null,"id":22634074570851,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-185-FA23_f89edd87-a770-41cb-9a48-a818a1fc4a17.png?v=1690456235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-185-FA23_f89edd87-a770-41cb-9a48-a818a1fc4a17.png?v=1690456235","width":2000},{"alt":null,"id":27114647421027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14d0f9e64bc741289c2deb8d7c1b2be913d9817.webp?v=1775116903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14d0f9e64bc741289c2deb8d7c1b2be913d9817.webp?v=1775116903","width":2000},{"alt":null,"id":27114647617635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f5fbb42a656a421c8fd8cc537fd1d24bf8705d.webp?v=1775116904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f5fbb42a656a421c8fd8cc537fd1d24bf8705d.webp?v=1775116904","width":2000},{"alt":null,"id":27114647715939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09666b6bf372353b3734dd6ecf4ccaccce42dc76.webp?v=1775116904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09666b6bf372353b3734dd6ecf4ccaccce42dc76.webp?v=1775116904","width":2000},{"alt":null,"id":27114647978083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f34d7e58f33304b44d6445355d3356987c50a2.webp?v=1775116905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f34d7e58f33304b44d6445355d3356987c50a2.webp?v=1775116905","width":2000},{"alt":null,"id":27114648207459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c196bbfab236726e91f52e595768089c5c02208.webp?v=1775116905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c196bbfab236726e91f52e595768089c5c02208.webp?v=1775116905","width":2000},{"alt":null,"id":27114648404067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70875d5d411475cc4d384946654fbc3f54899f02.webp?v=1775116906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70875d5d411475cc4d384946654fbc3f54899f02.webp?v=1775116906","width":2000},{"alt":null,"id":27114648502371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eda2d9854f8a67ce55688d89a10687bcbeb4924d.webp?v=1775116906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eda2d9854f8a67ce55688d89a10687bcbeb4924d.webp?v=1775116906","width":2000},{"alt":null,"id":27114648666211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a07d33da52a9e8f58be90a4ad6a1119c63d012.webp?v=1775116907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a07d33da52a9e8f58be90a4ad6a1119c63d012.webp?v=1775116907","width":2000},{"alt":null,"id":27114648862819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ff9f9385a4433905f38b8eb4bbc8325004728bd.webp?v=1775116908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ff9f9385a4433905f38b8eb4bbc8325004728bd.webp?v=1775116908","width":2000},{"alt":null,"id":27114648993891,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5c0639bb229a7362acb5cb335637c1e6e619e8.webp?v=1775116908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5c0639bb229a7362acb5cb335637c1e6e619e8.webp?v=1775116908","width":2000},{"alt":null,"id":27114649124963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3829c50c1e38aafc3b5030b9fe175331ed74098.webp?v=1775116909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3829c50c1e38aafc3b5030b9fe175331ed74098.webp?v=1775116909","width":2000},{"alt":null,"id":27114649288803,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcee48bfa234c70f72d2b3ba8bf6ef711b8ba334.webp?v=1775116909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcee48bfa234c70f72d2b3ba8bf6ef711b8ba334.webp?v=1775116909","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43102057627747,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0118552-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582027595875,"product_id":6982646890595,"position":2,"created_at":"2026-04-02T16:01:41+08:00","updated_at":"2026-04-02T16:01:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14d0f9e64bc741289c2deb8d7c1b2be913d9817.webp?v=1775116903","variant_ids":[43102057627747]},"available":true,"name":"iPhone 12 \/ 12 Pro 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":"MST0118552-FA23","featured_media":{"alt":null,"id":27114647421027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14d0f9e64bc741289c2deb8d7c1b2be913d9817.webp?v=1775116903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057660515,"title":"White \/ Classic","option1":"White","option2":"Classic","option3":null,"sku":"MST0118553-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029529187,"product_id":6982646890595,"position":11,"created_at":"2026-04-02T16:01:46+08:00","updated_at":"2026-04-02T16:01:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5c0639bb229a7362acb5cb335637c1e6e619e8.webp?v=1775116908","variant_ids":[43102057660515]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - White \/ Classic","public_title":"White \/ Classic","options":["White","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118553-FA23","featured_media":{"alt":null,"id":27114648993891,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b5c0639bb229a7362acb5cb335637c1e6e619e8.webp?v=1775116908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057693283,"title":"Blush Pink \/ Classic","option1":"Blush Pink","option2":"Classic","option3":null,"sku":"MST0118557-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029037667,"product_id":6982646890595,"position":8,"created_at":"2026-04-02T16:01:45+08:00","updated_at":"2026-04-02T16:01:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eda2d9854f8a67ce55688d89a10687bcbeb4924d.webp?v=1775116906","variant_ids":[43102057693283]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Blush Pink \/ Classic","public_title":"Blush Pink \/ Classic","options":["Blush Pink","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118557-FA23","featured_media":{"alt":null,"id":27114648502371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eda2d9854f8a67ce55688d89a10687bcbeb4924d.webp?v=1775116906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057726051,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"MST01185O8-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582027759715,"product_id":6982646890595,"position":3,"created_at":"2026-04-02T16:01:42+08:00","updated_at":"2026-04-02T16:01:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f5fbb42a656a421c8fd8cc537fd1d24bf8705d.webp?v=1775116904","variant_ids":[43102057726051]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Ash Grey \/ Classic","public_title":"Ash Grey \/ Classic","options":["Ash Grey","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185O8-FA23","featured_media":{"alt":null,"id":27114647617635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f5fbb42a656a421c8fd8cc537fd1d24bf8705d.webp?v=1775116904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057758819,"title":"Sage Green \/ Classic","option1":"Sage Green","option2":"Classic","option3":null,"sku":"MST01185P2-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582027858019,"product_id":6982646890595,"position":4,"created_at":"2026-04-02T16:01:42+08:00","updated_at":"2026-04-02T16:01:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09666b6bf372353b3734dd6ecf4ccaccce42dc76.webp?v=1775116904","variant_ids":[43102057758819]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Sage Green \/ Classic","public_title":"Sage Green \/ Classic","options":["Sage Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185P2-FA23","featured_media":{"alt":null,"id":27114647715939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09666b6bf372353b3734dd6ecf4ccaccce42dc76.webp?v=1775116904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057791587,"title":"Glacier Blue \/ Classic","option1":"Glacier Blue","option2":"Classic","option3":null,"sku":"MST01185Z7-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029824099,"product_id":6982646890595,"position":13,"created_at":"2026-04-02T16:01:48+08:00","updated_at":"2026-04-02T16:01:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcee48bfa234c70f72d2b3ba8bf6ef711b8ba334.webp?v=1775116909","variant_ids":[43102057791587]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Glacier Blue \/ Classic","public_title":"Glacier Blue \/ Classic","options":["Glacier Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z7-FA23","featured_media":{"alt":null,"id":27114649288803,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcee48bfa234c70f72d2b3ba8bf6ef711b8ba334.webp?v=1775116909"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057824355,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"MST01185Z8-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029234275,"product_id":6982646890595,"position":9,"created_at":"2026-04-02T16:01:45+08:00","updated_at":"2026-04-02T16:01:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a07d33da52a9e8f58be90a4ad6a1119c63d012.webp?v=1775116907","variant_ids":[43102057824355]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z8-FA23","featured_media":{"alt":null,"id":27114648666211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a07d33da52a9e8f58be90a4ad6a1119c63d012.webp?v=1775116907"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057857123,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"MST01185Z9-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029660259,"product_id":6982646890595,"position":12,"created_at":"2026-04-02T16:01:47+08:00","updated_at":"2026-04-02T16:01:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3829c50c1e38aafc3b5030b9fe175331ed74098.webp?v=1775116909","variant_ids":[43102057857123]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Tide Blue \/ Classic","public_title":"Tide Blue \/ Classic","options":["Tide Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z9-FA23","featured_media":{"alt":null,"id":27114649124963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3829c50c1e38aafc3b5030b9fe175331ed74098.webp?v=1775116909"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057889891,"title":"Ocean Blue \/ Classic","option1":"Ocean Blue","option2":"Classic","option3":null,"sku":"MST011850A-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582029398115,"product_id":6982646890595,"position":10,"created_at":"2026-04-02T16:01:46+08:00","updated_at":"2026-04-02T16:01:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ff9f9385a4433905f38b8eb4bbc8325004728bd.webp?v=1775116908","variant_ids":[43102057889891]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Ocean Blue \/ Classic","public_title":"Ocean Blue \/ Classic","options":["Ocean Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850A-FA23","featured_media":{"alt":null,"id":27114648862819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ff9f9385a4433905f38b8eb4bbc8325004728bd.webp?v=1775116908"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057955427,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST011850B-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582028939363,"product_id":6982646890595,"position":7,"created_at":"2026-04-02T16:01:44+08:00","updated_at":"2026-04-02T16:01:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70875d5d411475cc4d384946654fbc3f54899f02.webp?v=1775116906","variant_ids":[43102057955427]},"available":true,"name":"iPhone 12 \/ 12 Pro 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":"MST011850B-FA23","featured_media":{"alt":null,"id":27114648404067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70875d5d411475cc4d384946654fbc3f54899f02.webp?v=1775116906"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102057988195,"title":"Bordeaux Red \/ Classic","option1":"Bordeaux Red","option2":"Classic","option3":null,"sku":"MST011850D-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582028349539,"product_id":6982646890595,"position":6,"created_at":"2026-04-02T16:01:43+08:00","updated_at":"2026-04-02T16:01:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c196bbfab236726e91f52e595768089c5c02208.webp?v=1775116905","variant_ids":[43102057988195]},"available":true,"name":"iPhone 12 \/ 12 Pro SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波偷看你 - Bordeaux Red \/ Classic","public_title":"Bordeaux Red \/ Classic","options":["Bordeaux Red","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850D-FA23","featured_media":{"alt":null,"id":27114648207459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c196bbfab236726e91f52e595768089c5c02208.webp?v=1775116905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102058053731,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST011850E-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582028120163,"product_id":6982646890595,"position":5,"created_at":"2026-04-02T16:01:43+08:00","updated_at":"2026-04-02T16:01:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f34d7e58f33304b44d6445355d3356987c50a2.webp?v=1775116905","variant_ids":[43102058053731]},"available":true,"name":"iPhone 12 \/ 12 Pro 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":"MST011850E-FA23","featured_media":{"alt":null,"id":27114647978083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f34d7e58f33304b44d6445355d3356987c50a2.webp?v=1775116905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43102057627747,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0118552-FA23","requires_shipping":true,"taxable":true,"featured_image":{"id":35582027595875,"product_id":6982646890595,"position":2,"created_at":"2026-04-02T16:01:41+08:00","updated_at":"2026-04-02T16:01:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14d0f9e64bc741289c2deb8d7c1b2be913d9817.webp?v=1775116903","variant_ids":[43102057627747]},"available":true,"name":"iPhone 12 \/ 12 Pro 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":"MST0118552-FA23","featured_media":{"alt":null,"id":27114647421027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f14d0f9e64bc741289c2deb8d7c1b2be913d9817.webp?v=1775116903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}