Author Topic: Multivariant dropdown fields display  (Read 181 times)

behemoth

  • Jr. Member
  • **
  • Posts: 76
Multivariant dropdown fields display
« on: May 23, 2019, 13:36:03 pm »
Joomla! 3.9.6
VirtueMart 3.4.2

I have a parent product with two options that redirect to child products. It all seems to work properly, except the second dropdown isn't populated until the first is selected. Hopefully the attached image will clarify things.

  • The top picture shows my two fields.
  • The second shows that all the options for the first field are visible.
  • The third shows that none of the options for the second field are visible.
  • The last image shows that once one of the options are selected for the first field, the second is populated.


Can I do something about this? It's going to confuse shoppers.

Cheers,
Ian

StefanSTS

  • Global Moderator
  • Jr. Member
  • *
  • Posts: 290
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: Multivariant dropdown fields display
« Reply #1 on: May 23, 2019, 14:02:20 pm »
You can choose, that the parent is visible and got the first option chosen, or all options, so the customer can see e.g. the most used case.

The dependency goes from the first to the last field, so it's on you to make a logical structure your customers can follow.

One way would be to display the second field only if the first is chosen. But there are a lot of ways so you have to find the best for your specific task.

Regards
Stefan
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

behemoth

  • Jr. Member
  • **
  • Posts: 76
Re: Multivariant dropdown fields display
« Reply #2 on: May 23, 2019, 14:09:26 pm »
Hi Stefan,

Thanks for your response.

I'm not sure I fully understand. Are you saying that I'm free to reorder the fields but there will always be a requirement to select the first one before the next shows all the options?

If I've misunderstood, can you point me to the right bit of configuration to be able to do what I want?

Cheers,
Ian

StefanSTS

  • Global Moderator
  • Jr. Member
  • *
  • Posts: 290
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: Multivariant dropdown fields display
« Reply #3 on: May 23, 2019, 14:30:20 pm »
In your tab custom fields you can change the order of the fields.

The child products that you generate in that view will always have the dependency you said.
You have to choose an option to see the next.

That is why some choose to have the parent shown there in the first row to have a possible combination of the available field values.
If you have 2 field with both having 4 options. And you have the parent and seven child products, you can display all combinations, because you have 2 x 4 = 8 products.

So choosing the parent to be a valid combination, you allways have all fields filled.

If there are combinations of the fields that are not used, you should sort the fields by the most important feature that people would choose first to the least important.

--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

behemoth

  • Jr. Member
  • **
  • Posts: 76
Re: Multivariant dropdown fields display
« Reply #4 on: May 23, 2019, 15:00:31 pm »
I see.

It's not what I want but thank you for explaining. I want the parent to be a generic product and not actually purchaseable. It sounds like I can't quite do what I was hoping for. Oh well...