$product = {"id":7125863596131,"title":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend Bear","handle":"iphone-13-mini-solidsuit-classic-magsafe-yb02","description":null,"published_at":"2023-12-22T09:48:19+08:00","created_at":"2023-12-20T15:35:10+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 13 mini","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":41081521274979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706793381987,"product_id":7125863596131,"position":9,"created_at":"2023-12-20T15:35:38+08:00","updated_at":"2023-12-20T15:35:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738","variant_ids":[41081521274979]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST0122852-YB02","featured_media":{"alt":null,"id":23074603368547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521537123,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706795184227,"product_id":7125863596131,"position":12,"created_at":"2023-12-20T15:35:45+08:00","updated_at":"2023-12-20T15:35:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745","variant_ids":[41081521537123]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST01228Z8-YB02","featured_media":{"alt":null,"id":23074605170787,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521569891,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706787057763,"product_id":7125863596131,"position":1,"created_at":"2023-12-20T15:35:13+08:00","updated_at":"2023-12-20T15:35:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713","variant_ids":[41081521569891]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST01228Z9-YB02","featured_media":{"alt":null,"id":23074597044323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521635427,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012280B-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706794594403,"product_id":7125863596131,"position":11,"created_at":"2023-12-20T15:35:43+08:00","updated_at":"2023-12-20T15:35:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743","variant_ids":[41081521635427]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST012280B-YB02","featured_media":{"alt":null,"id":23074604580963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521766499,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012280E-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706795872355,"product_id":7125863596131,"position":13,"created_at":"2023-12-20T15:35:47+08:00","updated_at":"2023-12-20T15:35:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747","variant_ids":[41081521766499]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST012280E-YB02","featured_media":{"alt":null,"id":23074605760611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c492d9bae054dc0b63f68acede2fda12663d344.webp?v=1703057718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f94fe40293fd6bc5af0080ad6d6ad4325cb17d09.webp?v=1703057723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d6109b60d57a85e7b2503dce3322af6ca2e18f8.webp?v=1703057726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93661af3422fb556473057251061c2713f22646.webp?v=1703057728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77962874d4d37e7d6f1da0889b4bb8c7c002c7.webp?v=1703057731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df344bcd1db35a169e045a03963c48979a0ff2f3.webp?v=1703057733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67ea01fa74bdc513754e4d9e823d613ac5b3b2de.webp?v=1703057735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/686532e2c18101950f19705806ca8ad04dbd3168.webp?v=1703057740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b99accc036c0f0acd43ba89dffe76e373bc44aa8.webp?v=1703057750"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713","options":["color"],"media":[{"alt":null,"id":23074597044323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713","width":2000},{"alt":null,"id":23074598322275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c492d9bae054dc0b63f68acede2fda12663d344.webp?v=1703057718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c492d9bae054dc0b63f68acede2fda12663d344.webp?v=1703057718","width":2000},{"alt":null,"id":23074599534691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f94fe40293fd6bc5af0080ad6d6ad4325cb17d09.webp?v=1703057723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f94fe40293fd6bc5af0080ad6d6ad4325cb17d09.webp?v=1703057723","width":2000},{"alt":null,"id":23074600058979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d6109b60d57a85e7b2503dce3322af6ca2e18f8.webp?v=1703057726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d6109b60d57a85e7b2503dce3322af6ca2e18f8.webp?v=1703057726","width":2000},{"alt":null,"id":23074600616035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93661af3422fb556473057251061c2713f22646.webp?v=1703057728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93661af3422fb556473057251061c2713f22646.webp?v=1703057728","width":2000},{"alt":null,"id":23074601304163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77962874d4d37e7d6f1da0889b4bb8c7c002c7.webp?v=1703057731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d77962874d4d37e7d6f1da0889b4bb8c7c002c7.webp?v=1703057731","width":2000},{"alt":null,"id":23074602057827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df344bcd1db35a169e045a03963c48979a0ff2f3.webp?v=1703057733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df344bcd1db35a169e045a03963c48979a0ff2f3.webp?v=1703057733","width":2000},{"alt":null,"id":23074602844259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67ea01fa74bdc513754e4d9e823d613ac5b3b2de.webp?v=1703057735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67ea01fa74bdc513754e4d9e823d613ac5b3b2de.webp?v=1703057735","width":2000},{"alt":null,"id":23074603368547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738","width":2000},{"alt":null,"id":23074603892835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/686532e2c18101950f19705806ca8ad04dbd3168.webp?v=1703057740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/686532e2c18101950f19705806ca8ad04dbd3168.webp?v=1703057740","width":2000},{"alt":null,"id":23074604580963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743","width":2000},{"alt":null,"id":23074605170787,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745","width":2000},{"alt":null,"id":23074605760611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747","width":2000},{"alt":null,"id":23074606317667,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b99accc036c0f0acd43ba89dffe76e373bc44aa8.webp?v=1703057750"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b99accc036c0f0acd43ba89dffe76e373bc44aa8.webp?v=1703057750","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41081521274979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706793381987,"product_id":7125863596131,"position":9,"created_at":"2023-12-20T15:35:38+08:00","updated_at":"2023-12-20T15:35:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738","variant_ids":[41081521274979]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST0122852-YB02","featured_media":{"alt":null,"id":23074603368547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521537123,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706795184227,"product_id":7125863596131,"position":12,"created_at":"2023-12-20T15:35:45+08:00","updated_at":"2023-12-20T15:35:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745","variant_ids":[41081521537123]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST01228Z8-YB02","featured_media":{"alt":null,"id":23074605170787,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b003e432e5a83d2ad4e2dea1e11def3e60a236.webp?v=1703057745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521569891,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706787057763,"product_id":7125863596131,"position":1,"created_at":"2023-12-20T15:35:13+08:00","updated_at":"2023-12-20T15:35:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713","variant_ids":[41081521569891]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST01228Z9-YB02","featured_media":{"alt":null,"id":23074597044323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5cde6fb8fd1e2baa26dcf6df1991e375bca286.webp?v=1703057713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521635427,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012280B-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706794594403,"product_id":7125863596131,"position":11,"created_at":"2023-12-20T15:35:43+08:00","updated_at":"2023-12-20T15:35:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743","variant_ids":[41081521635427]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST012280B-YB02","featured_media":{"alt":null,"id":23074604580963,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8f822f2ec906b14e303fa3ed437af3cd95c01c4.webp?v=1703057743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521766499,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012280E-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706795872355,"product_id":7125863596131,"position":13,"created_at":"2023-12-20T15:35:47+08:00","updated_at":"2023-12-20T15:35:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747","variant_ids":[41081521766499]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST012280E-YB02","featured_media":{"alt":null,"id":23074605760611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4664c96124a8ddf76ce124e4874b351cd8c6744.webp?v=1703057747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41081521274979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706793381987,"product_id":7125863596131,"position":9,"created_at":"2023-12-20T15:35:38+08:00","updated_at":"2023-12-20T15:35:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738","variant_ids":[41081521274979]},"available":true,"name":"iPhone 13 mini 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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":"MST0122852-YB02","featured_media":{"alt":null,"id":23074603368547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9a16ac0719089b83a6567f3f815a78d8dcd895e.webp?v=1703057738"}},"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: "停產" }