[Skip to main content](#vessel-content)

#   champs de recherche

##

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2706
- Thank you received: 74
-
-

14 years 7 months ago -  14 years 7 months ago [\#49327](#49327) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[champs de recherche](/forum/5-support-en-francais-french-support-/49327-champs-de-recherche#49327 "Bonjour  dans ./plugins/search/hikashop&#95;products/hikashop&#95;products.php j'ai essaye d'augmenter les champs de recherche  et plus loin  je veux chercher sur tous les champs que j'ai mis dans $fields mais ça ne marche pas , que faut il modifier ?  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

Bonjour

dans ./plugins/search/hikashop_products/hikashop_products.php j'ai essaye d'augmenter les champs de recherche
Code:

if(empty($fields)){ $fields = array('product_name','product_description','product_keywords','product_meta_description','cle'); }else{ $fields = explode(',',$fields); }

et plus loin
Code:

$select = ' a.product_id AS id, a.product_name, a.product_created AS created , a.product_description ,a.product_meta_description,a.product_keywords,a.cle, "'.$new_page.'" AS browsernav';

je veux chercher sur tous les champs que j'ai mis dans $fields mais ça ne marche pas , que faut il modifier ?

merci

Last edit: 14 years 7 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNDkzMjctY2hhbXBzLWRlLXJlY2hlcmNoZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

14 years 6 months ago [\#49375](#49375) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: champs de recherche](/forum/5-support-en-francais-french-support-/49327-champs-de-recherche#49375 "Bonjour  dans ./plugins/search/hikashop&#95;products/hikashop&#95;products.php j'ai essaye d'augmenter les champs de recherche  et plus loin  je veux chercher sur tous les champs que j'ai mis dans $fields mais ça ne marche pas , que faut il modifier ?  merci")*

Il n'y a pas besoin de changer le code pour cela. Il suffit de sélectionner les champs que vous voulez dans les options du plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNDkzMjctY2hhbXBzLWRlLXJlY2hlcmNoZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2706
- Thank you received: 74
-
-

14 years 6 months ago [\#49379](#49379) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Re: champs de recherche](/forum/5-support-en-francais-french-support-/49327-champs-de-recherche#49379 "Bonjour  dans ./plugins/search/hikashop&#95;products/hikashop&#95;products.php j'ai essaye d'augmenter les champs de recherche  et plus loin  je veux chercher sur tous les champs que j'ai mis dans $fields mais ça ne marche pas , que faut il modifier ?  merci")*

mince c'est vrai ... c'te manie de regarder le code

merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNDkzMjctY2hhbXBzLWRlLXJlY2hlcmNoZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
