shy_guy55 Posted April 30, 2008 Posted April 30, 2008 Hey guys, So my problem is that I have a page for the "Whats New" products that is supposed to display the newest stock that's come in. But, whenever a products information is edited, it's deemed "new", pushing it to the top of the page no matter when it was first entered. Now, when I hover the mouse over "Edit", the action associated with clicking on that button is "new_product". From my point of view, shouldn't this be something like "edit_product"? Seeing as when you have a category in a similar section the respective actions are "new_category" when clicking on "new category" and "edit_category" when clicking "edit". If anyone has any suggestions, they'll be much appreciated. Also happy to supply extra info, if needed. Thanks!
dmnalven Posted April 30, 2008 Posted April 30, 2008 The first part of your problem seems to be a test against the products_last_modified column instead of the products_date_added column in the products table. The second part is even stranger in that the text for a button, though normally associated with its action, is arbitrary, so you do not know what the action is without examining the code. Your queries and buttons do not layout as osCommerce was written. If you have applied any mods, I suggest that you take this up with the author. For ALL problems, please review this link first -> osCommerce Knowledge Base
Recommended Posts
Archived
This topic is now archived and is closed to further replies.