Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2012
    Posts
    1
    Plugin Contributions
    0

    Default Dropdowns for multiple attributes + items in stock

    Hi! I'm an experienced developer, but new to Zen Cart. We have products having two attributes (size and color), but some combinations are not available. Let's say for example, that shoes of size 36 are only available in black. All other sizes are available in black and white. In my frontend, I allways see black and white in the color dropdown, even if I select size 36. I want the color dropdown to be udated based on the size selection. The next step would be, to also display the number of items in stock for a given combination.

    From my experience with software development, this should not be too hard. The required data should be small enought to be calculated in advance so it can be transfered to the page. Updating the dropdowns should just be matter of a few jQuery event handlers. I thought that probably somebody had done this before and searched for plugins/extensions, but only found solutions for older ZC versions.

    Any hint how to solve my problem? I would prefer an existing solution, but writing code is fine too. In the later case, some starting hints would be very appreciated.

    cheers,
    Achim
    Last edited by domma; 17 Nov 2012 at 10:57 AM. Reason: typo

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

    Default Re: Dropdowns for multiple attributes + items in stock

    I want the color dropdown to be udated based on the size selection
    What you are asking for are dependent attributes and ZenCart has no support for them

    Of course, being open source, one can write the code to do so
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v150 Best practices for items with multiple attributes?
    By Servelan in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 22 Feb 2012, 04:15 PM
  2. Stock By Attributes allows out of stock items through checkout!
    By kazbryan in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Dec 2011, 05:41 PM
  3. Best solution for items with multiple attributes, free or paid?
    By christopherw in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 19 Aug 2010, 05:32 PM
  4. Dynamic Dropdowns For Stock By Attributes
    By Craig Robbo in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 19 Jan 2009, 07:24 AM
  5. Product stock when you have multiple attributes for one of a kind item...
    By Boli in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 1 Oct 2008, 07:25 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR