News:

Looking for documentation? Take a look on our wiki

Main Menu

Multivariant dropdown fields display

Started by behemoth, May 23, 2019, 13:36:03 PM

Previous topic - Next topic

behemoth

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

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

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

behemoth

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

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

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

behemoth

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...