$product = {"id":7125874573411,"title":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear","handle":"iphone-12-pro-solidsuit-classic-magsafe-yb05","description":null,"published_at":"2023-12-22T09:43:54+08:00","created_at":"2023-12-20T15:38:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-Care Bears","tags":["20%","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 12 pro","merge","reseller-solidsuit-magsafe-carebears","Top50","type-Solidsuit MagSafe"],"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":41081582354531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118552-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706848104547,"product_id":7125874573411,"position":14,"created_at":"2023-12-20T15:39:15+08:00","updated_at":"2023-12-20T15:39:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84863f32a03ded1c4be09f9017b78dbf2f3c587b.webp?v=1703057955","variant_ids":[41081582354531]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118552-YB05","featured_media":{"alt":null,"id":23074658189411,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84863f32a03ded1c4be09f9017b78dbf2f3c587b.webp?v=1703057955"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582387299,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0118553-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706846400611,"product_id":7125874573411,"position":11,"created_at":"2023-12-20T15:39:08+08:00","updated_at":"2023-12-20T15:39:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81430b2efde772362b07e1b6cef6165f3f7dc266.webp?v=1703057948","variant_ids":[41081582387299]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - White","public_title":"White","options":["White"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118553-YB05","featured_media":{"alt":null,"id":23074656485475,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81430b2efde772362b07e1b6cef6165f3f7dc266.webp?v=1703057948"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582420067,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0118557-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706844205155,"product_id":7125874573411,"position":7,"created_at":"2023-12-20T15:38:58+08:00","updated_at":"2023-12-20T15:38:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9bf097cddc3d8ad10825f4df692be1bca3fa06.webp?v=1703057938","variant_ids":[41081582420067]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118557-YB05","featured_media":{"alt":null,"id":23074654290019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9bf097cddc3d8ad10825f4df692be1bca3fa06.webp?v=1703057938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582452835,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01185O8-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706847383651,"product_id":7125874573411,"position":13,"created_at":"2023-12-20T15:39:13+08:00","updated_at":"2023-12-20T15:39:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f87106d6add43f4e1865af2a40b8be7da4ccb7.webp?v=1703057953","variant_ids":[41081582452835]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185O8-YB05","featured_media":{"alt":null,"id":23074657468515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f87106d6add43f4e1865af2a40b8be7da4ccb7.webp?v=1703057953"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582551139,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01185P2-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706840436835,"product_id":7125874573411,"position":1,"created_at":"2023-12-20T15:38:43+08:00","updated_at":"2023-12-20T15:38:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72d6f2ac4d4c27d3fe703db585d43156f4a52c19.webp?v=1703057923","variant_ids":[41081582551139]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185P2-YB05","featured_media":{"alt":null,"id":23074650521699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72d6f2ac4d4c27d3fe703db585d43156f4a52c19.webp?v=1703057923"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582583907,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01185Z7-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706843484259,"product_id":7125874573411,"position":6,"created_at":"2023-12-20T15:38:56+08:00","updated_at":"2023-12-20T15:38:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decdc82f8dbf08b7519da45c9b1406cd9e51edd0.webp?v=1703057936","variant_ids":[41081582583907]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z7-YB05","featured_media":{"alt":null,"id":23074653569123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decdc82f8dbf08b7519da45c9b1406cd9e51edd0.webp?v=1703057936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582616675,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01185Z8-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706845810787,"product_id":7125874573411,"position":10,"created_at":"2023-12-20T15:39:05+08:00","updated_at":"2023-12-20T15:39:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1445ec4e71723f898b9dcc89edc0448a9660ca5.webp?v=1703057945","variant_ids":[41081582616675]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z8-YB05","featured_media":{"alt":null,"id":23074655895651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1445ec4e71723f898b9dcc89edc0448a9660ca5.webp?v=1703057945"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582649443,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01185Z9-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706844827747,"product_id":7125874573411,"position":8,"created_at":"2023-12-20T15:39:00+08:00","updated_at":"2023-12-20T15:39:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00168b3bc3c0135d9f9a4f1a9129c40e0245cd2c.webp?v=1703057940","variant_ids":[41081582649443]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z9-YB05","featured_media":{"alt":null,"id":23074654912611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00168b3bc3c0135d9f9a4f1a9129c40e0245cd2c.webp?v=1703057940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582714979,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011850A-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706842140771,"product_id":7125874573411,"position":4,"created_at":"2023-12-20T15:38:51+08:00","updated_at":"2023-12-20T15:38:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32d61ddab79ef71d7c8eb092e81f923d79df6ea1.webp?v=1703057931","variant_ids":[41081582714979]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850A-YB05","featured_media":{"alt":null,"id":23074652225635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32d61ddab79ef71d7c8eb092e81f923d79df6ea1.webp?v=1703057931"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582747747,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011850B-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706845253731,"product_id":7125874573411,"position":9,"created_at":"2023-12-20T15:39:03+08:00","updated_at":"2023-12-20T15:39:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae8c11ca29c9bcf422f0a0bc64721e4993b6ca.webp?v=1703057943","variant_ids":[41081582747747]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850B-YB05","featured_media":{"alt":null,"id":23074655338595,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae8c11ca29c9bcf422f0a0bc64721e4993b6ca.webp?v=1703057943"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582780515,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011850D-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706846859363,"product_id":7125874573411,"position":12,"created_at":"2023-12-20T15:39:10+08:00","updated_at":"2023-12-20T15:39:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98e2ff2c5f468fc46ea60d027cc870d2a695597.webp?v=1703057950","variant_ids":[41081582780515]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850D-YB05","featured_media":{"alt":null,"id":23074656944227,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98e2ff2c5f468fc46ea60d027cc870d2a695597.webp?v=1703057950"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582878819,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011850E-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706843025507,"product_id":7125874573411,"position":5,"created_at":"2023-12-20T15:38:53+08:00","updated_at":"2023-12-20T15:38:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16fe146337904efbb2af34d761517798f73e4a8.webp?v=1703057933","variant_ids":[41081582878819]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850E-YB05","featured_media":{"alt":null,"id":23074653110371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16fe146337904efbb2af34d761517798f73e4a8.webp?v=1703057933"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72d6f2ac4d4c27d3fe703db585d43156f4a52c19.webp?v=1703057923","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbd2f91ea4cb121c895f04e978eecc4aaf23c57.webp?v=1703057926","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93a9e6e16f60232091542a9d2ea174b65af60b01.webp?v=1703057928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32d61ddab79ef71d7c8eb092e81f923d79df6ea1.webp?v=1703057931","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16fe146337904efbb2af34d761517798f73e4a8.webp?v=1703057933","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decdc82f8dbf08b7519da45c9b1406cd9e51edd0.webp?v=1703057936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9bf097cddc3d8ad10825f4df692be1bca3fa06.webp?v=1703057938","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00168b3bc3c0135d9f9a4f1a9129c40e0245cd2c.webp?v=1703057940","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae8c11ca29c9bcf422f0a0bc64721e4993b6ca.webp?v=1703057943","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1445ec4e71723f898b9dcc89edc0448a9660ca5.webp?v=1703057945","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81430b2efde772362b07e1b6cef6165f3f7dc266.webp?v=1703057948","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98e2ff2c5f468fc46ea60d027cc870d2a695597.webp?v=1703057950","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f87106d6add43f4e1865af2a40b8be7da4ccb7.webp?v=1703057953","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84863f32a03ded1c4be09f9017b78dbf2f3c587b.webp?v=1703057955"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72d6f2ac4d4c27d3fe703db585d43156f4a52c19.webp?v=1703057923","options":["color"],"media":[{"alt":null,"id":23074650521699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72d6f2ac4d4c27d3fe703db585d43156f4a52c19.webp?v=1703057923"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72d6f2ac4d4c27d3fe703db585d43156f4a52c19.webp?v=1703057923","width":2000},{"alt":null,"id":23074651144291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbd2f91ea4cb121c895f04e978eecc4aaf23c57.webp?v=1703057926"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbd2f91ea4cb121c895f04e978eecc4aaf23c57.webp?v=1703057926","width":2000},{"alt":null,"id":23074651668579,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93a9e6e16f60232091542a9d2ea174b65af60b01.webp?v=1703057928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93a9e6e16f60232091542a9d2ea174b65af60b01.webp?v=1703057928","width":2000},{"alt":null,"id":23074652225635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32d61ddab79ef71d7c8eb092e81f923d79df6ea1.webp?v=1703057931"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32d61ddab79ef71d7c8eb092e81f923d79df6ea1.webp?v=1703057931","width":2000},{"alt":null,"id":23074653110371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16fe146337904efbb2af34d761517798f73e4a8.webp?v=1703057933"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16fe146337904efbb2af34d761517798f73e4a8.webp?v=1703057933","width":2000},{"alt":null,"id":23074653569123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decdc82f8dbf08b7519da45c9b1406cd9e51edd0.webp?v=1703057936"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decdc82f8dbf08b7519da45c9b1406cd9e51edd0.webp?v=1703057936","width":2000},{"alt":null,"id":23074654290019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9bf097cddc3d8ad10825f4df692be1bca3fa06.webp?v=1703057938"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9bf097cddc3d8ad10825f4df692be1bca3fa06.webp?v=1703057938","width":2000},{"alt":null,"id":23074654912611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00168b3bc3c0135d9f9a4f1a9129c40e0245cd2c.webp?v=1703057940"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00168b3bc3c0135d9f9a4f1a9129c40e0245cd2c.webp?v=1703057940","width":2000},{"alt":null,"id":23074655338595,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae8c11ca29c9bcf422f0a0bc64721e4993b6ca.webp?v=1703057943"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae8c11ca29c9bcf422f0a0bc64721e4993b6ca.webp?v=1703057943","width":2000},{"alt":null,"id":23074655895651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1445ec4e71723f898b9dcc89edc0448a9660ca5.webp?v=1703057945"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1445ec4e71723f898b9dcc89edc0448a9660ca5.webp?v=1703057945","width":2000},{"alt":null,"id":23074656485475,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81430b2efde772362b07e1b6cef6165f3f7dc266.webp?v=1703057948"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81430b2efde772362b07e1b6cef6165f3f7dc266.webp?v=1703057948","width":2000},{"alt":null,"id":23074656944227,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98e2ff2c5f468fc46ea60d027cc870d2a695597.webp?v=1703057950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98e2ff2c5f468fc46ea60d027cc870d2a695597.webp?v=1703057950","width":2000},{"alt":null,"id":23074657468515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f87106d6add43f4e1865af2a40b8be7da4ccb7.webp?v=1703057953"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f87106d6add43f4e1865af2a40b8be7da4ccb7.webp?v=1703057953","width":2000},{"alt":null,"id":23074658189411,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84863f32a03ded1c4be09f9017b78dbf2f3c587b.webp?v=1703057955"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84863f32a03ded1c4be09f9017b78dbf2f3c587b.webp?v=1703057955","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41081582354531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118552-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706848104547,"product_id":7125874573411,"position":14,"created_at":"2023-12-20T15:39:15+08:00","updated_at":"2023-12-20T15:39:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84863f32a03ded1c4be09f9017b78dbf2f3c587b.webp?v=1703057955","variant_ids":[41081582354531]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118552-YB05","featured_media":{"alt":null,"id":23074658189411,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84863f32a03ded1c4be09f9017b78dbf2f3c587b.webp?v=1703057955"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582387299,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0118553-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706846400611,"product_id":7125874573411,"position":11,"created_at":"2023-12-20T15:39:08+08:00","updated_at":"2023-12-20T15:39:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81430b2efde772362b07e1b6cef6165f3f7dc266.webp?v=1703057948","variant_ids":[41081582387299]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - White","public_title":"White","options":["White"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118553-YB05","featured_media":{"alt":null,"id":23074656485475,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81430b2efde772362b07e1b6cef6165f3f7dc266.webp?v=1703057948"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582420067,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0118557-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706844205155,"product_id":7125874573411,"position":7,"created_at":"2023-12-20T15:38:58+08:00","updated_at":"2023-12-20T15:38:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9bf097cddc3d8ad10825f4df692be1bca3fa06.webp?v=1703057938","variant_ids":[41081582420067]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118557-YB05","featured_media":{"alt":null,"id":23074654290019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab9bf097cddc3d8ad10825f4df692be1bca3fa06.webp?v=1703057938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582452835,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01185O8-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706847383651,"product_id":7125874573411,"position":13,"created_at":"2023-12-20T15:39:13+08:00","updated_at":"2023-12-20T15:39:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f87106d6add43f4e1865af2a40b8be7da4ccb7.webp?v=1703057953","variant_ids":[41081582452835]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185O8-YB05","featured_media":{"alt":null,"id":23074657468515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f87106d6add43f4e1865af2a40b8be7da4ccb7.webp?v=1703057953"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582551139,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01185P2-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706840436835,"product_id":7125874573411,"position":1,"created_at":"2023-12-20T15:38:43+08:00","updated_at":"2023-12-20T15:38:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72d6f2ac4d4c27d3fe703db585d43156f4a52c19.webp?v=1703057923","variant_ids":[41081582551139]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185P2-YB05","featured_media":{"alt":null,"id":23074650521699,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72d6f2ac4d4c27d3fe703db585d43156f4a52c19.webp?v=1703057923"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582583907,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01185Z7-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706843484259,"product_id":7125874573411,"position":6,"created_at":"2023-12-20T15:38:56+08:00","updated_at":"2023-12-20T15:38:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decdc82f8dbf08b7519da45c9b1406cd9e51edd0.webp?v=1703057936","variant_ids":[41081582583907]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z7-YB05","featured_media":{"alt":null,"id":23074653569123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decdc82f8dbf08b7519da45c9b1406cd9e51edd0.webp?v=1703057936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582616675,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01185Z8-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706845810787,"product_id":7125874573411,"position":10,"created_at":"2023-12-20T15:39:05+08:00","updated_at":"2023-12-20T15:39:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1445ec4e71723f898b9dcc89edc0448a9660ca5.webp?v=1703057945","variant_ids":[41081582616675]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z8-YB05","featured_media":{"alt":null,"id":23074655895651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1445ec4e71723f898b9dcc89edc0448a9660ca5.webp?v=1703057945"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582649443,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01185Z9-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706844827747,"product_id":7125874573411,"position":8,"created_at":"2023-12-20T15:39:00+08:00","updated_at":"2023-12-20T15:39:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00168b3bc3c0135d9f9a4f1a9129c40e0245cd2c.webp?v=1703057940","variant_ids":[41081582649443]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01185Z9-YB05","featured_media":{"alt":null,"id":23074654912611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00168b3bc3c0135d9f9a4f1a9129c40e0245cd2c.webp?v=1703057940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582714979,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011850A-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706842140771,"product_id":7125874573411,"position":4,"created_at":"2023-12-20T15:38:51+08:00","updated_at":"2023-12-20T15:38:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32d61ddab79ef71d7c8eb092e81f923d79df6ea1.webp?v=1703057931","variant_ids":[41081582714979]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850A-YB05","featured_media":{"alt":null,"id":23074652225635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32d61ddab79ef71d7c8eb092e81f923d79df6ea1.webp?v=1703057931"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582747747,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011850B-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706845253731,"product_id":7125874573411,"position":9,"created_at":"2023-12-20T15:39:03+08:00","updated_at":"2023-12-20T15:39:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae8c11ca29c9bcf422f0a0bc64721e4993b6ca.webp?v=1703057943","variant_ids":[41081582747747]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850B-YB05","featured_media":{"alt":null,"id":23074655338595,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ae8c11ca29c9bcf422f0a0bc64721e4993b6ca.webp?v=1703057943"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582780515,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011850D-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706846859363,"product_id":7125874573411,"position":12,"created_at":"2023-12-20T15:39:10+08:00","updated_at":"2023-12-20T15:39:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98e2ff2c5f468fc46ea60d027cc870d2a695597.webp?v=1703057950","variant_ids":[41081582780515]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850D-YB05","featured_media":{"alt":null,"id":23074656944227,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98e2ff2c5f468fc46ea60d027cc870d2a695597.webp?v=1703057950"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081582878819,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011850E-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706843025507,"product_id":7125874573411,"position":5,"created_at":"2023-12-20T15:38:53+08:00","updated_at":"2023-12-20T15:38:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16fe146337904efbb2af34d761517798f73e4a8.webp?v=1703057933","variant_ids":[41081582878819]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011850E-YB05","featured_media":{"alt":null,"id":23074653110371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e16fe146337904efbb2af34d761517798f73e4a8.webp?v=1703057933"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41081582354531,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118552-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":30706848104547,"product_id":7125874573411,"position":14,"created_at":"2023-12-20T15:39:15+08:00","updated_at":"2023-12-20T15:39:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84863f32a03ded1c4be09f9017b78dbf2f3c587b.webp?v=1703057955","variant_ids":[41081582354531]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Good Luck Bear - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118552-YB05","featured_media":{"alt":null,"id":23074658189411,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84863f32a03ded1c4be09f9017b78dbf2f3c587b.webp?v=1703057955"}},"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: "停產" }