Attributes Sort Bug?


https://forum.kartris.com/Topic2046.aspx
Print Topic | Close Window

By askomit - Sat 11 May 2013
I dont know if i did something wrong or not...

But when i add new attributes (16 attributes) i specify sort order

when i go at product in front end, and look at details page where attributes are, they are not sorted as i set it but its ... hm i dont know how sorted, cose i dont see it...

Lets say, Restaurants, bars, coffee shops etc i set to be sort order number 1
And Warehouse is set to sort order number 6 ... i get Restaurants at fifth (5) place on list, and is Warehouse first on the list...


Any one having the same issue?
By Mart - Sat 11 May 2013
If you set one item to 6 and the others are all one then the item set to 6 comes top... As that is biggest number.

If several items are set to one they'll appear randomly sorted, as it can't sort them on the sort order value if they are all set to the same. Probably will sort them alphabetically so restaurants would be last.

Put the items you want top with highest value, then others with descending values.
By askomit - Sat 11 May 2013
so .. its 16 should be for the item on top and 1 for item on bottom?
By askomit - Sat 11 May 2013
p.s. this is one item "Restaurants, bars, coffee shops etc"

So i tried to make the item 116 Smile and warehouse stayed at sort order 6 .. but warehouse instead going down stayed at top .. i have 16 items, and every item is different number

i restarted kartris ... and the same thing is happening ... i know that i have to restart kartris some times, cose translations (ne translated strings) and etc and other thing wore visible only after restarting kartris
By askomit - Mon 13 May 2013
anyone having the same problem?

i tryed today also product compare function, also unsorted and as my site will be in two languages, some attributes wore in english language, some in croatian... very strange
By dragonwarrior981 - Thu 13 Nov 2014
I am having the same issue, right now i have 4 attributes and it seems they are being sorted alphabetically from z-a and i have them numbered properly.
By Paul - Fri 14 Nov 2014
Check these sprocs:

spKartrisAttributes_GetSummaryByProductID
spKartrisProducts_GetAttributesbyProductID

these should 'order by' the ATTRIB_OrderByValue field at the end. There was a fix in one of the last 2-3 releases for this I believe.