Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with sort order of product listing


markglea

Recommended Posts

I find that my product listing is not being sorted in the way set out in admin/settings/configuration/product listing, which I have set to 'Name A-Z' (though it also fails to sort correctly with any other choice of setting). I can't work out what order of presentation is being used at the front end - nothing obvious - but it is always the same. If, as a user, you chose a new sort order, say Name Z-A, (with the 'Sorting' widget), the products rearrange accordingly, and then you can chose 'Name A-Z' and you get what you had wanted in the first place.

Can anyone help me correct this situation?

Thanks,

Mark G

Link to comment
Share on other sites

I need to add to this, that the problem only arises when the Product Listing appears on a product category page. In the product listing that follows a product search, the sort order is correct.

Link to comment
Share on other sites

Hi Mark,

Fun ain't it LOL

When I was having so much trouble trying to get the display as wanted the default sort order was set to

Marketing (As specified in admin), then the live listing of the categories showed correctly or as they had been positioned in the category within admin.

These products which I presume you already know (but others may not) can be moved up and down to order them as needed using the little hand icon.

 image.png.198fee794ffb02ec9ae5a5292de3634b.png

Link to comment
Share on other sites

Hi Ken,

You inspired me to look again at the Products/Categories page. In the Edit Category facility, which I've never looked too closely at previously 😳, I discovered there's a Default Sort Order specifically for each Category. That turned out to be the feature that I needed to get my products to display in the correct order when the user choses to display products by category. The Product Listing setting in Admin has no bearing on it at all, it turns out.

That annoying matter held me up for pretty much a whole day, so thank you for the pointer. Now on to the next insurmountable problem!

Mark

Link to comment
Share on other sites

Excellent, glad you got it Mark.

Yeah, I don't go alphabetically but by product groups unrelated to cost or name so the default setting for every one of my categories uses the Marketing (As specified in admin) which follows their physical position in the category.

It was seriously confusing for me at the fist, gave me lots of problems and with help from here finally got it.

Link to comment
Share on other sites

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...