Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Location
    Cardiff, Wales
    Posts
    305
    Plugin Contributions
    0

    Default Different attributes for attributes

    Hi

    A client has various options of Size, for example, 2, 4, 6, 8. Then different Lengths can be chosen, for example, 20mm, 24mm, 26mm.

    But not all the Length options are available for the sizes. i.e. size 2 may have only length 20mm, whereas size 4 may have 24mm, 26mm. etc.

    Can Zxencart support this different attributes for different attributes?

    Thanks

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

    Default Re: Different attributes for attributes

    As of today, not in the current version, no.

  3. #3
    Join Date
    Jul 2006
    Location
    Cardiff, Wales
    Posts
    305
    Plugin Contributions
    0

    Default Re: Different attributes for attributes

    I already built the site when I found out they needed this

    So I worked on a solution last night.

    I installed the Grid View add on to display the tabular quantity boxes for each options, then I modified the db/code to "hide" the boxes that I do not have options for. I modified 2 things:-

    1. Added a field in the products_attributes table called "exclude_products_attributes_id" which basically stores the ID fields of attributes I do not want to display for some other attributes. Also added a textbox for this in Attrubite Controller to add the IDs.

    2. Modified the grid view add on to "hide" the quantity boxes that I have inidicated should be excluded from this attribute using the change I did in 1.

    Attached a screenshot of what it looks like.

    Thats it in a nutshell, and it seems to work. My coding, due to timescales, as usual, is not the best and probably quite crude, but I got it to work. I also modified the grid view to display the grid even when there is only 1 option, for display consistency.
    Attached Images Attached Images  

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

    Default Re: Different attributes for attributes

    Nice job.

    I thought you were asking about something different.

    There's a mod here that may do the same thing:

    http://www.zen-cart.com/index.php?ma...roducts_id=876

 

 

Similar Threads

  1. v150 new attributes appear in different area than current attributes?
    By irish_1985 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 16 Nov 2012, 06:46 AM
  2. v150 new attributes appear in different area than current attributes?
    By irish_1985 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 16 Nov 2012, 06:10 AM
  3. Different Quantities For Different Size Attributes
    By phillpal in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 5 Nov 2008, 10:03 PM
  4. Different payment methods for different product attributes
    By Krosmanitz in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 7 Mar 2008, 09:01 PM
  5. Different Max Quantities for Different Attributes
    By GardenState in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 1 Aug 2007, 05:24 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