Jump to content

Changes in facet.tpl not showing


Recommended Posts

I'm trying to costumize the filter in my product category page, the module I'm using is faceted search, I know the smarty code relative to the filter is on /themes/classic/templates/catalogue/_partials/facets.tpl , but when I change something there , the front end doesn't update.

I have tried:

- Clearing browser cache

- Clearing prestashop cache

- Clearing smarty cache manually ( in chache/smarty/cache and cache/smarty/compile)

- Forcing compile

But nothing seems to work.

Link to comment
Share on other sites

  • 1 month later...

As it turns out template in /themes/name/templates/catalog/_partials/facets.tpl is not taken into consideration while rendering faceted search page / category. In order to modify template contents, overwrite ps_facetedsearch module's template. It is located in \modules\ps_facetedsearch\views\templates\front\catalog\facets.tpl

This very issue has been documented here: https://github.com/PrestaShop/PrestaShop/issues/24432

Edited by Piotr Adamczyk (see edit history)
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...