Shop: Open filter by default > Mobile and Desktop

This topic has 2 replies, 2 voices, and was last updated 5 years, 9 months ago ago by Rose Tyler

  • Avatar: toniup
    toniup
    Participant
    February 25, 2019 at 16:25

    The theme options allows to oper filter by default, but is it possible open filter by default in desktop mode and close filter in mobile mode ?
    thanks

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 25, 2019 at 16:43

    Hello,

    By default, there is no such possibility.
    To achieve the desired result, you need to copy archive-product.php files (xstore/woocommerce) into your child-theme/woocommerce folder and change (etheme_get_option('filter_opened')) to (etheme_get_option('filter_opened') && !get_query_var('is_mobile'))
    https://prnt.sc/mpwsz0 > https://prnt.sc/mpwx7i

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.