Je suis passé en 2.3.4.
Je suis péniblement arriver à faire plus ou moins fonctionner l'argument search_in,
notamment en intégrant ceci : https://github.com/zzuutt/thelia/commit … df2f872ae1
La recherche à l'air de fonctionner sur la description.
Je ne suis pas arriver à comprendre si il fallait mettre un espace entre chaque champ, comme le dit la doc : "ref,title" ou "ref, title"
Dans le cas ou je met un espace : InvalidArgumentException in BaseLoop.php line 302:
En tout cas, le problème se situe dès qu'un mot contient des accents, il n'y a aucun résultat.
Voila ma boucle :
{loop type="product" name="product_list" search_in="ref,title,description" search_mode="any_word" search_term={$smarty.get.q} limit=$limit page=$product_page order=$product_order}
{include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="369" height="247"}
{/loop}
Last edited by vz777 (25-09-2018 23:16:54)