Jump to content

[RESOLVED] Order Option Attributes Asc In Admin


TDLWebs
 Share

Recommended Posts

Hi,

I have looked all over and can't seem to find a solution for this in Version 6.

What I need is a way to automatically sort the product options in admin so that they are displayed alphabetically. I know we can use the 'grab handle' and move them up and down etc, but this can get complicated when there are a hundred attributes. Is there a way to have them ordered alphabetically by default? 

 

Link to comment
Share on other sites

I could cheat this.

Using PHP MyAdmin export product_options_group as a csv file

Arrange the option_name column in alphabetical order, then over write the priority column with numbers ascending from 1.

Make a backup copy of the product_options_group table.

Truncate the table, and import your modified CSV file back in.

 

You could do the same with options_value

 

It's amateur and long winded, but if like me you don't know PHP, it works.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...