Can't sort by price

Locked

Started by anakeimai on 26 Jun 2009, 7:34 AM · Views: 784

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Jun 2009, 7:34 AM
#1
anakeimai avatar

anakeimai

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Can't sort by price

Hi Guys,

I've trawled the forums for an answer to this but the answers either don't seem to work or zen into technical-database-speak.

I simply want to sort all my products by price, by default. I've gone into the Admin/Product Listing/Display Product Listing Default Sort Order and set this to 4a as instructed in various forums, but it doesn't seem to have any effect.

Do I need to reset my products sort order to 0, or something else? Is there somewhere else I should make changes?

Regards,

Anakeimai

26 Jun 2009, 1:39 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Can't sort by price

Do you import your products?

Do you use Linked Products?

Do all of your Products in the products table have master_categories_id set to their Master Category?

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!

26 Jun 2009, 2:17 PM
#3
anakeimai avatar

anakeimai

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: Can't sort by price

Hi Linda,

I don't import products and (at least for now) they're not linked.

Sorry, I don't understand what you mean by master_categories_id - is that something that would be set outside of the zen system?

Regards,

A

26 Jun 2009, 2:26 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Can't sort by price

That is part of Zen Cart ...

If you look at the products table of your database in phpMyAdmin you should be able to browse it and all products should have a value in the field:
master_categories_id

that is not 0 ...

Since you do not use Linked Products, check how many records are in the following tables:
products
products_description
products_to_categories

they should all match ...

Backup your database and then go to your Zen Cart Admin and run the Tools ... Store Manager ...

Reset ALL Products Master Categories ID
to be used for Linked Products and Pricing: Reset

Then run the:

Update ALL Products Price Sorter
to be able to sort by displayed prices: Update

Does this fix the sort order?

If not, have you an URL to your site that we could perhaps peek at? :smile:

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!