Forums / Setting Up Categories, Products, Attributes / Attributes Controller shows wrong display order

Attributes Controller shows wrong display order

Locked

Started by rajsharma714 on 2 Nov 2010, 7:41 PM · Views: 775

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Nov 2010, 7:41 PM
#1
rajsharma714 avatar

rajsharma714

New Zenner

Join Date:
Oct 2010
Posts:
4
Plugin Contributions:
0

Attributes Controller shows wrong display order

Hello,

Under "Attributes Controller," the products are displayed in the wrong order. For example:

PRODUCT A - ID#99
PRODUCT B - ID#97
PRODUCT C - ID#98

Instead I would like it to be displayed in this order:

PRODUCT B - ID#97
PRODUCT C - ID#98
PRODUCT A - ID#99

I even checked under "Categories / Products" to make sure I assigned the right numbers under the "Sort" columm, and they are being dislayed in the correct order there.

I also hit the "Update Sort" button in "Attributes Controller," and that still doesn't do anything.

How can I fix this issue?

Thanks!

2 Nov 2010, 8:40 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Attributes Controller shows wrong display order

You would need to re-write the code ...

The listing is designed to be in Product Name Order ...

If you need to customize this, you would have to customize the function zen_draw_products_pull_down for the order or the SELECT statement ...

This is in the:
/admin/includes/functions/general.php

NOTE: this function is used in a number of places so you may want to check where all this is used to see if this is going to cause a problem for you ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!