# Has anyone had issues with Product Filters for WooCommerce?

**URL:** https://discourse.roots.io/t/has-anyone-had-issues-with-product-filters-for-woocommerce/19455
**Category:** sage
**Tags:** woocommerce
**Created:** 2020-11-05T17:49:41Z
**Posts:** 9

## Post 1 by @pmceldowney — 2020-11-05T17:49:41Z

The filters are showing on my shop page but I can’t click anything and I’m getting this console error `Uncaught Error: Component prototype by entity key 'Project' not found`. Switching to a default theme fixes it so I wasn’t sure if anyone has run into the same issue. This is a fairly fresh build so I haven’t done a whole lot of theme customization yet

---

## Post 2 by @strarsis — 2020-11-07T01:58:49Z

A console error, so a JavaScript error? Are you using the Soil plugin with the Sage theme?  
Any enqueued scripts that are missing or DOM changed?

> **[roots/sage-woocommerce](https://github.com/roots/sage-woocommerce)**
>
> WooCommerce integration for Sage 9 themes. Contribute to roots/sage-woocommerce development by creating an account on GitHub.

---

## Post 3 by @pmceldowney — 2020-11-09T15:22:16Z

Yeah, it appears to coming from a plugin.min.js file. So it doesn’t appear to be anything specific with. WooCommerce, just the javascript that came with this plugin isn’t get enqueued. i am using the soil plugin. When I install a plugin do I need to enqueue it’s minified javascripts files in my theme?

---

## Post 4 by @strarsis — 2020-11-09T15:56:38Z

When you temporarily disable the soil plugin, does the filter work then?  
If so, it may be a bug with soil or missing configuration.

---

## Post 5 by @pmceldowney — 2020-11-09T16:03:06Z

Yup, that fixed it. This is my current soil config

```
add_theme_support('soil', [
    'clean-up',
    'disable-asset-versioning',
    'disable-trackbacks',
    'js-to-footer',
    'nav-walker',
    'nice-search',
    'relative-urls'
]);
```

---

## Post 6 by @strarsis — 2020-11-09T17:55:42Z

So this seems to be a plugin incompatiblity with soil - or missing soil configuration.

---

## Post 7 by @alwaysblank — 2020-11-09T18:36:49Z

Try removing `js-to-footer`

---

## Post 8 by @pmceldowney — 2020-11-09T20:33:14Z

Yup that fixed it, thanks for the help!

---

## Post 9 by @pmceldowney — 2020-11-09T20:35:35Z

I’m just going to combine the thread. Thanks to @alwaysblank and @strarsis for the fix.

This ended up being a conflict with the roots/soil plugin. Removing the `js-to-footer` from config fixed the conflict.

```
add_theme_support('soil', [
    'clean-up',
    'disable-asset-versioning',
    'disable-trackbacks',
    'js-to-footer', // REMOVE This line
    'nav-walker',
    'nice-search',
    'relative-urls'
]);
```

---

## Post 10 by @system — 2020-12-17T17:49:43Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
