News:

AbanteCart v1.4.2 is released.

Main Menu

Dependable options?

Started by cookie, February 09, 2014, 09:38:50 AM

Previous topic - Next topic

cookie

Hi,

Is it possible to also have some dependable options?
For example if one specific value is selected in option one to have only specific values appear in option 2?

Thanks a lot

abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

cookie

hmm ..not sure what you mean by parent-child relationship, maybe.

What I mean is say we have 2 attributes both defined as dropdowns > the values that show in the second dropdown should depend on which option I selected in the 1st dropdown.

example:
attribute1 has possible values "Green"/"Yellow"
if I choose "Green" the second attribute should show in the dropdown the values "Broccoli" and "Peas" but if I pick "Yellow" in the 1st attribute, the second one should show for ex "Banana", "Lemon", "Pear" (values one can select from)

You know what I mean?


cookie


Basara

Quote from: cookie on February 09, 2014, 06:17:26 PM
hmm ..not sure what you mean by parent-child relationship, maybe.

What I mean is say we have 2 attributes both defined as dropdowns > the values that show in the second dropdown should depend on which option I selected in the 1st dropdown.

example:
attribute1 has possible values "Green"/"Yellow"
if I choose "Green" the second attribute should show in the dropdown the values "Broccoli" and "Peas" but if I pick "Yellow" in the 1st attribute, the second one should show for ex "Banana", "Lemon", "Pear" (values one can select from)

You know what I mean?

Hello. We have only parent-child attributes see manual search for 'Example for parent/child attributes'

cookie

Hi,
That's the thing .. that is not a real "parent-child" relationship. As it is implemented now you are actually using the pseudo-parent to group few attributes. So it's not a real parent-child relationship but a solution for "grouping attributes".
It surely isn't the same (proof the fact that the parent has no function at all other than serving as "umbrella" to group some attributes).

What I was asking about is a real parent-child relationship where selecting options in the parent has effects over the children.

Any idea how to achieve that?

Thx

abantecart

Quote from: cookie on February 13, 2014, 04:34:51 AM
What I was asking about is a real parent-child relationship where selecting options in the parent has effects over the children.
Any idea how to achieve that?
We were thinking of this in initial stage of development. This approach will complicate things in my opinion.
Currently there is no easy way to do what you describe. Slight redesign of options will be required

We can discuss this and get to some conclusion and improve. Open for ideas.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

zoltan


Forum Rules Code of conduct
AbanteCart.com 2010 -