Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Posts
    19
    Plugin Contributions
    0

    Default One Attribute depends on another Attribute

    Hello,

    I have searched for the answer and I am having difficulty in making it work. However, I would like one attribute to be dependent on another attribute.

    this is a link to exactly what I would like
    http://www.gitman.com/prod_detail_li...2-ply-pinpoint

    example: I sell dress shirts for men that come in neck sizes and sleeve length.

    neck size 14.5 only comes in sleeve length 32 and 33
    neck size 15.5 only comes in sleeve lenght 32, 33,34,35,36.

    So, I want to enter all the neck sizes in one drop down and all the sleeve sizes in another drop down. But if you chose neck size 14.5 the other option name sleeve size will only give you the option of 32 and 33.

    Can this be done in zen cart? Thank you in advance for any help!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: One Attribute depends on another Attribute

    Short answer, no. Zencart doesn't include dependent attributes, and writing a mod for them must be a very difficult task, since this question has been asked many times and no one has stepped up to do so.

  3. #3
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: One Attribute depends on another Attribute

    Its quite challenging to make a mod that is very general, which is that you can customise it from the admin with a arbitrary number of attributes.

    However, for your problem, you can hard code something with Javascript, that shows the next attributes after the size if selected and restricts choices in the drop down box. However, its not very flexible and not easy to maintain and update.

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: One Attribute depends on another Attribute

    You can check out this Mod: Dropdown Attribute Filters

    Although it is a pay for module and I have never used it, I can vouch for the person who created the mod. I have worked with him with other custom modules he created for Zen Cart, some were very complicated, and he knows what he is doing.

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: One Attribute depends on another Attribute

    What about the Stock By Attributes mod?
    20 years a Zencart User

  6. #6
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: One Attribute depends on another Attribute

    Indeed this can help you. Havent used it myself, but you can find more information in this thread.

 

 

Similar Threads

  1. One attribute based on another attribute?
    By Ripper in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 25 Oct 2012, 08:14 PM
  2. Attribute 2 depends on attribute 1
    By liderbug in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 19 Sep 2009, 04:02 AM
  3. Mandatory One Attribute Or Another
    By jbowshaw in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Apr 2008, 03:53 AM
  4. One attribute involking another
    By SimplyJoe in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 29 May 2007, 04:16 AM
  5. Choosing one attribute negates another attribute
    By emiLy in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Apr 2007, 06:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg