Search function not working

Topic summary

A website’s search function has stopped working, and Shopify support indicated it’s theme-related. The site owner lacks technical expertise and cannot afford their original developer’s quote for a theme 2.0 upgrade.

Root Cause Identified:

  • The issue stems from errors in the assets/boost-pfs-init.js file
  • The site uses Boost PFS (Product Filter & Search) app for search functionality
  • These JavaScript errors prevent the Boost PFS app from functioning properly

Recommended Solution:

  • Contact the Boost PFS support team for assistance
  • The problem is not related to the theme 2.0 migration
  • A corrected version of the boost-pfs-init.js file was shared (though possibly incomplete)

Status: The discussion remains open with a technical diagnosis provided but no confirmation of resolution. The site owner needs to either reach out to Boost PFS support or find alternative developer assistance.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

Our website search function has stopped working and I had a chat with shopify and they advised that it is theme related. I have no technical ability to fix this can anyone please suggest someone who can help to resolve the issue. Please see screenshots.

Our original developer advised a few months ago to upgrade to version2.0 but their quote was something we can’t afford at the moment and I am certainly not denying their abilities are worth the charges.

Thank you very much in advance!

Hi,

you’re using Boost PFS for your search.

There is a file assets/boost-pfs-init.js which contains errors and this prevents Boost PFS App from working properly.

The problem is not related to migration to 2.0

You can probably reach out to Boost PFS team for support if your dev can’t help.

If this problem is fixed, search will work:

Here is the boost-pfs-init.js I’ve used to make it work, but it may not be full:

var boostAI_DefaultSortingValue = {
  sorting:"Sorting",
  sorting_best_selling:"Best Selling",
  sorting_featured:"Featured",
  sorting_heading:"Sorting",
  sorting_manual:"Manual",
  sorting_relevance:"Relevance",
  sorting_created_ascending:"Created Ascending",
  sorting_created_descending:"Created Descending",
  sorting_date_ascending:"Date Ascending",
  sorting_date_descending:"Date Descending",
  sorting_published_descending:"Published Descending",
  sorting_published_ascending:"Published Ascending",
  sorting_price_ascending:"Price Ascending",
  sorting_price_descending:"Price Descending",
  sorting_sale_ascending:"% Off",
  sorting_sale_descending:"% Off, Low to High",
  sorting_title_ascending:"Title Ascending",
  sorting_title_descending:"Title Descending"
};

var boostPFS = new BoostPFS;
boostPFS.init();
if( typeof boostPFSConfig != "undefined"
   && typeof boostPFSConfig.general !="undefined"
   && typeof boostPFSConfig.general.isInitFilter !="undefined"
   && boostPFSConfig.general.isInitFilter === !0
   ) {
    boostPFS.initFilter();
    BoostPFS.jQ(window).on( "load", function(){
      boostPFS.initSearchBox(),
      boostPFS.initAnalytics()
    });
}