m3hd1 Posted January 16, 2010 Posted January 16, 2010 In the OSCommerce admin there's a page that displays the customers, but I don't know how to sort that display. For example, I'd like to see the newest customers, so I'd like to sort the display by "Account Created," which is one of the headers. Is there any way to do this? Thanks, Med
satish Posted January 17, 2010 Posted January 17, 2010 $customers_query = tep_db_query("select c.customers_id, c.customers_gender, c.customers_firstname, c.customers_lastname, c.customers_dob, c.customers_email_address, a.entry_company, a.entry_street_address, a.entry_suburb, a.entry_postcode, a.entry_city, a.entry_state, a.entry_zone_id, a.entry_country_id, c.customers_telephone, c.customers_fax, c.customers_newsletter, c.customers_default_address_id from " . TABLE_CUSTOMERS . " c left join " . TABLE_ADDRESS_BOOK . " a on c.customers_default_address_id = a.address_book_id where a.customers_id = c.customers_id and c.customers_id = '" . (int)$HTTP_GET_VARS['cID'] . "'"); $customers = tep_db_fetch_array($customers_query); $cInfo = new objectInfo($customers); here U will not find date been extracted in the out of box oscommerce code. So You will have to modify the code. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Hotclutch Posted January 17, 2010 Posted January 17, 2010 In the OSCommerce admin there's a page that displays the customers, but I don't know how to sort that display. For example, I'd like to see the newest customers, so I'd like to sort the display by "Account Created," which is one of the headers. Is there any way to do this? Thanks, Med There is a modified customers.php in contributions that will do this.
Jan Zonjee Posted January 17, 2010 Posted January 17, 2010 There is a modified customers.php in contributions that will do this. Is this the one you mean: http://addons.oscommerce.com/info/223 ?
tigergirl Posted January 17, 2010 Posted January 17, 2010 In the OSCommerce admin there's a page that displays the customers, but I don't know how to sort that display. For example, I'd like to see the newest customers, so I'd like to sort the display by "Account Created," which is one of the headers. Is there any way to do this? Thanks, Med I used Customer Sort Admin Module , sorts customers.php ascending/descending by date / first name / last name. Worked with no problems. I'm feeling lucky today......maybe someone will answer my post! I do try and answer a simple post when I can just to give something back. ------------------------------------------------ PM me? - I'm not for hire
tigergirl Posted January 17, 2010 Posted January 17, 2010 Is this the one you mean: http://addons.oscommerce.com/info/223 ? Great minds think alike! I'm feeling lucky today......maybe someone will answer my post! I do try and answer a simple post when I can just to give something back. ------------------------------------------------ PM me? - I'm not for hire
burt Posted January 17, 2010 Posted January 17, 2010 Gosh, one of my very old ones. I'm sure I updated it in jquery, will look for the codebase.
Hotclutch Posted January 17, 2010 Posted January 17, 2010 Is this the one you mean: http://addons.oscommerce.com/info/223 ? Actually, this one...just couldn't remember the name. :) http://addons.oscommerce.com/info/3463
Jan Zonjee Posted January 17, 2010 Posted January 17, 2010 Gosh, one of my very old ones. And alas never made it into the code base in one way or another :(
m3hd1 Posted January 24, 2010 Author Posted January 24, 2010 And alas never made it into the code base in one way or another :( That is what exactly I was looking for. Thanks a lot. A+
m3hd1 Posted January 24, 2010 Author Posted January 24, 2010 Is this the one you mean: http://addons.oscommerce.com/info/223 ? I used: http://addons.oscommerce.com/info/223 and it does what I needed. cheers
burt Posted January 24, 2010 Posted January 24, 2010 I did update this in jQuery. I will try to get the codebase open tomorrow.
snowrabbit Posted January 28, 2010 Posted January 28, 2010 Is this the one you mean: http://addons.oscommerce.com/info/223 ? I installed this addon and it looks nice, but whenever I click on the sort arrow, it ticks me log out. Did anybody had the same issue? How to solve it? Thanks.
satish Posted January 31, 2010 Posted January 31, 2010 I installed this addon and it looks nice, but whenever I click on the sort arrow, it ticks me log out. Did anybody had the same issue? How to solve it? Thanks. In the link that You click it should have the Admin 'osCAdminID' If it is not there then You will get logged out. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
snowrabbit Posted February 4, 2010 Posted February 4, 2010 In the link that You click it should have the Admin 'osCAdminID' If it is not there then You will get logged out. Satish Could you please explain a little detail how to fix it? thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.