Home Forums WoodMart support forum Problem with selcet2 in Layered Nav (categories select)

Problem with selcet2 in Layered Nav (categories select)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #218857

    dido76bg
    Participant

    Hi!
    There is a problem with Layered Nav widget (may be others) and select2 in theme version after 4.6.0.
    The problem is with the css selector “xts-type-select2” or “xts-select2”.
    The problem apears in:
    – inc/admin/assets/js/options.js -> css selector on line 582 (may be in line 598 too);
    – inc/widgets/wph-widget-class.php -> css selector in line 491; (changing xts-type-select2 to xts-select2 solves the problem / or changing xts-select2 to xts-type-select2 in the other 2 files solves it too)
    – inc/options/controls/select/class-select.php -> class definition in line 107.

    #218874

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for purchasing our theme and contacting our support center.

    Be sure that you have updated our theme to the latest version correctly.
    If it will not help, please, describe where is the problem on your website and send us a link so we can check.

    Kind Regards
    XTemos Studio

    #218877

    dido76bg
    Participant

    Hi!

    Great theme!

    Facing the described problen after update I have made a clean install with wp 5.5.0 and woodmart 5.1.0 on localhost (no additional plugins).

    Just check and compare “inc/admin/assets/js/options.js” and “inc/options/controls/select/class-select.php” as described above or change selector in “inc/widgets/wph-widget-class.php” for the feature update if needed.

    See the attached images.

    I have solved the problem for myself.

    Best Regards!

    Attachments:
    You must be logged in to view attached files.
    #218930

    Artem Temos
    Keymaster

    Yes, it seems to be a bug in our latest update. We will fix this in our next release. Thank you for the report.

    #221264

    dido76bg
    Participant

    Hi!

    In the last update 5.2.0, you have made changes in “inc/admin/assets/js/options.js” and “inc/options/controls/select/class-select.php”, but the broblem is still there.

    If you change the class tag in “inc/widgets/wph-widget-class.php” – line 491 from “xts-select xts-type-select2” to “xts-select xts-select2” everything works fine.

    Best regards

    #221281

    Artem Temos
    Keymaster

    Hello,

    We are very sorry for the inconvenience. This fix will be a part of our 5.2.1 update.

    Kind Regards

Viewing 6 posts - 1 through 6 (of 6 total)