To vote or comment, enter your email and we'll send a magic link


Preload + User selections


Preloaded facet choices should ideally show up in the User Selections box. Currently they aren't.

2 years ago

Comments (2)

Temporary solution:

document.addEventListener('facetwp-loaded', function() {
    if (! FWP.loaded) { // on pageload
        FWP.parseFacets(); // grab the selected values from the DOM
        FWP.hooks.doAction('facetwp/loaded'); // this hook rebuilds the user selections
2 years ago

This issue is fixed in FacetWP 4.2.6.

8 months ago