Dependent Attributes

Started by draude on 24 Apr 2008, 9:18 AM · Views: 26,634

Results 41 to 60 of 62
14 Jun 2011, 6:51 PM
#41
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Dependent Attributes

What you are describing is dependent attributes
There is no support for them in the current ZenCart code

Zen-Venom Get Bitten

14 Jun 2011, 7:05 PM
#42
enjoiracin avatar

enjoiracin

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Dependent Attributes

That's too bad.

How about having a product displayed with two options in the listing.
Like this:

ITEM 1 ---------- Single - Combo

Each going to their own separate page to be added to the cart.

Thanks for the help!

14 Jun 2011, 7:21 PM
#43
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Dependent Attributes

You can add 2 attributes but Each going to their own separate page is something that would require custom coding and a good bit if it is to be dynamic

There are a couple of 3rd party modules that might be a starting point to custom code this
You can search them and one might be
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_60&products_id=1844

Zen-Venom Get Bitten

20 Jun 2011, 4:40 PM
#44
johnybravo avatar

johnybravo

Zen Follower

Join Date:
Jun 2011
Posts:
107
Plugin Contributions:
0

Re: Dependent Attributes

Hi,
If you look at my site https://www.curvesandcorsets.com/catalog (work in progress) I sell corsets that can be a standard size or made to measure. Is there a way of having an option of "made to measure" with a yes or no answer than when you click yes produces more options such as measurements? At the moment I am having to create a standard sizes corset catgory and a made to measure category which is fine but dosen't look as professional.
Cheers,

John

20 Jun 2011, 6:19 PM
#45
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Dependent Attributes

Is there a way of having an option of "made to measure" with a yes or no answer than when you click yes produces more options such as measurements?
What that is is "dependent attributes"
Selection of one determines others

That is not a feature that ZenCart has

Zen-Venom Get Bitten

20 Jun 2011, 6:53 PM
#46
johnybravo avatar

johnybravo

Zen Follower

Join Date:
Jun 2011
Posts:
107
Plugin Contributions:
0

Re: Dependent Attributes

Ok, are there any future plans to have it incorprated or an addon made?

20 Jun 2011, 10:24 PM
#47
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Dependent Attributes

are there any future plans to have it incorprated or an addon made?
Probably not--- as No matter what matrix coded there will be specific conditions where something more is needed making this a situation specific item

Just do the math as it grows expotentially
2 exclusive options with 2 dependents each = 3X2 - 6
2 selectable options each with 2 dependents each = 3X2X3X2 - 36

Zen-Venom Get Bitten

1 Jul 2011, 2:38 PM
#48
cg5000 avatar

cg5000

New Zenner

Join Date:
Sep 2010
Posts:
3
Plugin Contributions:
0

Re: Dependent Attributes

Hi guys,

1.) We sell a subscription based product via Zen Cart. Once the customer checks out...

We need recurring billing option/capability so that we can automatically re-charge a customer on a monthly basis (if they opt to have recurring billing)

2.) Does ZenCart Support Nested Attributes yet?

Example: We have a product X. Product X has 5 different packages. Within those packages are discounts based on the term commitment (like a 1 month package, a 3 month, 6 month etc.) Hope IM asking this right :)

1 Jul 2011, 3:10 PM
#49
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Dependent Attributes

We need recurring billing option/capability so that we can automatically re-charge a customer on a monthly basis (if they opt to have recurring billing)
3rd party module
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=612

2.) Does ZenCart Support Nested Attributes yet?
Dependent attributes support is not available

Zen-Venom Get Bitten

1 Jul 2011, 3:15 PM
#50
cg5000 avatar

cg5000

New Zenner

Join Date:
Sep 2010
Posts:
3
Plugin Contributions:
0

Re: Dependent Attributes

kobra:

3rd party module
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=612

Dependent attributes support is not available

Awesome! Thank you! Do you know if it has capabilities to send an email to the customer (like in a newsletter format) to let them know that they have been automatically re-billed?

1 Jul 2011, 3:45 PM
#51
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Dependent Attributes

Do you know if it has capabilities to send an email to the customer (like in a newsletter format) to let them know that they have been automatically re-billed?
I have not used it so no experience with it

It does state

You can administer length of subscription and everything from the admin panel.
No idea what "everything" encompasses??

Zen-Venom Get Bitten

2 Jul 2011, 5:24 PM
#52
markgrigsby avatar

markgrigsby

New Zenner

Join Date:
Jun 2008
Posts:
35
Plugin Contributions:
0

Re: Dependent Attributes

