andreicos82 Posted May 18, 2022 Share Posted May 18, 2022 Can som one help me pls? Cand find translation for the word " Available" in products availability fliter. Is not in faceted search translation Link to comment Share on other sites More sharing options...
Prestachamps Posted May 18, 2022 Share Posted May 18, 2022 Hi, I've took a closer look, and it seems it's a Ps variable bug. The easiest way of doing it now is to edit using PHP the following file and change the code itself inside the module: /modules/ps_facetedsearch/src/Filters/block.php approximately line 434 change 'Available' to whatever you need it. $availabilityOptions = [ 0 => [ 'name' => $this->context->getTranslator()->trans( 'Not available', [], 'Modules.Facetedsearch.Shop' ), 'nbr' => 0, ], 1 => [ 'name' => $this->context->getTranslator()->trans( 'Available', [], 'Modules.Facetedsearch.Shop' ), 'nbr' => 0, ], Don't forget to clear the Module cache after. I hope it solves your problem. Cheers, Leo Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now