Author Topic: customfields search with AND operator  (Read 518 times)

Alieno79

  • Beginner
  • *
  • Posts: 5
  • A beginner
customfields search with AND operator
« on: December 29, 2017, 17:09:16 pm »
Hello, I have on the inserted products of the "customfield" and I have enabled them for the searches.
When I search through the various options I would like to have the opportunity to search through options A and B. ..and currently he finds all the products that correspond to A or B.

Solutions? Thank you

Sorry if there are errors in writing but I translate via google.

Alieno79

  • Beginner
  • *
  • Posts: 5
  • A beginner
SOLVED: customfields search with AND operator
« Reply #1 on: December 30, 2017, 16:42:02 pm »
Problema risolto aggiungendo un contatore e un ciclo che tiene conto del numero di customfields utilizzati creando le joinedTables di conseguenza.
Se può tornare utile a qualcuno posto la modifica. Grazie comunque a tutti :)

Buone feste!

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27277
  • Always on vacation
    • Jenkin Hill Internet
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10026 on Joomla 3.9.4 PHP 7.0.33
Testing VM 3.4.3.10026 on Joomla 3.9.4