Hello Tia
I know about that bug, but its issue is in chosen js lib https://harvesthq.github.io/chosen/
What can be done in this case – its deactivating chosen for mobile view:
– open index.php
– find public function is_woof_use_chosen
– replace to:
public function is_woof_use_chosen()
{
$is = $this->get_option('use_chosen', 1);
$is = apply_filters('woof_use_chosen', $is);
return $is;
}
– use hook ‘woof_use_chosen’ in your theme functions.php:
add_filter(‘woof_use_chosen’, ‘woof_use_chosen’);
function woof_use_chosen()
{
if(wp_is_mobile())
{
return FALSE;
}
return TRUE;
}
Hook ‘woof_use_chosen’ implemented for the next update
Thanks RealMag for your quick response,
First TIA is not my name it is Thank You In Advance 🙂
Second, is it expected to solve this bug in the coming plugin updates? and if yes, when do we expect to have it? just to make it easier in the future when the theme is updated.
Regards,
Hello
TIA – Sure 😉
As I mentioned before – this script is not my https://harvesthq.github.io/chosen/ – so if it will be fixed – I will update it, now I can suggest only disable it for mobile mode …
Hi RealMAg777 !
I have the same problem… Desktop/Tablet everything runs perfect.
At the mobile version I get only 0-attributes.
Any updates from the JS ? Is it possible to use another ?
cheers !
chris
Hello
Any updates from the JS ? Is it possible to use another ? – Unfortunately no.
You can solve the problem as described above
Or disable the JS library Plugin settings->Design – Use chosen set No
@kainzner
Hello
Or you can disable chosen for mobile devices only by: http://www.woocommerce-filter.com/how-to-disable-chosen-js-lib-drop-downs-for-mobile-devices/
Its not issue of WOOF but trouble with chosen in mobile view