Okay
  Print

How to translate word "price" of the search engine.

you use module ptsblocksearch and you want to translate word "price" but you can not find a way to translate this word into other lanuage, you can follow these steps to fix it:

1.  Replace code in file ptsblocksearch-instantsearch.tpl at module and theme

link module : ROOT\modules\ptsblocksearch\views\templates\hook

link theme : themes\theme_name\modules\ptsblocksearch\views\templates\hook

REPLACE

value: '<img class="pull-left" src="'+ data[i].image+'" style="margin-right:10px;"><div class="name">'+ data[i].pname +'</div><div class="price">Price '+ data[i].dprice +'</div> '

BY

value: '<img class="pull-left" src="'+ data[i].image+'" style="margin-right:10px;"><div class="name">'+ data[i].pname +'</div><div class="price">{l s='Price' mod='ptsblocksearch'} '+ data[i].dprice +'</div> '


2. Translate it at ptsblocksearch module


Thanks