VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: panta7 on June 26, 2021, 10:32:56 AM

Title: How to create custom field with conditions?
Post by: panta7 on June 26, 2021, 10:32:56 AM
Hello there, I would like to create a search box like https://www.greenlandmx.com/int/en/motorcycle_accessories-1 (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.
Title: Re: How to create custom field with conditions?
Post by: jenkinhill on June 26, 2021, 10:45:15 AM
Try https://breakdesigns.net/extensions/joomla/custom-filters
Title: Re: How to create custom field with conditions?
Post by: panta7 on June 26, 2021, 13:48:28 PM
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
Title: Re: How to create custom field with conditions?
Post by: pinochico on June 27, 2021, 09:04:10 AM
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=

Title: Re: How to create custom field with conditions?
Post by: Studio 42 on June 28, 2021, 10:23:07 AM
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.
Title: Re: How to create custom field with conditions?
Post by: pinochico on June 28, 2021, 10:35:49 AM
To Studio 42: Thanks