News:

Support the VirtueMart project and become a member

Main Menu

How to create custom field with conditions?

Started by panta7, June 26, 2021, 10:32:56 AM

Previous topic - Next topic

panta7

Hello there, I would like to create a search box like https://www.greenlandmx.com/int/en/motorcycle_accessories-1 (view "Select your motorcycle").
"Type"'s select is active only if "brand"'s select is choosen. "Year"'s select and "model"'s select works as "type".
Ho can I make this search box with VirtueMart, please? Thanks a lot.

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

panta7

Thank, it sounds good.
What do you suggest to me for backend management? It's better to create custom fields or/and multivariand products?
What I would like as final output is to show only the products that have: the selected "brand" + the selected "type" + the selected "year" + the selected "model" (and not or). Thanks

pinochico

#3
QuoteWhat do you suggest to me for backend management? It's better to create custom fields or/and multivariand products?
What I would like as final output is to show only the products that have: the selected "brand" + the selected "type" + the selected "year" + the selected "model" (and not or). Thanks

1. Nice project manager hard work - do you really think you catch up on this forum as free?
2. Nice custom develop with CF Filtering by Breakdesign - you have to install, develop and try and try and try - do you really think this work you can't do it, only ask on this forum?

You can check on this:
https://www.kolo-park.cz/obchod/kola-a-elektrokola/radit_podle,datum_vytvoreni?keyword=

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Studio 42

You have many solution
For eg https://www.cleancut.se/butik/knivmodeller/allknivar
I done the filter, it use AND for each filter type but OR for the values.

pinochico

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products