AbanteCart Community

Shopping Cart Operations => Support => Topic started by: cookie on February 09, 2014, 09:38:50 AM

Title: Dependable options?
Post by: cookie on February 09, 2014, 09:38:50 AM
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
Title: Re: Dependable options?
Post by: abolabo on February 09, 2014, 05:04:44 PM
 relation parent-child?
Title: Re: Dependable options?
Post by: 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?

Title: Re: Dependable options?
Post by: cookie on February 12, 2014, 05:59:31 AM
any news on this one ????
Title: Re: Dependable options?
Post by: Basara on February 12, 2014, 07:03:56 AM
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 (http://www.abantecart.com/ecommerce-documentation/69-admin-user-manual/catalog-menu/global-attributes) search for 'Example for parent/child attributes'
Title: Re: Dependable options?
Post by: cookie on February 13, 2014, 04:34:51 AM
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
Title: Re: Dependable options?
Post by: abantecart on February 13, 2014, 05:23:56 PM
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.
Title: Re: Dependable options?
Post by: zoltan on August 28, 2014, 01:05:27 PM
I think this posting in would help with this topic.

http://forum.abantecart.com/index.php/topic,2627.0.html