Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Attribute Manager v4b with sort?


Bryan

Recommended Posts

I have installed the New Attribute Manager v4b contribution fine but the only thing it lacks is a sorting ability for the attributes. Is there a similar contribution that allows this or has anyone added this functionality to this contribution?

Link to comment
Share on other sites

What I am tring to accomplish is to have the attributes sorted for sizes like this:

 

S

M

L

XL

XXL

 

Red M

Red L

Red XL

Blue M

Blue L

Blue XL

 

etc., etc.

 

Right now they are simply listed in the order the attribute is added and I cannot predict the future:) Any contribution work well with this?

Link to comment
Share on other sites

I've searched the contributions list to no avail and the lack of response here tells me we are both out of luck:) I'd think this would be doable as there was a contribution some time ago by Linda I believe that did this but might be outdated now.

Link to comment
Share on other sites

I have installed the New Attribute Manager v4b contribution fine but the only thing it lacks is a sorting ability for the attributes. Is there a similar contribution that allows this or has anyone added this functionality to this contribution?

their is a way to do it but it escapes me right now... within the SQL statement to show attributes, you can its set ot 'order by name' it needs changed to order by id, and it will sort them in the order they are entered

Link to comment
Share on other sites

I have installed the New Attribute Manager v4b contribution fine but the only thing it lacks is a sorting ability for the attributes. Is there a similar contribution that allows this or has anyone added this functionality to this contribution?

i found it

 

In /catalog/product_info.php find this query:

$products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . $products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . $languages_id . "' order by products_options_values_name");

 

play with the last open order by (change it to id to list in order its entered) or any other one to order it to get it to work

Link to comment
Share on other sites

Does this work with 2.2 MS2? I am having the hardest time to find an attribute handling system that works with MS2.

I've got New Attribute Manager v4b working on 2.2 MS2, and I've got the 'Option Type Feature 1.6' installed.

 

Looking for a way to sort the Attributes, and the items in the attributes (ie in the drop down select lists) now... Finding this a bit difficult though....

Link to comment
Share on other sites

for a way to sort the Attributes, and the items in the attributes (ie in the drop down select lists) now... Finding this a bit difficult though....

By default OSC sorts the attributes by Title, I've forced the order by numbering my titles eg in the Product Options, I've set the Option Name to be:

 

1. The First Option

2. The Second Option

3. The Third Option

 

It will do for the time being, but still looking for a way to sort the items in the attribute. I've only got a small number of products, I guess larger shops won't find this usefull!

Edited by ahearn
Link to comment
Share on other sites

I have the Attribute Manager 4b installed and is working just fine. I want to know if anyone can reccomend an attribute copier that would work along with this mod? I would like to copy from one product to another the attributes as I have a lot of items with all the same chioces, but there are a ton of them. :-(

 

Any suggestions?

 

Thanks,

Kevin

Link to comment
Share on other sites

Howdy,

 

I was still looking for an attribute copier that would work with this mod. Or can anyone give me an idea of what I might do to this one to allow for the copying of attributes from one product to another.

 

HELP!!!

 

Thanks,

Kevin

Link to comment
Share on other sites

  • 6 months 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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...