Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customers showing up on last page not first?????


henneca

Recommended Posts

I am having a problem where my customers are showing up at the end of my display customers in the admin section instead of the first page. Any suggestions or help would be greatly appreciated on how to fix this problem.

Link to comment
Share on other sites

yeah admin by default sorts customers by name instead of date joined (which makes more sense for most small) businesses... but osC provides no way of changing that...

 

a customer sort contribution is available though.

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites

Don't you just have to add or change the "sort by" to the database query?

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

yeah admin by default sorts customers by name instead of date joined (which makes more sense for most small) businesses... but osC provides no way of changing that...

 

a customer sort contribution is available though.

 

You can grab the /admin/customers.php out of the SEC v1.0 that sorts in Ascending or Decending Order by:

 

Last Name

First Name

Company

Account Created

 

This also adds additional search options like phone and company name.

Link to comment
Share on other sites

You can grab the /admin/customers.php out of the SEC v1.0

 

I have no idea what SEC is, but there is a contribution available that does this... no need to go ripping other contributions apart :wink:

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites

calm down Ron. words have more than one meaning. Maybe go buy a dictionary if you can't figure out what I meant.

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites

Ron my point was that the customer sort is available as a seperate contribution, so there is really no need to take it out of a contribution it is integrated into, when it is available seperately... do you speak english at all?

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites

So is adding "order by" to a database query considered a contribution? It seems like a simple code hack, maybe a "Tips and Tricks".

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...