$product = {"id":7163917729891,"title":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡","handle":"iphone-14-pro-max-solidsuit-classic-magsafe-pl64","description":null,"published_at":"2024-01-30T12:05:45+08:00","created_at":"2024-01-30T09:54:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-Snoopy 史努比","tags":["20%","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 14 Pro Max","merge","reseller-solidsuit-magsafe-snoopy","Top50","type-Solidsuit MagSafe"],"price":135000,"price_min":135000,"price_max":135000,"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":41234868240483,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126352-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865353113699,"product_id":7163917729891,"position":5,"created_at":"2024-01-30T09:54:20+08:00","updated_at":"2024-01-30T09:54:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0204c6232cc8f623205d9ff0fac6d01f3705d4b1.webp?v=1706579660","variant_ids":[41234868240483]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126352-PL64","featured_media":{"alt":null,"id":23236706205795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0204c6232cc8f623205d9ff0fac6d01f3705d4b1.webp?v=1706579660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868273251,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0126353-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865358717027,"product_id":7163917729891,"position":11,"created_at":"2024-01-30T09:54:34+08:00","updated_at":"2024-01-30T09:54:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76f78d6aee64bab0899bf2fb5df55d52213004ac.webp?v=1706579674","variant_ids":[41234868273251]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - White","public_title":"White","options":["White"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126353-PL64","featured_media":{"alt":null,"id":23236711809123,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76f78d6aee64bab0899bf2fb5df55d52213004ac.webp?v=1706579674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868437091,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01263O9-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865354162275,"product_id":7163917729891,"position":6,"created_at":"2024-01-30T09:54:22+08:00","updated_at":"2024-01-30T09:54:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2e65c8e50c97d318d1b57bf4abf248af54fe44.webp?v=1706579662","variant_ids":[41234868437091]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263O9-PL64","featured_media":{"alt":null,"id":23236707254371,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2e65c8e50c97d318d1b57bf4abf248af54fe44.webp?v=1706579662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868469859,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"MST01263P0-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865362059363,"product_id":7163917729891,"position":14,"created_at":"2024-01-30T09:54:40+08:00","updated_at":"2024-01-30T09:54:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a35d2ef0ca70e9051e7fefa8064559a7fb210f3.webp?v=1706579680","variant_ids":[41234868469859]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263P0-PL64","featured_media":{"alt":null,"id":23236715151459,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a35d2ef0ca70e9051e7fefa8064559a7fb210f3.webp?v=1706579680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868535395,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01263P2-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865357799523,"product_id":7163917729891,"position":10,"created_at":"2024-01-30T09:54:31+08:00","updated_at":"2024-01-30T09:54:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2dbc6c845568431ad1d99ba035f2b5f3a622f2.webp?v=1706579671","variant_ids":[41234868535395]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263P2-PL64","featured_media":{"alt":null,"id":23236710891619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2dbc6c845568431ad1d99ba035f2b5f3a622f2.webp?v=1706579671"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868568163,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01263Z7-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865351934051,"product_id":7163917729891,"position":4,"created_at":"2024-01-30T09:54:18+08:00","updated_at":"2024-01-30T09:54:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780bd9e772a8551ff166781b3d27fbb0d8547c3d.webp?v=1706579658","variant_ids":[41234868568163]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263Z7-PL64","featured_media":{"alt":null,"id":23236705026147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780bd9e772a8551ff166781b3d27fbb0d8547c3d.webp?v=1706579658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868666467,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST012630A-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865355178083,"product_id":7163917729891,"position":7,"created_at":"2024-01-30T09:54:24+08:00","updated_at":"2024-01-30T09:54:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df61c99dde9ffb6d858b82353808d604c3195cc4.webp?v=1706579664","variant_ids":[41234868666467]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630A-PL64","featured_media":{"alt":null,"id":23236708270179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df61c99dde9ffb6d858b82353808d604c3195cc4.webp?v=1706579664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868699235,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012630B-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865356193891,"product_id":7163917729891,"position":8,"created_at":"2024-01-30T09:54:27+08:00","updated_at":"2024-01-30T09:54:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/007d16fa7dfe27c251bd24eb10f9c6573907b427.webp?v=1706579667","variant_ids":[41234868699235]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630B-PL64","featured_media":{"alt":null,"id":23236709285987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/007d16fa7dfe27c251bd24eb10f9c6573907b427.webp?v=1706579667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868764771,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012630F-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865356947555,"product_id":7163917729891,"position":9,"created_at":"2024-01-30T09:54:29+08:00","updated_at":"2024-01-30T09:54:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b335bec71e900dc8f0a54611eeee3bb1336ddf88.webp?v=1706579669","variant_ids":[41234868764771]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630F-PL64","featured_media":{"alt":null,"id":23236710039651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b335bec71e900dc8f0a54611eeee3bb1336ddf88.webp?v=1706579669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868797539,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012630C-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865364418659,"product_id":7163917729891,"position":16,"created_at":"2024-01-30T09:54:45+08:00","updated_at":"2024-01-30T09:54:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877af7761123a2b25ff4d66433cc1dee28fc78fb.webp?v=1706579685","variant_ids":[41234868797539]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630C-PL64","featured_media":{"alt":null,"id":23236717510755,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877af7761123a2b25ff4d66433cc1dee28fc78fb.webp?v=1706579685"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868830307,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012630E-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865365434467,"product_id":7163917729891,"position":17,"created_at":"2024-01-30T09:54:47+08:00","updated_at":"2024-01-30T09:54:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67b6769e106c586f25a58d72da2491a279a686b.webp?v=1706579687","variant_ids":[41234868830307]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630E-PL64","featured_media":{"alt":null,"id":23236718526563,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67b6769e106c586f25a58d72da2491a279a686b.webp?v=1706579687"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa238cb712ea388ca74396c693f1a9f76f73fea.webp?v=1706579651","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca9a263c30bdfc6f669f124c5a77fd74f07ecd99.webp?v=1706579653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8334fe53eece3fd159a88f7fcb7d769e6cb76058.webp?v=1706579655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780bd9e772a8551ff166781b3d27fbb0d8547c3d.webp?v=1706579658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0204c6232cc8f623205d9ff0fac6d01f3705d4b1.webp?v=1706579660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2e65c8e50c97d318d1b57bf4abf248af54fe44.webp?v=1706579662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df61c99dde9ffb6d858b82353808d604c3195cc4.webp?v=1706579664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/007d16fa7dfe27c251bd24eb10f9c6573907b427.webp?v=1706579667","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b335bec71e900dc8f0a54611eeee3bb1336ddf88.webp?v=1706579669","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2dbc6c845568431ad1d99ba035f2b5f3a622f2.webp?v=1706579671","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76f78d6aee64bab0899bf2fb5df55d52213004ac.webp?v=1706579674","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e71213b0d1686d4d11ca762a1ceed05c09f39cf.webp?v=1706579676","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a3f0481b5f486566817f4da9317c0467602fc.webp?v=1706579678","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a35d2ef0ca70e9051e7fefa8064559a7fb210f3.webp?v=1706579680","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82a92e1227e15c1a558e78908162ebda85ab841.webp?v=1706579683","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877af7761123a2b25ff4d66433cc1dee28fc78fb.webp?v=1706579685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67b6769e106c586f25a58d72da2491a279a686b.webp?v=1706579687"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa238cb712ea388ca74396c693f1a9f76f73fea.webp?v=1706579651","options":["color"],"media":[{"alt":null,"id":23236702011491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa238cb712ea388ca74396c693f1a9f76f73fea.webp?v=1706579651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baa238cb712ea388ca74396c693f1a9f76f73fea.webp?v=1706579651","width":2000},{"alt":null,"id":23236702994531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca9a263c30bdfc6f669f124c5a77fd74f07ecd99.webp?v=1706579653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca9a263c30bdfc6f669f124c5a77fd74f07ecd99.webp?v=1706579653","width":2000},{"alt":null,"id":23236704043107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8334fe53eece3fd159a88f7fcb7d769e6cb76058.webp?v=1706579655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8334fe53eece3fd159a88f7fcb7d769e6cb76058.webp?v=1706579655","width":2000},{"alt":null,"id":23236705026147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780bd9e772a8551ff166781b3d27fbb0d8547c3d.webp?v=1706579658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780bd9e772a8551ff166781b3d27fbb0d8547c3d.webp?v=1706579658","width":2000},{"alt":null,"id":23236706205795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0204c6232cc8f623205d9ff0fac6d01f3705d4b1.webp?v=1706579660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0204c6232cc8f623205d9ff0fac6d01f3705d4b1.webp?v=1706579660","width":2000},{"alt":null,"id":23236707254371,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2e65c8e50c97d318d1b57bf4abf248af54fe44.webp?v=1706579662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2e65c8e50c97d318d1b57bf4abf248af54fe44.webp?v=1706579662","width":2000},{"alt":null,"id":23236708270179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df61c99dde9ffb6d858b82353808d604c3195cc4.webp?v=1706579664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df61c99dde9ffb6d858b82353808d604c3195cc4.webp?v=1706579664","width":2000},{"alt":null,"id":23236709285987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/007d16fa7dfe27c251bd24eb10f9c6573907b427.webp?v=1706579667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/007d16fa7dfe27c251bd24eb10f9c6573907b427.webp?v=1706579667","width":2000},{"alt":null,"id":23236710039651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b335bec71e900dc8f0a54611eeee3bb1336ddf88.webp?v=1706579669"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b335bec71e900dc8f0a54611eeee3bb1336ddf88.webp?v=1706579669","width":2000},{"alt":null,"id":23236710891619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2dbc6c845568431ad1d99ba035f2b5f3a622f2.webp?v=1706579671"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2dbc6c845568431ad1d99ba035f2b5f3a622f2.webp?v=1706579671","width":2000},{"alt":null,"id":23236711809123,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76f78d6aee64bab0899bf2fb5df55d52213004ac.webp?v=1706579674"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76f78d6aee64bab0899bf2fb5df55d52213004ac.webp?v=1706579674","width":2000},{"alt":null,"id":23236712726627,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e71213b0d1686d4d11ca762a1ceed05c09f39cf.webp?v=1706579676"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e71213b0d1686d4d11ca762a1ceed05c09f39cf.webp?v=1706579676","width":2000},{"alt":null,"id":23236713644131,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a3f0481b5f486566817f4da9317c0467602fc.webp?v=1706579678"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/736a3f0481b5f486566817f4da9317c0467602fc.webp?v=1706579678","width":2000},{"alt":null,"id":23236715151459,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a35d2ef0ca70e9051e7fefa8064559a7fb210f3.webp?v=1706579680"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a35d2ef0ca70e9051e7fefa8064559a7fb210f3.webp?v=1706579680","width":2000},{"alt":null,"id":23236716724323,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82a92e1227e15c1a558e78908162ebda85ab841.webp?v=1706579683"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82a92e1227e15c1a558e78908162ebda85ab841.webp?v=1706579683","width":2000},{"alt":null,"id":23236717510755,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877af7761123a2b25ff4d66433cc1dee28fc78fb.webp?v=1706579685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877af7761123a2b25ff4d66433cc1dee28fc78fb.webp?v=1706579685","width":2000},{"alt":null,"id":23236718526563,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67b6769e106c586f25a58d72da2491a279a686b.webp?v=1706579687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67b6769e106c586f25a58d72da2491a279a686b.webp?v=1706579687","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41234868240483,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126352-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865353113699,"product_id":7163917729891,"position":5,"created_at":"2024-01-30T09:54:20+08:00","updated_at":"2024-01-30T09:54:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0204c6232cc8f623205d9ff0fac6d01f3705d4b1.webp?v=1706579660","variant_ids":[41234868240483]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126352-PL64","featured_media":{"alt":null,"id":23236706205795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0204c6232cc8f623205d9ff0fac6d01f3705d4b1.webp?v=1706579660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868273251,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0126353-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865358717027,"product_id":7163917729891,"position":11,"created_at":"2024-01-30T09:54:34+08:00","updated_at":"2024-01-30T09:54:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76f78d6aee64bab0899bf2fb5df55d52213004ac.webp?v=1706579674","variant_ids":[41234868273251]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - White","public_title":"White","options":["White"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126353-PL64","featured_media":{"alt":null,"id":23236711809123,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76f78d6aee64bab0899bf2fb5df55d52213004ac.webp?v=1706579674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868437091,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01263O9-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865354162275,"product_id":7163917729891,"position":6,"created_at":"2024-01-30T09:54:22+08:00","updated_at":"2024-01-30T09:54:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2e65c8e50c97d318d1b57bf4abf248af54fe44.webp?v=1706579662","variant_ids":[41234868437091]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263O9-PL64","featured_media":{"alt":null,"id":23236707254371,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2e65c8e50c97d318d1b57bf4abf248af54fe44.webp?v=1706579662"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868469859,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"MST01263P0-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865362059363,"product_id":7163917729891,"position":14,"created_at":"2024-01-30T09:54:40+08:00","updated_at":"2024-01-30T09:54:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a35d2ef0ca70e9051e7fefa8064559a7fb210f3.webp?v=1706579680","variant_ids":[41234868469859]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263P0-PL64","featured_media":{"alt":null,"id":23236715151459,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a35d2ef0ca70e9051e7fefa8064559a7fb210f3.webp?v=1706579680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868535395,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01263P2-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865357799523,"product_id":7163917729891,"position":10,"created_at":"2024-01-30T09:54:31+08:00","updated_at":"2024-01-30T09:54:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2dbc6c845568431ad1d99ba035f2b5f3a622f2.webp?v=1706579671","variant_ids":[41234868535395]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263P2-PL64","featured_media":{"alt":null,"id":23236710891619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a2dbc6c845568431ad1d99ba035f2b5f3a622f2.webp?v=1706579671"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868568163,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01263Z7-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865351934051,"product_id":7163917729891,"position":4,"created_at":"2024-01-30T09:54:18+08:00","updated_at":"2024-01-30T09:54:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780bd9e772a8551ff166781b3d27fbb0d8547c3d.webp?v=1706579658","variant_ids":[41234868568163]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263Z7-PL64","featured_media":{"alt":null,"id":23236705026147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780bd9e772a8551ff166781b3d27fbb0d8547c3d.webp?v=1706579658"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868666467,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST012630A-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865355178083,"product_id":7163917729891,"position":7,"created_at":"2024-01-30T09:54:24+08:00","updated_at":"2024-01-30T09:54:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df61c99dde9ffb6d858b82353808d604c3195cc4.webp?v=1706579664","variant_ids":[41234868666467]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630A-PL64","featured_media":{"alt":null,"id":23236708270179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df61c99dde9ffb6d858b82353808d604c3195cc4.webp?v=1706579664"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868699235,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012630B-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865356193891,"product_id":7163917729891,"position":8,"created_at":"2024-01-30T09:54:27+08:00","updated_at":"2024-01-30T09:54:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/007d16fa7dfe27c251bd24eb10f9c6573907b427.webp?v=1706579667","variant_ids":[41234868699235]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630B-PL64","featured_media":{"alt":null,"id":23236709285987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/007d16fa7dfe27c251bd24eb10f9c6573907b427.webp?v=1706579667"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868764771,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012630F-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865356947555,"product_id":7163917729891,"position":9,"created_at":"2024-01-30T09:54:29+08:00","updated_at":"2024-01-30T09:54:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b335bec71e900dc8f0a54611eeee3bb1336ddf88.webp?v=1706579669","variant_ids":[41234868764771]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630F-PL64","featured_media":{"alt":null,"id":23236710039651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b335bec71e900dc8f0a54611eeee3bb1336ddf88.webp?v=1706579669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868797539,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012630C-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865364418659,"product_id":7163917729891,"position":16,"created_at":"2024-01-30T09:54:45+08:00","updated_at":"2024-01-30T09:54:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877af7761123a2b25ff4d66433cc1dee28fc78fb.webp?v=1706579685","variant_ids":[41234868797539]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630C-PL64","featured_media":{"alt":null,"id":23236717510755,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/877af7761123a2b25ff4d66433cc1dee28fc78fb.webp?v=1706579685"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41234868830307,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012630E-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865365434467,"product_id":7163917729891,"position":17,"created_at":"2024-01-30T09:54:47+08:00","updated_at":"2024-01-30T09:54:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67b6769e106c586f25a58d72da2491a279a686b.webp?v=1706579687","variant_ids":[41234868830307]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630E-PL64","featured_media":{"alt":null,"id":23236718526563,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e67b6769e106c586f25a58d72da2491a279a686b.webp?v=1706579687"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41234868240483,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126352-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":30865353113699,"product_id":7163917729891,"position":5,"created_at":"2024-01-30T09:54:20+08:00","updated_at":"2024-01-30T09:54:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0204c6232cc8f623205d9ff0fac6d01f3705d4b1.webp?v=1706579660","variant_ids":[41234868240483]},"available":true,"name":"iPhone 14 Pro Max 犀牛盾SolidSuit (MagSafe 兼容)聯名設計款防摔背蓋手機殼 Snoopy 史努比 - 愛心墨鏡 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126352-PL64","featured_media":{"alt":null,"id":23236706205795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0204c6232cc8f623205d9ff0fac6d01f3705d4b1.webp?v=1706579660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}