Author Topic: Dependable options?  (Read 7317 times)

Offline cookie

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +10/-0
    • View Profile
Dependable options?
« 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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Dependable options?
« Reply #1 on: February 09, 2014, 05:04:44 PM »
 relation parent-child?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline cookie

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +10/-0
    • View Profile
Re: Dependable options?
« Reply #2 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?


Offline cookie

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +10/-0
    • View Profile
Re: Dependable options?
« Reply #3 on: February 12, 2014, 05:59:31 AM »
any news on this one ????

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5776
  • Karma: +274/-2
    • View Profile
Re: Dependable options?
« Reply #4 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 search for 'Example for parent/child attributes'

Offline cookie

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +10/-0
    • View Profile
Re: Dependable options?
« Reply #5 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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Dependable options?
« Reply #6 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.
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

Offline zoltan

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
  • MAKE SOMETHING AWESOME EVERYDAY.
    • View Profile
    • Business Cards | Full color printing | Custom Design
Re: Dependable options?
« Reply #7 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

 

Powered by SMFPacks Social Login Mod