• In product catalog tab below advanced options in the product filters section we were not able to change ‘Filter by product stock’ setting.
    We found out that its helper input element has an attribute named ‘data-tags’.
    It’s value (expected to be a valid JSON) contains whitespace characters and this is the cause of the problem.

    I can give an alternative solution for those who are experiencing the same issue.
    The following script executed in the console will fix the issue:

    let x = jQuery("input#product_catalog_config_filter_by_stock");
    jQuery(x).attr("data-tags", jQuery.trim(jQuery(x).attr("data-tags")));

    My question to support is the following:
    Is it a global issue and will be fixed in the future or am I the only one experiencing the issue?

    Thank you!
    Máté

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘‘Filter by product stock’ options are not showing’ is closed to new replies.