Skip to Content
author's profile photo Former Member
Former Member

Sorting attributes of PLM

I have a Product Line Master containing parts with size attributes (S,M,L) but the size dropdown is appearing alphabetically (L, M, S). Is there a way of sorting the attributes so they appear as (S, M, L)?

Steve

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 30, 2007 at 08:14 PM

    Hi Steve,

    Are you talking about the attribute picker or the prod line drop block?

    Either way, I believe the answer is no.

    The attribute picker has no sort and the prod line drop block "ORDER BY PartNo".

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 12:57 AM

    I had this issue using the attribute matrix. An attribute can have multiple dimensions. To sort the matrix I used the first dimension for sorting and the second dimension for the size. This may also work for the drop down list.

    Eg.

    Dim1, Dim2

    1, S

    2, M

    3, L

    4, XL

    You then change the display options to not show dim1. A user will then sell the attribute matrix sorted.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Nice suggestion Thomas ... I tried it and if I display the first dimension the items are sorted correctly (but the sort shows up). If I uncheck the display checkbox then they do not sort correctly anymore. I could display the sort doimension and then use javascript possibly to strip off the unwanted text in the beginning though.

      I did a completely different workaround to fix my issue but if I had used the 2 dimensions for sorting it probably would have made my code simpler.

      Steve

  • author's profile photo Former Member
    Former Member
    Posted on Jul 30, 2007 at 08:22 PM

    I am facing the same problem.

    As it doesnt seem to be possible with backends means, wouldnt it be possible, to do an kind of ajax-body-onload request ?

    I mean iterate on onload over the options of the selcect field containing the size options and re-sort them ?

    Should be possible I guess.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I'm not very familiar with ajax but I guess I could just have a javascript call on the body onload that reordered the items in the dropdown list, otherwise I would just write a user control to re-order them. It's just specific to sizes since other attributes like color can be ordered alphabetically.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.