I have a need to implement dependent attributes for my site and in looking through the Zen Cart forum, lots of others seem to have this same need. So, I am willing to find someone to develop this if others are willing to chip in to pay for the mod. In order to do this, we need to agree on specifications and how much we as a group are willing to pay for someone to develop it.

If you are interested, please post to this thread.

2 Jul 2011, 8:53 PM
#53
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Dependent Attributes

markgrigsby:

In order to do this, we need to agree on specifications

That'll be the sticking point, I think, and the need to allow for all possible configurations is the main reason such a mod hasn't been created before now.

3 Jul 2011, 1:28 AM
#54
markgrigsby avatar

markgrigsby

New Zenner

Join Date:
Jun 2008
Posts:
35
Plugin Contributions:
0

Re: Dependent Attributes

I think we're looking for a best fit solution - not one that will necessarily fit everyone's needs - just most people's. I don't want something overly complicated.

20 Dec 2011, 4:10 PM
#55
eranariel avatar

eranariel

Zen Follower

Join Date:
Dec 2010
Location:
NYC
Posts:
104
Plugin Contributions:
4

Re: Dependent Attributes

<script type="text/javascript"> function setOptions(chosen) { if (chosen == "attrib-1") { var index = document.getElementById("attrib-1").selectedIndex; if (document.getElementById("attrib-1").options[index].text == 'Red') { document.getElementById('div-9-59').style.display = "none"; document.getElementById('div-9-60').style.display = "none"; document.getElementById('div-9-61').style.display = "none"; document.getElementById('div-9-62').style.display = "none"; document.getElementById('div-9-55').style.display = "block"; document.getElementById('div-9-56').style.display = "block"; document.getElementById('div-9-57').style.display = "block"; document.getElementById('div-9-58').style.display = "block"; } else { document.getElementById('div-9-55').style.display = "none"; document.getElementById('div-9-56').style.display = "none"; document.getElementById('div-9-57').style.display = "none"; document.getElementById('div-9-58').style.display = "none"; document.getElementById('div-9-59').style.display = "block"; document.getElementById('div-9-60').style.display = "block"; document.getElementById('div-9-61').style.display = "block"; document.getElementById('div-9-62').style.display = "block"; } } } </script>

started.. Let me know if you need any help![/QUOTE]

Hi,

I am trying to revise this code to do the following:
If attrib-1 value = "something-one" and attrib-2 value = "something-two", popup message "these options cannot be combined, please select different options"

I am new to JavaScript...

Can you please assist?

Thanks in advance,

Eran

6 Jan 2012, 3:07 AM
#56
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Dependent Attributes

I have been searching in the add ons area and I cannot find what I think I saw there recently.

Is there an add on that tucks away attributes that are dependent upon other attributes?

Works like this:

  1. Do you want to add a border? (Yes or No)
    If they select yes, the another attribute pops up: What border size? (Multiple options here), and last attribute: What border color? (multiple options).

I though I saw an option for this in the add ons where as if you select yes, for the first then the other options dependent upon the first show to the user. I thought it might have said it used jQuerry or javascript. But for some reason I cannot find this?

Building a better web, one site at a time: Dayton Web Design

28 Feb 2013, 2:12 PM
#57
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

Re: Dependent Attributes

I've found an addon that sort of does this.... Its in the addons section and its called "Attributes Cross-Validation" It doesn't pop up another dropdown though, it just stops the customer from adding the product to their cart if they don't select the dependant attributes and displays a warning. It could be a good starting point for changing the module to do what you want however? I would also be interested if anybody has the skills to modify it.

At the moment, the module is for v1.38, however i have changed the shopping_cart.php file for v1.39 and it seems to be working. Also, the sql file is missing a ";" at the end.

27 Apr 2013, 10:33 PM
#58
mrudden avatar

mrudden

New Zenner

Join Date:
Apr 2013
Location:
Boston, Massachusetts, United States
Posts:
10
Plugin Contributions:
0

Re: Dependent Attributes

Has anyone tried this addon with 1.5.1? It would solve an issue that I have.

Thanks!

3 May 2013, 1:03 PM
#59
monstermaker avatar

monstermaker

New Zenner

Join Date:
Apr 2013
Location:
United Kingdom
Posts:
4
Plugin Contributions:
0

Re: Dependent Attributes

I have this working in 1.5.1 and I am tidying it up now to upload as a new version.

3 May 2013, 11:29 PM
#60
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Dependent Attributes

THESE GUYS seem to have done it, using javascript ... contact them and ask them how they embedded it.

20 years a Zencart User