Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / attributes sort order not working in shopping cart

attributes sort order not working in shopping cart

Views: 533

Results 1 to 4 of 4
8 Jan 2013, 2:58 PM
#1
danp avatar

danp

New Zenner

Join Date:
Mar 2008
Posts:
32
Plugin Contributions:
0

attributes sort order not working in shopping cart

I have a number of different attributes per product and the order of these attributes works fine in the product listing. However, for each product listed in the shopping cart the attributes order is not by sort order but by order id.
In the shopping cart template the attribute list is generated from the $product['attribute'] array and this does not contain any sort order data. Is this a bug when the product array is generated? or will I need to create some code to provide a separate attribute array that can be sorted with option sort order?

Thanks

8 Jan 2013, 3:32 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: attributes sort order not working in shopping cart

That isn't a typical error ...

Have you an URL to a Product that is doing this so that we can see this issue?

8 Jan 2013, 6:44 PM
#3
danp avatar

danp

New Zenner

Join Date:
Mar 2008
Posts:
32
Plugin Contributions:
0

Re: attributes sort order not working in shopping cart

I am still developing my site locally, so don't yet have a url to offer. Maybe thought someone had come across this before. I can finish development over the next couple of weeks and post a url then.

Thanks

8 Jan 2013, 6:45 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: attributes sort order not working in shopping cart

That would be of help as I cannot picture what is happening to break how this normally works on the sorts ...