We need to load the widget from Desktop view only. However, the website we worked on uses a cookie and mobile user agent detection to switch the interface and users can force changing the view between mobile version and desktop version.
The problem is that when people visit the website from desktop but prefers to view in mobile interface, the floating widget is still loading.
I need help figuring out a way to load the floating widget using a function call from my theme so it only loads when the conditions met.
Please advise!