Forums Forums Search & Filter Pro Using Divi Shop Module

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #140748

    I think this code needs to be adjusted to work on the new Divi Shop Module — not sure.

    <script>(function ( $ ) {
    “use strict”;
    $(document).on(“sf:ajaxfinish”, “.searchandfilter”, function(){
    console.log(“ajax complete”);
    var grids = document.getElementsByClassName(‘et_pb_salvattore_content’);
    salvattore[‘register_grid’](grids[0]);
    salvattore[‘recreate_columns’](grids[0]);
    });

    }(jQuery));</script>

    See page https://ppusa2017.wpengine.com/candidates/. The page requires a login to view ppusa2017 and HcllcUsa1%

    I have followed the instructions on using Divi with Search & Filter

    Trevor
    #140926

    As far as I know, the Divi Shop Module is not the same as the Blog module. The shop module appears to simply modify the standard WooCommerce shop pages, so you should not need to use the Custom method. It should work OK as the standard WooCommerce display results method, and the page in where the Divi Shop Module is being used should be the WooCommerce shop page. That means no need for the filter_next_query shortcode nor the above script.

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