$product = {"id":7125863563363,"title":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend Bear","handle":"iphone-12-pro-solidsuit-classic-magsafe-yb02","description":null,"published_at":"2023-12-22T09:48:21+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 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":41081521832035,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118552-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706789646435,"product_id":7125863563363,"position":5,"created_at":"2023-12-20T15:35:24+08:00","updated_at":"2023-12-20T15:35:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb364eb6b3ea3d2627463c0300775e5194df17c.webp?v=1703057724","variant_ids":[41081521832035]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST0118552-YB02","featured_media":{"alt":null,"id":23074599632995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb364eb6b3ea3d2627463c0300775e5194df17c.webp?v=1703057724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521864803,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0118553-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706790170723,"product_id":7125863563363,"position":6,"created_at":"2023-12-20T15:35:26+08:00","updated_at":"2023-12-20T15:35:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501ee5bc1ea31943266d7dcf79a515de174b7cf7.webp?v=1703057726","variant_ids":[41081521864803]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074600157283,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501ee5bc1ea31943266d7dcf79a515de174b7cf7.webp?v=1703057726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521897571,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0118557-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706794135651,"product_id":7125863563363,"position":12,"created_at":"2023-12-20T15:35:41+08:00","updated_at":"2023-12-20T15:35:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e80fd8f566c7e304f22c167ca06e4d81a93cb6.webp?v=1703057741","variant_ids":[41081521897571]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074603991139,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e80fd8f566c7e304f22c167ca06e4d81a93cb6.webp?v=1703057741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521930339,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01185O8-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706790793315,"product_id":7125863563363,"position":7,"created_at":"2023-12-20T15:35:28+08:00","updated_at":"2023-12-20T15:35:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9ef575812a06c64468c3b859584bea7b634671.webp?v=1703057728","variant_ids":[41081521930339]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074600681571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9ef575812a06c64468c3b859584bea7b634671.webp?v=1703057728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522028643,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01185P2-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706791383139,"product_id":7125863563363,"position":8,"created_at":"2023-12-20T15:35:31+08:00","updated_at":"2023-12-20T15:35:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57baa2958eec6e443c51b1fb1da7836525480d7c.webp?v=1703057731","variant_ids":[41081522028643]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074601369699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57baa2958eec6e443c51b1fb1da7836525480d7c.webp?v=1703057731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522061411,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01185Z7-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706792136803,"product_id":7125863563363,"position":9,"created_at":"2023-12-20T15:35:33+08:00","updated_at":"2023-12-20T15:35:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc8bdc92f8b6bde80501f861057e21e06ce7c9b.webp?v=1703057733","variant_ids":[41081522061411]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074602123363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc8bdc92f8b6bde80501f861057e21e06ce7c9b.webp?v=1703057733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522094179,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01185Z8-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706787844195,"product_id":7125863563363,"position":2,"created_at":"2023-12-20T15:35:16+08:00","updated_at":"2023-12-20T15:35:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1bafb3a3d2ce3441e6065af5043d081ad71d5e.webp?v=1703057716","variant_ids":[41081522094179]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST01185Z8-YB02","featured_media":{"alt":null,"id":23074597830755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1bafb3a3d2ce3441e6065af5043d081ad71d5e.webp?v=1703057716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522126947,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01185Z9-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706792923235,"product_id":7125863563363,"position":10,"created_at":"2023-12-20T15:35:36+08:00","updated_at":"2023-12-20T15:35:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e7a80cf72b3d9b38effbf6201f43b66e2b7d42f.webp?v=1703057736","variant_ids":[41081522126947]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST01185Z9-YB02","featured_media":{"alt":null,"id":23074602909795,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e7a80cf72b3d9b38effbf6201f43b66e2b7d42f.webp?v=1703057736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522159715,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011850A-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706795216995,"product_id":7125863563363,"position":14,"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\/a01587f59b3433a0ce0c13630eb219841c255b69.webp?v=1703057745","variant_ids":[41081522159715]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074605203555,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a01587f59b3433a0ce0c13630eb219841c255b69.webp?v=1703057745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522192483,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011850B-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706788401251,"product_id":7125863563363,"position":3,"created_at":"2023-12-20T15:35:19+08:00","updated_at":"2023-12-20T15:35:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5842d947b0880a112668be8d1f56c98eec9177.webp?v=1703057719","variant_ids":[41081522192483]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST011850B-YB02","featured_media":{"alt":null,"id":23074598387811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5842d947b0880a112668be8d1f56c98eec9177.webp?v=1703057719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522225251,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011850D-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706788958307,"product_id":7125863563363,"position":4,"created_at":"2023-12-20T15:35:21+08:00","updated_at":"2023-12-20T15:35:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1383baf535c4b3d251b5c4eb9a70939292004e31.webp?v=1703057721","variant_ids":[41081522225251]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074598944867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1383baf535c4b3d251b5c4eb9a70939292004e31.webp?v=1703057721"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522323555,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011850E-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706786992227,"product_id":7125863563363,"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\/81eea3c07d4e4c21caab9c26e83a0cc015f6a916.webp?v=1703057713","variant_ids":[41081522323555]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST011850E-YB02","featured_media":{"alt":null,"id":23074596978787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81eea3c07d4e4c21caab9c26e83a0cc015f6a916.webp?v=1703057713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81eea3c07d4e4c21caab9c26e83a0cc015f6a916.webp?v=1703057713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1bafb3a3d2ce3441e6065af5043d081ad71d5e.webp?v=1703057716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5842d947b0880a112668be8d1f56c98eec9177.webp?v=1703057719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1383baf535c4b3d251b5c4eb9a70939292004e31.webp?v=1703057721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb364eb6b3ea3d2627463c0300775e5194df17c.webp?v=1703057724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501ee5bc1ea31943266d7dcf79a515de174b7cf7.webp?v=1703057726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9ef575812a06c64468c3b859584bea7b634671.webp?v=1703057728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57baa2958eec6e443c51b1fb1da7836525480d7c.webp?v=1703057731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc8bdc92f8b6bde80501f861057e21e06ce7c9b.webp?v=1703057733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e7a80cf72b3d9b38effbf6201f43b66e2b7d42f.webp?v=1703057736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec88658018235a0aff4c322e16c139177d5bf9b.webp?v=1703057738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e80fd8f566c7e304f22c167ca06e4d81a93cb6.webp?v=1703057741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3edd86496424323349fef58d0ede877b876054.webp?v=1703057743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a01587f59b3433a0ce0c13630eb219841c255b69.webp?v=1703057745"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81eea3c07d4e4c21caab9c26e83a0cc015f6a916.webp?v=1703057713","options":["color"],"media":[{"alt":null,"id":23074596978787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81eea3c07d4e4c21caab9c26e83a0cc015f6a916.webp?v=1703057713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81eea3c07d4e4c21caab9c26e83a0cc015f6a916.webp?v=1703057713","width":2000},{"alt":null,"id":23074597830755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1bafb3a3d2ce3441e6065af5043d081ad71d5e.webp?v=1703057716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1bafb3a3d2ce3441e6065af5043d081ad71d5e.webp?v=1703057716","width":2000},{"alt":null,"id":23074598387811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5842d947b0880a112668be8d1f56c98eec9177.webp?v=1703057719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5842d947b0880a112668be8d1f56c98eec9177.webp?v=1703057719","width":2000},{"alt":null,"id":23074598944867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1383baf535c4b3d251b5c4eb9a70939292004e31.webp?v=1703057721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1383baf535c4b3d251b5c4eb9a70939292004e31.webp?v=1703057721","width":2000},{"alt":null,"id":23074599632995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb364eb6b3ea3d2627463c0300775e5194df17c.webp?v=1703057724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb364eb6b3ea3d2627463c0300775e5194df17c.webp?v=1703057724","width":2000},{"alt":null,"id":23074600157283,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501ee5bc1ea31943266d7dcf79a515de174b7cf7.webp?v=1703057726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501ee5bc1ea31943266d7dcf79a515de174b7cf7.webp?v=1703057726","width":2000},{"alt":null,"id":23074600681571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9ef575812a06c64468c3b859584bea7b634671.webp?v=1703057728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9ef575812a06c64468c3b859584bea7b634671.webp?v=1703057728","width":2000},{"alt":null,"id":23074601369699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57baa2958eec6e443c51b1fb1da7836525480d7c.webp?v=1703057731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57baa2958eec6e443c51b1fb1da7836525480d7c.webp?v=1703057731","width":2000},{"alt":null,"id":23074602123363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc8bdc92f8b6bde80501f861057e21e06ce7c9b.webp?v=1703057733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc8bdc92f8b6bde80501f861057e21e06ce7c9b.webp?v=1703057733","width":2000},{"alt":null,"id":23074602909795,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e7a80cf72b3d9b38effbf6201f43b66e2b7d42f.webp?v=1703057736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e7a80cf72b3d9b38effbf6201f43b66e2b7d42f.webp?v=1703057736","width":2000},{"alt":null,"id":23074603434083,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec88658018235a0aff4c322e16c139177d5bf9b.webp?v=1703057738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ec88658018235a0aff4c322e16c139177d5bf9b.webp?v=1703057738","width":2000},{"alt":null,"id":23074603991139,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e80fd8f566c7e304f22c167ca06e4d81a93cb6.webp?v=1703057741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e80fd8f566c7e304f22c167ca06e4d81a93cb6.webp?v=1703057741","width":2000},{"alt":null,"id":23074604679267,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3edd86496424323349fef58d0ede877b876054.webp?v=1703057743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e3edd86496424323349fef58d0ede877b876054.webp?v=1703057743","width":2000},{"alt":null,"id":23074605203555,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a01587f59b3433a0ce0c13630eb219841c255b69.webp?v=1703057745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a01587f59b3433a0ce0c13630eb219841c255b69.webp?v=1703057745","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41081521832035,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118552-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706789646435,"product_id":7125863563363,"position":5,"created_at":"2023-12-20T15:35:24+08:00","updated_at":"2023-12-20T15:35:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb364eb6b3ea3d2627463c0300775e5194df17c.webp?v=1703057724","variant_ids":[41081521832035]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST0118552-YB02","featured_media":{"alt":null,"id":23074599632995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb364eb6b3ea3d2627463c0300775e5194df17c.webp?v=1703057724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521864803,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0118553-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706790170723,"product_id":7125863563363,"position":6,"created_at":"2023-12-20T15:35:26+08:00","updated_at":"2023-12-20T15:35:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501ee5bc1ea31943266d7dcf79a515de174b7cf7.webp?v=1703057726","variant_ids":[41081521864803]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074600157283,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/501ee5bc1ea31943266d7dcf79a515de174b7cf7.webp?v=1703057726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521897571,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0118557-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706794135651,"product_id":7125863563363,"position":12,"created_at":"2023-12-20T15:35:41+08:00","updated_at":"2023-12-20T15:35:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e80fd8f566c7e304f22c167ca06e4d81a93cb6.webp?v=1703057741","variant_ids":[41081521897571]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074603991139,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48e80fd8f566c7e304f22c167ca06e4d81a93cb6.webp?v=1703057741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081521930339,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01185O8-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706790793315,"product_id":7125863563363,"position":7,"created_at":"2023-12-20T15:35:28+08:00","updated_at":"2023-12-20T15:35:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9ef575812a06c64468c3b859584bea7b634671.webp?v=1703057728","variant_ids":[41081521930339]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074600681571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9ef575812a06c64468c3b859584bea7b634671.webp?v=1703057728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522028643,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01185P2-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706791383139,"product_id":7125863563363,"position":8,"created_at":"2023-12-20T15:35:31+08:00","updated_at":"2023-12-20T15:35:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57baa2958eec6e443c51b1fb1da7836525480d7c.webp?v=1703057731","variant_ids":[41081522028643]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074601369699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57baa2958eec6e443c51b1fb1da7836525480d7c.webp?v=1703057731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522061411,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01185Z7-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706792136803,"product_id":7125863563363,"position":9,"created_at":"2023-12-20T15:35:33+08:00","updated_at":"2023-12-20T15:35:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc8bdc92f8b6bde80501f861057e21e06ce7c9b.webp?v=1703057733","variant_ids":[41081522061411]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074602123363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bc8bdc92f8b6bde80501f861057e21e06ce7c9b.webp?v=1703057733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522094179,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01185Z8-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706787844195,"product_id":7125863563363,"position":2,"created_at":"2023-12-20T15:35:16+08:00","updated_at":"2023-12-20T15:35:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1bafb3a3d2ce3441e6065af5043d081ad71d5e.webp?v=1703057716","variant_ids":[41081522094179]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST01185Z8-YB02","featured_media":{"alt":null,"id":23074597830755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f1bafb3a3d2ce3441e6065af5043d081ad71d5e.webp?v=1703057716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522126947,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01185Z9-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706792923235,"product_id":7125863563363,"position":10,"created_at":"2023-12-20T15:35:36+08:00","updated_at":"2023-12-20T15:35:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e7a80cf72b3d9b38effbf6201f43b66e2b7d42f.webp?v=1703057736","variant_ids":[41081522126947]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST01185Z9-YB02","featured_media":{"alt":null,"id":23074602909795,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e7a80cf72b3d9b38effbf6201f43b66e2b7d42f.webp?v=1703057736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522159715,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011850A-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706795216995,"product_id":7125863563363,"position":14,"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\/a01587f59b3433a0ce0c13630eb219841c255b69.webp?v=1703057745","variant_ids":[41081522159715]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074605203555,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a01587f59b3433a0ce0c13630eb219841c255b69.webp?v=1703057745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522192483,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011850B-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706788401251,"product_id":7125863563363,"position":3,"created_at":"2023-12-20T15:35:19+08:00","updated_at":"2023-12-20T15:35:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5842d947b0880a112668be8d1f56c98eec9177.webp?v=1703057719","variant_ids":[41081522192483]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST011850B-YB02","featured_media":{"alt":null,"id":23074598387811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e5842d947b0880a112668be8d1f56c98eec9177.webp?v=1703057719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522225251,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011850D-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706788958307,"product_id":7125863563363,"position":4,"created_at":"2023-12-20T15:35:21+08:00","updated_at":"2023-12-20T15:35:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1383baf535c4b3d251b5c4eb9a70939292004e31.webp?v=1703057721","variant_ids":[41081522225251]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Care Bears - Best Friend 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-YB02","featured_media":{"alt":null,"id":23074598944867,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1383baf535c4b3d251b5c4eb9a70939292004e31.webp?v=1703057721"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41081522323555,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011850E-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706786992227,"product_id":7125863563363,"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\/81eea3c07d4e4c21caab9c26e83a0cc015f6a916.webp?v=1703057713","variant_ids":[41081522323555]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST011850E-YB02","featured_media":{"alt":null,"id":23074596978787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81eea3c07d4e4c21caab9c26e83a0cc015f6a916.webp?v=1703057713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41081521832035,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118552-YB02","requires_shipping":true,"taxable":true,"featured_image":{"id":30706789646435,"product_id":7125863563363,"position":5,"created_at":"2023-12-20T15:35:24+08:00","updated_at":"2023-12-20T15:35:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb364eb6b3ea3d2627463c0300775e5194df17c.webp?v=1703057724","variant_ids":[41081521832035]},"available":true,"name":"iPhone 12\/12 Pro 犀牛盾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":"MST0118552-YB02","featured_media":{"alt":null,"id":23074599632995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb364eb6b3ea3d2627463c0300775e5194df17c.webp?v=1703057724"}},"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: "停產" }