Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    red flag Dynamic Attributes

    I know this has been asked before but has anybody actually attempted to write a Dynamic Attributes Mod?

    So if Product A is selected from Attribute 1 only attributes associated with Product A show up.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Dynamic Attributes

    I have not seen any such mod contributed
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Dynamic Attributes

    If it was straightforward to do, someone would already have done it. There are so many ways a user could want attributes to be dependent that no one mod could cover a fraction of them without becoming bloated. Writing a mod for one particular scenario would probably be easy enough for someone skilled in javascript and PHP.

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Dynamic Attributes

    Just to echo gjh42's comments... I have seen ZC sites that have constructed dependent attributes modules, but these are always bespoke and serve only the needs of the site in question. So it is possible - but as Glenn says, each user has unique needs so it is not possible to build a "one-size-fits-all" solution.
    20 years a Zencart User

  5. #5
    Join Date
    Aug 2008
    Posts
    40
    Plugin Contributions
    0

    Default Re: Dynamic Attributes

    I'm looking to do the same thing. I wonder if there would have to be entirely new code created for this mod, or if we can figure out which files would be required from the existing zen cart files then tweak those for our needs. I have a store where people can submit measurements in inches or centimeters. I would like the dependent attributes to change based on that selection.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Dynamic Attributes

    I think you would mostly just tweak the existing PHP files. The majority of the work would probably be in new javascript code to handle real-time display changes.

  7. #7
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Dynamic Attributes

    Came across this thread while reviewing some other things. Currently Stock By Attributes (unfortunately not yet posted as an updated download for at least 2 reasons but is available from github) now supports this type of construction of showing just the attributes related to the first selection as applicable for the second. It doesn't change the type of attribute that can be selected but it does adjust the values of the existing option values within the subsequent dropdowns. So, yes has a little bit of a limit, but does at least broach this topic/option.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,911
    Plugin Contributions
    96

    Default Re: Dynamic Attributes

    ... and there are commercial offerings available, too.

 

 

Similar Threads

  1. Dynamic Attributes
    By mattclements in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 Oct 2010, 08:31 AM
  2. Dynamic update of attributes?
    By Dunk in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 6 Jan 2009, 07:17 PM
  3. Dynamic attributes
    By 121webconsultancy in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 6 Jan 2009, 05:01 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